cao-agent-plugin-audit
Audit an existing Agent Plugins 1.0.0 package - check its plugin.json manifest and mcp.json against CAO's vendored schemas, andโฆ
Worker-side callback and completion rules for assigned and handed-off tasks in CAO. Use when acting as a CAO worker agent and finishing a task, deciding whether to call send_message (assign) or simply return the result (handoff), choosing the callback receiver_id, or reporting
Claude Code
$ npx -y skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols --agent claude-code
Codex
$ npx skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols -a codex -y
Cursor
$ npx skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols -a cursor -y
Gemini CLI
$ npx skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols -a gemini-cli -y
GitHub Copilot
$ npx skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols -a github-copilot -y
OpenCode
$ npx skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols -a opencode -y
Windsurf
$ npx skills add awslabs/cli-agent-orchestrator --skill cao-worker-protocols -a windsurf -y
name: cao-worker-protocols description: Worker-side callback and completion rules for assigned and handed-off tasks in CAO. Use when acting as a CAO worker agent and finishing a task, deciding whether to call send_message (assign) or simply return the result (handoff), choosing the callback receiver_id, or reporting files and other deliverables back to the supervisor. Not for supervisor-side dispatch (use cao-supervisor-protocols) or launching sessions.
Use this skill when acting as a worker agent inside CLI Agent Orchestrator.
This skill explains how workers should interpret assigned versus handed-off work, when to call `send_message`, and how to report results back cleanly.
Workers receive tasks through one of two orchestration modes:
Depending on provider and CAO behavior, a handoff may be made explicit in the task text. For example, Codex workers currently receive a `[CAO Handoff]` prefix for blocking handoffs. Other providers may rely on the task wording and orchestration context instead.
When the task is a blocking handoff, complete the work and present the result in your normal response. The orchestrator captures that response automatically.
Do not call `send_message` for ordinary handoff completion unless the task explicitly asks for additional side-channel communication.
When the task came through `assign`, send your results back after you finish the work:
1. Format the result clearly and concisely. 2. Call `send_message(message=...)` โ omitting `receiver_id` routes the result to the terminal that assigned the task (the recorded caller). This is the reliable default. 3. If the task message names a different callback terminal (directly or in an appended suffix such as `[Assigned by terminal ...]`), pass that ID as `receiver_id` instead.
Do not stop after writing a normal response if the assignment explicitly requires a callback. The requesting terminal depends on `send_message` to receive the result.
Your own `CAO_TERMINAL_ID` identifies your terminal, not the callback target. Never pass it as `receiver_id`.
Return results that are easy for the supervisor to merge into a larger workflow:
If the task asks for progress updates, use `send_message` for those updates too. Otherwise prefer one final callback with the completed deliverable.
If the task asks you to create files, write them before reporting completion. When sending results back to a supervisor, include absolute file paths so the supervisor can continue the workflow without ambiguity.
CLI Agent Orchestrator (CAO) coordinates multiple AI coding CLIs so a supervisor can delegate work to specialist agents in parallel or sequence. ๐ Documentation โ guides, reference, and two interactive courses.
Audit an existing Agent Plugins 1.0.0 package - check its plugin.json manifest and mcp.json against CAO's vendored schemas, andโฆ
Author a new Agent Plugins 1.0.0 package from an empty directory - write the plugin.json manifest, lay out skills/, optionallyโฆ
Contribute changes to the CAO (CLI Agent Orchestrator) codebase โ the local
Create a new CAO (CLI Agent Orchestrator) plugin. Use this skill whenever the user wants to add a plugin that reacts to CAOโฆ
Create a new CLI agent provider for CAO (CLI Agent Orchestrator). Use this skill whenever the user wants to add support for a newโฆ
Find and select the best installed CAO agent profile for a task before
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also coversโฆ
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, fillingโฆ