cli-agent-orchestrator: Instructions file for Codex

AGENTS.md

cli-agent-orchestrator AGENTS.md is an instructions file for Codex, OpenCode from awslabs/cli-agent-orchestrator. It costs 328 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for CLI Agent Orchestrator, a local service that runs coding-agent command-line programs in terminals and lets them pass work to one another. They describe its feature documentation and test commands.

In plain words
What is it for?
Use them when changing CAO features, running its Python test suite, or updating the matching feature-map entry.
Why use it?
They give contributors a consistent way to find feature behavior, run tests, and keep documentation aligned with code changes.

Instructions file for CodexOpenCode ✓ vendor

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md; mentions Codex.

This is awslabs/cli-agent-orchestrator's own configuration. It tells Codex and OpenCode how to work on cli-agent-orchestrator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cli-agent-orchestrator configures →

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,813 stars · on GitHub · awslabs.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to awslabs/cli-agent-orchestrator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/awslabs/cli-agent-orchestrator/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/awslabs/cli-agent-orchestrator

Made for: Codex, OpenCode.

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 cli-agent-orchestrator AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/awslabs/cli-agent-orchestrator/agents-md/github.svg)](https://agentmods.dev/instructions/awslabs/cli-agent-orchestrator/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/awslabs/cli-agent-orchestrator/agents-md"><img src="https://agentmods.dev/badge/instructions/awslabs/cli-agent-orchestrator/agents-md/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 cli-agent-orchestrator AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/awslabs/cli-agent-orchestrator/agents-md"><img src="https://agentmods.dev/badge/instructions/awslabs/cli-agent-orchestrator/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 328 This file is loaded in full into every session.
When invoked 328 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00328 $0.00328
Opus 5.5 $0.00131 $0.00131
Sonnet 5.5 $0.00066 $0.00066
Haiku 4.5 $0.00033 $0.00033

Measured yesterday against content hash 5b94d36e5bb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-agent-orchestrator AGENTS.md 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 yesterday.

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.

AGENTS.md · 32 lines

What it actually says

AGENTS.md

CLI Agent Orchestrator (CAO) runs coding-agent CLIs in terminals and lets them hand work to each other. It is a local server (cao-server) with a CLI (cao), an MCP server and a web UI.

Feature map

docs/feature-map/ has one short file per feature area. Each answers four questions: what exists, how a user reaches it, how to drive it (commands and expected output), and what usually lies (known traps). Open the file for the area you are changing, and run its Drive step before you say the change works.

Tests

uv sync
uv run pytest -v                  # default suite; e2e is deselected
uv run pytest -m "not e2e and not integration" -v   # fast inner loop

DEVELOPMENT.md has the details, including what CI runs and how the tests isolate HOME and tmux. CONTRIBUTING.md covers the type-checking ratchet and PR rules. CODEBASE.md is the map of the source tree.

In CAO checkouts, keep memory.injection.write_project_files off: enabling it lets the Codex memory plugin write memory into the tracked AGENTS.md.

Update rule

If a change alters how an area behaves, update that area's feature-map entry in the same PR. A stale map is worse than none.

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. yesterday First seen · 32 lines · 328 tokens per session scan A 5b94d36e5bb4

Subscribe to this mod's changes

cli-agent-orchestrator AGENTS.md is an instructions file published in the GitHub repository awslabs/cli-agent-orchestrator (1,813 stars, last pushed today), licensed Apache-2.0. It adds 328 tokens to every session, about $0.0013 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-12-01.

Related

cli-agent-orchestrator AGENTS.md compared with instructions from other repositories

cli-agent-orchestrator AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-agent-orchestrator AGENTS.mdawslabs/cli-agent-orchestratorInstructions file1.8ktodayApache-2.0A328Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot