/cao:cao-worker-protocolsfrom cao
Provides worker-side callback and completion rules for assigned and handed-off tasks in CAO. Covers when to call send_message, choosing receiver_id, and reporting deliverables.
Ships in cao. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
handoff: blocking work where the orchestrator captures your final output automaticallyassign: non-blocking work where you must actively return results to the requesting terminalDepending 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:
send_message(message=...) — omitting receiver_id routes the result to the terminal that assigned the task (the recorded caller). This is the reliable default.[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.
receiver_id).send_message is available and the task requires a callback, call it directly rather than ending with prose alone.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub awslabs/cli-agent-orchestrator --plugin cao4 skills in this plugin
/cao-agent-routingFind and select the best installed CAO agent profile for a task before delegating with assign or handoff. Use when a supervisor needs to route coding, documentation, infrastructure, review, research, or other specialist work and the user has not already chosen an agent profile. Also use when the user asks "which agent should do this" or "pick a profile for this task"./cao-session-managementFind available CAO (CLI Agent Orchestrator) agent profiles, and talk to the conductor and worker terminals of a running CAO session, including unblocking a stuck worker. Use when choosing a profile to launch, messaging or unblocking workers, or diagnosing a stuck session. For preflight, launching, session commands, statuses, delegation and safety, run `cao --skill` first./cao-supervisor-protocolsCoordinate, delegate, and split work across CAO worker agents as a supervisor. Use when choosing between assign (async fire-and-forget) and handoff (sync wait-for-result), fanning tasks out to parallel specialists, managing idle-based inbox delivery, or debugging why worker callbacks aren't arriving. Covers dispatch patterns, result collection, and multi-agent orchestration planning. Not for worker-side task execution, creating skills, managing plugins, or session lifecycle (cao launch/shutdown).Other plugins' skills for the same job