What problem does it solve?
Agents running in terminal sessions produce raw text that operators must scroll through to find decisions, diffs, or status updates. This Skill lets an agent push structured, rendered UI cards onto the CAO AG-UI stream so operators see approvals, choices, progress, and metrics directly in any AG-UI-compatible dashboard.
Core Features & Use Cases
- Six allow-listed components: Emit approval_card, choice_prompt, diff_summary, progress, metric, or agent_card with JSON props through the emit_ui MCP tool; arbitrary HTML and off-list components are refused server-side.
- Safe by design: Props are validated server-side, bounded to 8 KB, metadata-only, and the tool degrades gracefully when the AG-UI surface is disabled.
- L2 construct integration: Emitted intents feed higher-level projections like SupervisorDashboardStream, MultiAgentSessionTimeline, and AgentHandoffWithApproval for fleet views and human-in-the-loop approvals.
- Use Case: Before running a destructive migration, an agent emits an approval_card with risk level high so the operator can review and approve the action from the dashboard instead of reading terminal output.
Quick Start
Ask the agent to show a progress bar on the operator dashboard by emitting a progress component with a label and a value between 0 and 1 via emit_ui.