Official agent skill

Agui Author

by awslabs in awslabs/cli-agent-orchestrator

Author live dashboard UI from an agent via the emitui MCP tool.

OfficialApache-2.0Auto-check passedAgent Workflows

Install Agui Author

skills CLI
$ npx skills add awslabs/cli-agent-orchestrator --skill agui-author -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install awslabs/cli-agent-orchestrator agui-author --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/awslabs/cli-agent-orchestrator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agui-author .claude/skills/agui-author && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agui-author
GitHub stars
1.4k
Token cost
~2k tokens
SKILL.md length
809 words
Files
5 (incl. scripts, references)
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Author live dashboard UI from an agent via the emitui MCP tool.

  • Works in 6 steps: Emitting to a disabled surface — if… → Props over 8 KB are rejected — the tool… → No HTML sink exists — strings in props… → …
  • You want the operator to see a decision
  • SKILL.md covers Safety model (why this is…, The tool, When to use which component and Examples, plus 4 more sections
  • Runs Shell scripts from its folder; calls curl and uv

What it does

Agui Author is an agent skill from awslabs/cli-agent-orchestrator, published by the product's own GitHub organization. Author live dashboard UI from an agent via the emitui MCP tool. Emit one of six allow-listed components (approvalcard, choiceprompt, diffsummary, progress, metric, agentcard) with JSON props and it renders in any AG-UI client watching the fleet. Use when you want the operator to see a decision, a diff, or a status readout instead of scrolling terminal text. Arbitrary HTML/markup is refused.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `evals/evals.json`, `references/l2-constructs.md` and `references/run-plane.md`).

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol. The repository describes itself as: Multi-agent orchestration for AI coding CLIs — Claude Code, Kiro, Codex, and more, coordinated in isolated tmux sessions. The licence is Apache-2.0.

When your agent uses it

  • You want the operator to see a decision
  • A status readout instead of scrolling terminal text

Example prompts

  • “/agui-author”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Emitting to a disabled surface — if CAO_AGUI_ENABLED is unset, emit_ui
  2. Props over 8 KB are rejected — the tool raises a ValueError and nothing
  3. No HTML sink exists — strings in props render as plain text. Attempting to
  4. One intent per meaningful moment — emitting a progress card on every
  5. approval_card is display-only today — it gives the operator an
  6. Off-list components are refused server-side — the allow-list is fixed

What it can do on your machine

Read from SKILL.md and the folder at commit 089c53c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl and uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agui Author loads about 2k tokens when it runs, and up to ~3.9k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 809 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from awslabs/cli-agent-orchestrator at commit 089c53c, republished under its Apache-2.0 licence (© awslabs). 809 words, ~1,963 tokens.

Download SKILL.mdSave it as .claude/skills/agui-author/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
agui-author
description
Author live dashboard UI from an agent via the `emit_ui` MCP tool. Emit one of six allow-listed components (approval_card, choice_prompt, diff_summary, progress, metric, agent_card) with JSON props and it renders in any AG-UI client watching the fleet. Use when you want the operator to see a decision, a diff, or a status readout instead of scrolling terminal text. Arbitrary HTML/markup is refused.

Authoring generative UI over AG-UI

CAO exposes an AG-UI stream (GET /agui/v1/stream) that any dashboard — CopilotKit, the AG-UI Dojo, or a plain EventSource — renders without CAO-specific code. As an agent you can push a declarative UI intent onto that stream with the emit_ui MCP tool. The operator sees a rendered card, not raw text — and because every provider's intents render uniformly, they can't tell (and don't need to) which CLI agent produced which card.

The surface must be enabled on the server (CAO_AGUI_ENABLED=true or CAO_MCP_APPS_ENABLED=true — the two surfaces share one event source). When it is disabled, emit_ui returns {"ok": false, "reason": "AG-UI surface disabled…"} — treat that as a no-op, not an error.

Safety model (why this is always safe to call)

You may emit only a closed allow-list of named components with JSON props. There is no HTML, no script, no eval, no iframe. The intent is validated server-side against the allow-list before it reaches the stream:

  • An off-list component (e.g. iframe, script) is refused — the tool raises a ValueError; nothing is rendered.
  • props must be JSON-serializable and are bounded to 8 KB — an oversized or non-serializable payload is rejected at the emit_ui boundary (HTTP 400, the tool raises a ValueError), so a bad payload never reaches the bus.
  • If the AG-UI surface is disabled on the server, the tool degrades gracefully (no error) — so calling it is never fatal.
  • The AG-UI stream is metadata-only by contract: never put message bodies, credentials, or file contents in props. Reference paths, not contents.

The tool

emit_ui(component: str, props: dict) -> {"ok", "event_id", "component"}

component must be one of: approval_card, choice_prompt, diff_summary, progress, metric, agent_card.

When to use which component

Props below are what a conformant client renderer will display; unknown extra keys are ignored, not refused.

ComponentUse it when…Props
approval_cardyou need a human to approve/reject a risky action before you proceedtitle (str), detail (str, optional), risk ("low"/"medium"/"high", optional)
choice_promptyou want the operator to pick among optionsquestion (str), choices (list of {"label", "value"} or plain strings)
diff_summaryyou changed files and want a compact reviewtitle (str), files (list of {"path", "additions", "deletions"})
progressa long step is runninglabel (str), value (0.0–1.0; omit for an indeterminate bar)
metricyou want to surface a single numberlabel (str), value (str/number), unit (str, optional)
agent_cardyou want to advertise your identity/status in the fleet viewname (str), provider (str), status (str, optional)

Examples

python
# Gate a risky action on human approval.
emit_ui("approval_card", {
    "title": "Deploy to production?",
    "detail": "3 files changed, 1 DB migration",
    "risk": "high",
})

# Ask the operator to choose.
emit_ui("choice_prompt", {
    "question": "Which base branch?",
    "choices": [{"label": "main", "value": "main"},
                {"label": "release", "value": "release"}],
})

# Summarize a change set.
emit_ui("diff_summary", {
    "title": "Refactor auth",
    "files": [{"path": "security/auth.py", "additions": 74, "deletions": 3}],
})

# Show progress / a metric / your identity.
emit_ui("progress", {"label": "Indexing repository", "value": 0.42})
emit_ui("metric", {"label": "tokens used", "value": 12840, "unit": "tok"})
emit_ui("agent_card", {"name": "reviewer", "provider": "claude_code", "status": "working"})

L2 constructs (Phase 2)

The AG-UI surface also exposes L2 constructs — higher-level projections that fold the raw event stream into structured views. As an agent you don't author L2 constructs, but you should know they exist because your emit_ui intents feed them:

  • SupervisorDashboardStream — folds STATE_SNAPSHOT/STATE_DELTA + your agent_card emits into a live fleet hierarchy view.
  • MultiAgentSessionTimeline — reconstructs delegation/message timeline from TOOL_CALL lifecycle events.
  • AgentHandoffWithApproval — the full interrupt lifecycle: provider prompt → reason classification → interrupt → approve/deny/edit → delivery.
  • CrossProviderStateSync — convergence proof across providers.

The run plane (POST /agui/v1/run) streams these as stock AG-UI wire frames. Interrupts (approval prompts) route through POST /agui/v1/interrupts/{id}/resume.

For details: references/l2-constructs.md and references/run-plane.md.

Show full SKILL.md (309 more words)Show less

Gotchas

  1. Emitting to a disabled surface — if CAO_AGUI_ENABLED is unset, emit_ui returns {"ok": false} gracefully. Don't treat this as an error or retry — it's a no-op by design. The fix: always check ok in the return but never fail on it.

  2. Props over 8 KB are rejected — the tool raises a ValueError and nothing renders. The fix: reference file paths instead of embedding content. Keep props to metadata (paths, counts, labels).

  3. No HTML sink exists — strings in props render as plain text. Attempting to smuggle markup through props (e.g. <script>, <iframe>) won't render and looks broken. The fix: use structured props, not markup.

  4. One intent per meaningful moment — emitting a progress card on every token or tool call floods the stream and degrades client rendering. The fix: emit at milestones (start, 25%, 50%, 75%, done) or once per logical phase.

  5. approval_card is display-only today — it gives the operator an approve/reject affordance in the dashboard, but the action routes to the dashboard's command surface, not back to you. The fix: pair it with your provider's own wait-for-input mechanism (e.g. Kiro's trust prompts, Claude Code's permission dialog).

  6. Off-list components are refused server-side — the allow-list is fixed (approval_card, choice_prompt, diff_summary, progress, metric, agent_card). A typo or new component name returns HTTP 400. The fix: use only the six listed names; check spelling.

Verifying locally

bash
# 1. Server with the surface on
CAO_AGUI_ENABLED=true uv run cao-server

# 2. Watch the stream (SSE frames print as they arrive)
curl -N 'http://localhost:9889/agui/v1/stream'

# 3. Emit from anywhere (the MCP tool does exactly this)
curl -sX POST http://localhost:9889/agui/v1/emit_ui \
  -H 'Content-Type: application/json' \
  -d '{"component":"progress","props":{"label":"demo","value":0.5}}'

A GENERATIVE_UI frame with your component appears on the stream; an off-list component is refused with HTTP 400.

See also

  • examples/ag-ui/ag-ui-dashboard/ — a runnable demo (run.sh + showcase.sh) that drives all six components live and shows the off-list refusal.
  • docs/agui.md — the AG-UI stream and generative-UI reference.
  • cao-mcp-apps skill — operate and extend the MCP Apps surface that renders your emit_ui intents inside host dashboards (Claude Desktop, VS Code, etc.).
  • mcp-apps-builder skill — build new MCP App views that consume the AG-UI stream your emits feed into.

© awslabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/agui-author of awslabs/cli-agent-orchestrator.

  • SKILL.md
  • evals/evals.json
  • references/l2-constructs.md
  • references/run-plane.md
  • scripts/validate.sh

Open the folder on GitHubat commit 089c53c

Compare with similar skills

Agui Author next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agui Author compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agui Author this skillawslabs/cli-agent-orchestrator1.4k—~2kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Migrates the compatible subset of settings and global file-based MCP servers from the Warp desktop app into Warp Agent CLI without exposing credentials or state.

    65k GitHub starsUsed in 1 repo~2.1k tokens
    Agent WorkflowsAuto-check passed

More from awslabs/cli-agent-orchestrator

All 14 skills in this repo
  • Cao MCP Apps

    awslabs/cli-agent-orchestrator

    Official

    Enable, operate, and extend CAO's MCP Apps surface — the host-rendered fleet dashboard visible inside MCP App hosts (Claude Desktop, ChatGPT, VS Code Copilot, Goose, Postman).

    1.4k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • MCP Apps Builder

    awslabs/cli-agent-orchestrator

    Official

    Load the official MCP Apps builder skills (create-mcp-app, migrate-oai-app, add-app-to-server, convert-web-app) from github.com/modelcontextprotocol/ext-apps.

    1.4k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Cao Plugin

    awslabs/cli-agent-orchestrator

    Official

    Create a new CAO (CLI Agent Orchestrator) plugin. An agent skill from awslabs/cli-agent-orchestrator.

    1.4k GitHub stars~3.1k tokensUpdated yesterday
    Auto-check: notes
  • Cao Provider

    awslabs/cli-agent-orchestrator

    Official

    Create a new CLI agent provider for CAO (CLI Agent Orchestrator).

    1.4k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Cao Agent Routing

    awslabs/cli-agent-orchestrator

    Official

    Find and select the best installed CAO agent profile for a task before delegating with assign or handoff.

    1.4k GitHub stars~552 tokensUpdated yesterday
    Auto-check passed
  • Cao Contributing

    awslabs/cli-agent-orchestrator

    Official

    Contribute changes to the CAO (CLI Agent Orchestrator) codebase — the local dev loop, the CI gate map, and the pre-PR checklist.

    1.4k GitHub stars~4.1k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Agui Author

What does Agui Author do?

Author live dashboard UI from an agent via the emitui MCP tool. Agui Author is an agent skill from awslabs/cli-agent-orchestrator, published by the product's own GitHub organization. Author live dashboard UI from an agent via the emitui MCP tool.

When should I use Agui Author?

Agui Author fits situations like: you want the operator to see a decision; A status readout instead of scrolling terminal text.

How do I install Agui Author in Claude Code?

Run `npx skills add awslabs/cli-agent-orchestrator --skill agui-author -a claude-code`. Or copy the skill folder (skills/agui-author in awslabs/cli-agent-orchestrator) into .claude/skills/agui-author in your project. Claude Code loads it when a task matches its description.

How do I install Agui Author in Codex?

Run `npx skills add awslabs/cli-agent-orchestrator --skill agui-author -a codex`. Or copy the skill folder (skills/agui-author in awslabs/cli-agent-orchestrator) into .agents/skills/agui-author in your project. Codex loads it when a task matches its description.

Can I use Agui Author in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add awslabs/cli-agent-orchestrator --skill agui-author -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agui-author, .gemini/skills/agui-author, .github/skills/agui-author and .opencode/skills/agui-author in your project.

What does Agui Author need to run?

Going by SKILL.md and its folder, Agui Author needs a shell for the scripts in its folder and the command-line tools its instructions call (curl and uv). Our summary lists: Python 3; A Bash shell.

Does Agui Author access the network?

SKILL.md contains no URLs. Its commands use curl and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Agui Author safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Agui Author use?

Agui Author is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agui Author use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Agui Author?

Skills that share tags, products or a category with Agui Author: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Crush Configuration (charmbracelet/crush, 29k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agui Author?

awslabs (a GitHub organization, an official publisher) maintains it in awslabs/cli-agent-orchestrator, which has 1,400 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 9, 2026.

Source: awslabs/cli-agent-orchestrator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.