agentleFS
AWSKnown publisherawslabs/cli-agent-orchestrator/skills/cao-worker-protocols/SKILL.md

cao-worker-protocols

Skill1.4k starsChanged 2 months agoApache-2.0View on GitHub

Worker-side callback and completion rules for assigned and handed-off tasks in CAO

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 8 mentionsMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 3 mentionsAug 2026: 0 mentionsSep 2026: 4 mentionsOct 2026: 3 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the awslabs/cli-agent-orchestrator repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about awslabs/cli-agent-orchestrator

The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 20

Talked about on GitHub (20 times).

On GitHub · 20

15 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when acting as a worker agent inside CLI Agent Orchestrator.

    line 8
  2. Distinctive:

    When the task is a blocking handoff, complete the work and present the result in your normal response.

    line 23
  3. Very specific:

    Do not call send_message for ordinary handoff completion unless the task explicitly asks for additional side-channel communication.

    line 25
  4. Very specific:

    When the task came through assign, send your results back after you finish the work:

    line 29
  5. Very specific:

    Call send_message(message=...) — omitting receiver_id routes the result to the terminal that assigned the task (the recorded caller).

    line 32
  6. Very specific:

    If the task message names a different callback terminal (directly or in an appended suffix such as [Assigned by terminal ...]), pass that …

    line 33
  7. Very specific:

    Do not stop after writing a normal response if the assignment explicitly requires a callback.

    line 35
  8. Distinctive:

    Keep the message specific enough to act on without re-reading the whole task

    line 45
  9. Very specific:

    If the task asks for progress updates, use send_message for those updates too.

    line 47
  10. Distinctive:

    If the task asks you to create files, write them before reporting completion.

    line 51
  11. Very specific:

    If the task names an explicit callback terminal, note its ID before you start expensive work.

    line 55
  12. Very specific:

    If send_message is available and the task requires a callback, call it directly rather than ending with prose alone.

    line 56
  13. Distinctive:

    Keep callback messages structured so the supervisor can merge them into a larger workflow.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

CAO Worker Protocols

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.

Understand the Dispatch Mode

Workers receive tasks through one of two orchestration modes:

  • handoff: blocking work where the orchestrator captures your final output automatically
  • assign: non-blocking work where you must actively return results to the requesting terminal

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.

Rules for Handoff Tasks

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.

Rules for Assigned Tasks

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.

Message Formatting

Return results that are easy for the supervisor to merge into a larger workflow:

  • Identify what task or dataset the result belongs to
  • Include the requested output or deliverable
  • Keep the message specific enough to act on without re-reading the whole task

If the task asks for progress updates, use send_message for those updates too. Otherwise prefer one final callback with the completed deliverable.

Filesystem and Reporting Discipline

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.

Reliability Guidelines

  • If the task names an explicit callback terminal, note its ID before you start expensive work; otherwise rely on the default routing (omit receiver_id).
  • If send_message is available and the task requires a callback, call it directly rather than ending with prose alone.
  • Keep callback messages structured so the supervisor can merge them into a larger workflow.
  • For handoff tasks, return the completed output directly and let the orchestrator handle delivery.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.