cao-supervisor-protocols

cao-supervisor-protocols is a skill for Claude Code from awslabs/cli-agent-orchestrator. It costs 99 tokens per session (1,528 once invoked), scanned A, original, Apache-2.0.

Guidance for a supervisor agent that coordinates other worker agents. It explains how to assign work, hand work over, send messages, and answer workers waiting for input.

In plain words
What is it for?
Managing parallel jobs with assign, waiting for a worker with handoff, messaging agents, and responding to requests for user answers.
Why use it?
It helps the supervisor choose how to delegate work and receive results without unnecessarily blocking other tasks.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cao plugin — 4 skills, 1 MCP server shipped together

Good fit Managing parallel jobs with assign, waiting for a worker with handoff, messaging agents, and responding to requests for user answers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols
About the project

CLI Agent Orchestrator is a tool that coordinates multiple AI coding command-line programs by running them as separate workers in isolated terminal sessions. A supervisor uses it to delegate software tasks to specialist agents in parallel or in sequence while the workers retain their normal command-line capabilities. The catalogue skills operate this orchestration workflow.

awslabs/cli-agent-orchestrator · 1,526 stars · on GitHub · awslabs.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add awslabs/cli-agent-orchestrator --skill cao-supervisor-protocols
Clone the repo
git clone --depth 1 https://github.com/awslabs/cli-agent-orchestrator

Made for: Claude Code.

Or install cao, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cao-supervisor-protocols

README.md
[![agentmods](https://agentmods.dev/badge/skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols/github.svg)](https://agentmods.dev/skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols)
Your own site
<a href="https://agentmods.dev/skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols"><img src="https://agentmods.dev/badge/skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cao-supervisor-protocols

Your own site · 80×15
<a href="https://agentmods.dev/skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols"><img src="https://agentmods.dev/badge/skills/awslabs/cli-agent-orchestrator/cao-supervisor-protocols.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,528 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.01528
Opus 5.5 $0.00040 $0.00611
Sonnet 5.5 $0.00020 $0.00306
Haiku 4.5 $0.00010 $0.00153

Measured 9d ago against content hash 05052533f05f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cao-supervisor-protocols scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-plugin/cao/skills/cao-supervisor-protocols/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CAO Supervisor Protocols

Use this skill when supervising worker agents through CLI Agent Orchestrator.

This skill covers how supervisors should dispatch work, decide between assign and handoff, and receive worker results without blocking inbox delivery.

Core MCP Tools

From cao-mcp-server, supervisors orchestrate work with:

  • assign(agent_profile, message) for asynchronous work that returns immediately
  • handoff(agent_profile, message) for synchronous work that blocks until the worker finishes
  • send_message(message, receiver_id=None) for direct messages — receiver_id defaults to the terminal that created yours via handoff/assign
  • answer_user_prompt(terminal_id, answer) for answering a Hermes worker that reports waiting_user_answer

Your own terminal ID is available in the CAO_TERMINAL_ID environment variable. CAO appends it to assigned task messages and records it on worker terminals automatically, so you rarely need to handle it yourself.

Do It Directly or Delegate

Delegating has a fixed cost: routing the message, starting a worker, and the worker's own verification. Choose by the shape of the task:

  • Do a small, fully specified change yourself when you can run its checks. Example: a one-line dependency floor plus a relock.
  • Delegate when parallel work saves wall-clock time, when the task needs a specialist profile, or when an independent review is worth the wait.

Your agent profile's rules take priority over this heuristic: code_supervisor, for instance, always delegates coding and never writes code itself.

Measured on #1119: the same dependency-floor change took 1m 18s done directly and about 2m 57s routed through a conductor to a developer seat. Both produced byte-identical lockfiles. The delegated result had the better code comment, which is the value an independent pass adds.

Gotchas

Mistake Fix
Keeping the terminal busy after assign — polling in a loop, or running sleep/echo to wait. Inbox messages are delivered when your terminal goes idle. Dispatch everything first, then end the turn.
Answering a Hermes worker that reports waiting_user_answer with assign, handoff or send_message. Use answer_user_prompt(terminal_id, answer) with the exact selection to submit, such as 1 or o.
Doing a small coding task yourself because the do-or-delegate heuristic allows it, on a profile that forbids it. Your agent profile's rules win. code_supervisor, for instance, always delegates coding.
Treating a send_message callback as proof the work landed, when the worker wrote files. Ask workers for the deliverable up front, and for absolute paths in the callback message.
Assuming you must hand-write callback instructions into every assigned message. CAO appends your terminal ID and records you as the worker's caller automatically. An explicit callback ID is optional emphasis; it is required only when CAO_ENABLE_SENDER_ID_INJECTION=false.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed · +22 lines · +74 tokens per session 05052533f05f
  2. 2mo ago First seen · 91 lines · 25 tokens per session scan A 27fea276b2c5

Subscribe to this mod's changes

cao-supervisor-protocols is a skill published in the GitHub repository awslabs/cli-agent-orchestrator (1,526 stars, last pushed today), licensed Apache-2.0. It adds 99 tokens to every session and 1,528 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cao-supervisor-protocols compared with skills from other repositories

cao-supervisor-protocols next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cao-supervisor-protocolsawslabs/cli-agent-orchestratorSkill1.5ktodayApache-2.0A99Claude Code
tool-selectionlakpriya1s/agent-rackSkill23mo agoMITA53Claude Code
reviewlakpriya1s/agent-rackSkill23mo agoMITA18Claude Code
session-sendlakpriya1s/agent-rackSkill23mo agoMITA15Claude Code
review-handlinglakpriya1s/agent-rackSkill23mo agoMITA38Claude Code
runlakpriya1s/agent-rackSkill23mo agoMITA19Claude Code
session-logslakpriya1s/agent-rackSkill23mo agoMITA19Claude Code