cheap-orchestration
Skill4 starsChanged 10 days agoMITView on GitHub
This skill should be used when planning how to split a task across subagents, writing a delegation spec, or deciding whether a unit runs inline, on a cheaper agent pinned to a smaller model tier (scout, editor, worker) or not at all. It holds the decision rule by task size and stakes, the pinned agent crew, the ordering and guard rules, spec and return templates, and the benchmark evidence behind each rule. The rules themselves live in the "Delegation & cost" section of your agent instruction file (CLAUDE.md, AGENTS.md); this skill is the detail and the rationale.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apple-shortcutsSkill
- automode-configSkill
- dockerfile-best-practicesSkill
- helm-bjw-s-chartSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
No crew member launches another agent, so no subagent fans out on its own.
- Very specific: line 70
Before the first delegation of a session, check the crew from the project directory, with the script's full path and the same --provider, …
- Very specific: line 85
Every delegation call starts its description with the model the agent runs on, in brackets: [Haiku] Where is X resolved, [Terra] Implement …
- Distinctive: line 114
Write each spec with the templates.
- Distinctive: line 115
Verify through reports, git diff --stat and one test run.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Cheap Orchestration
The operative rules belong in the instruction file your harness loads every
session (CLAUDE.md, AGENTS.md), under a "Delegation & cost" section. This
skill adds the templates and the reasons, so the rules can be applied to
cases they do not name.
Tiers
The rules name tiers, not models. Map each tier to your provider once:
| Tier | Claude | GPT | Gemini |
large | Opus | Sol | Carbon |
medium | Sonnet | Terra | Neon |
small | Haiku | Luna | Hydrogen |
The main loop usually runs on large. A model above large has no place in
delegation.
Crew
Each agent has its model pinned in its own definition. Never override the model at call time: the pin is the cost boundary.
| Agent | Tier | Tools | Use for | Returns |
scout | small | read, search, read-only shell | Questions about the code before a decision or a spec | 15 lines of path:line facts |
editor | small | edits, shell | Mechanical edits with no design choice | 10-line report |
worker | medium | edits, shell | Every other unit whose output is files | 10-line report |
reviewer | large | edits, shell | Final restriction check and polish pass: default on long multi-part sessions, otherwise on request | 10-line report |
No crew member launches another agent, so no subagent fans out on its own.
Claude Code enforces it (the definitions carry no Agent tool); on Codex
and Gemini it is an instruction in each role, see
Harnesses.
Setup
The definitions ship in assets/agents/. Install them once per harness:
uv run scripts/setup_crew.py --provider claude # dry run
uv run scripts/setup_crew.py --provider claude --apply--provider takes claude, codex or gemini and writes the format that
harness reads, with the model of each tier. --scope project targets the
current repository, --small, --medium and --large replace a model
identifier. For Codex, --effort <agent>=<level> (repeatable) and
--verbosity <level> pin model_reasoning_effort and model_verbosity in
the roles. An existing file or symlink is kept unless --force is given,
and user scope follows CLAUDE_CONFIG_DIR or CODEX_HOME when set. The rule text
to add to the instruction file is assets/delegation-and-cost.md: in the
user-level file it applies from the first turn of every session, while this
skill only loads when needed. Harness
details: Harnesses.
Before the first delegation of a session, check the crew from the project
directory, with the script's full path and the same --provider, --scope
and tier overrides as the install:
uv run <skill directory>/scripts/setup_crew.py --provider <provider> --scope <user|project> --checkThe check reads each definition: it fails on a missing agent, on a
definition from another provider, and on a model other than the tier's (a
kept file with model: inherit, for instance). If an agent fails it, its
units stay inline. Never fall back to an agent
that inherits the session model: that is the expensive path this skill
exists to avoid.
Every delegation call starts its description with the model the agent runs
on, in brackets: [Haiku] Where is X resolved, [Terra] Implement X,
[Carbon] Final review. The label is the only place the model shows up in the
transcript, so a unit sent to the wrong tier is visible at launch instead of
on the bill.
Decision rule
- Inline: one command, an edit of about 10 lines in one file, reasoning on output in hand, the final check, within a read budget of 2 read or search calls per turn before the first delegation. A delegation costs a spec, a launch turn, a notification turn and the agent's own system prompt.
- High stakes, write it yourself: published code others depend on, security, irreversible operations, or the user explicitly puts quality before cost. Delegation costs 0.3 to 0.5 of 5 in judged quality whatever the worker model, so only reads and mechanical sweeps go out.
- Otherwise delegate, short or long. Long sessions save 38% from context isolation alone and about 65% with a medium-tier worker; short tasks save about 40%, but only on pinned cheaper agents.
- Final review, long sessions only: one
reviewerpass recovered about 0.2 of the 0.47 quality gap on a long session for +0.20 $ (still -58% vs vanilla); on a short task it added 49% cost and no quality.
Workflow
- Split into units; a unit is one agent's worth of work with its own acceptance check. Two units that touch the same file are one unit.
- Order: ordered parts go one per message, each after the previous report.
- Write each spec with the templates.
- Verify through reports,
git diff --statand one test run. - Last unit before the final check: re-check every written
path:line. - Long multi-part session: one
reviewerpass, given the baseline noted before the first unit (a snapshot of the tree, so work that predates the task is never reverted), then the final check. The reviewer may edit, so it re-checks thepath:linereferences into every file it touched.
Evidence, numbers and what was dropped from v1: Evidence. Full report and per-run dataset: https://github.com/obeone/claude-skills/tree/main/benchmarks/cheap-orchestration. The numbers were measured on Claude models with a large-tier main loop; on another provider the reasoning transfers, the percentages are unverified.
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
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.

