Coordinates multi-agent workflows by selecting the lightest delegation strategy: solo work, parallel workers across Claude Code/Codex/Grok/Cursor, architecture loops, or independent researchers. Includes cross-model review and a Run Board for tracking dispatched tasks.
Ships in adonis-skills. 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.
Read when SKILL.md points to them.
One coordinating agent decides how much machinery a task deserves. The scarce resource is the user's attention and the facts only they can confirm, not lines an agent can write. Extra workers speed up only the coding step (an inference from one measured Run, n=1); integration, review rounds, deploys and status reports grow with every worker. So default to the lightest tier, escalate only on evidence, and say why in one line.
Two rules decide most splits:
Background: Anthropic, "Building agents: When to fold subagents into your main agent loop" (claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop, 2026-10-22).
| Need | Read |
|---|---|
| Which accounts, pools and products exist; allow-lists; 多开 | references/accounts.md |
| Starting, messaging, resuming or stopping a headless Worker; a Side Session | references/launch.md |
| Writing a Worker's task spec / a research brief | references/task-spec.md, references/research-brief.md |
| Ledger commands, Board, the rules for every reply during a Run, Orca mode, handoff | references/run-board.md |
| A second product, account, reviewer tool or drafting agent is missing | references/fallbacks.md |
| Why the Coordinator must stay small, and how | references/context-budget.md |
| Whether dispatching paid off; comparing it with doing it yourself | references/measure.md |
| Terms (Run, Lane, Worker, Ask, Standing Grant) | GLOSSARY.md |
Respect established authority boundaries in order:
workflow-gate is installed, it decides what kind of work (debug / plan / challenge / architecture / review); agent-dispatch decides how many agents and who reviews; then the selected runtime skill runs.agentic-review-handoff is installed, do not pick a reviewer yourself: run its review with --host=<the Coordinator's product> so its saved Reviewer preference picks the reviewer and timeout fallbacks, and state its reviewerFrom in the dispatch line; use this skill's "Reviewer choice" only when it is absent.task-completion-loop owns the task, it already runs its own peers and reviews; agent-dispatch only sizes workers inside it and starts no second review loop.goal-gate) is active, dispatch and review as usual, report each batch as a checkpoint of that Goal, and never complete, replace or clear the Goal yourself.sessions / send are the cross-account session layer; detect each at runtime, keep the per-product fallbacks (references/launch.md).This skill earns its overhead when work crosses products (Codex, Grok, Antigravity) or accounts (quota pools), or when the user wants a Board and numbered Asks. When none of that applies, say so and use the host's native mechanism instead of a Run:
claude agents (agent view) to hand off independent background sessions the user checks on; Agent Teams (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, experimental) when teammates must share a task list and message each other. Its docs (code.claude.com/docs/en/agent-teams) also say to check whether a lighter option does the job first, to start with 3-5 teammates, and to give each teammate its own set of files. This skill caps cross-product writers at 3 because every extra writer adds an integration and a review. Cross-session messaging between sessions you run yourself needs no Run either.references/run-board.md § Orca mode); the ledger still holds Asks, Waits, decisions and the milestone report. Codex, Grok, reviewers and researchers stay headless.Pick a Run when the task needs a second product or quota pool, when the user wants a writer reviewed by a different model, or when the user asked for the Board. State the reason in the dispatch line.
Run python3 scripts/probe_agents.py (relative to this skill) once per session before choosing a tier above L0, and read references/accounts.md for what its fields mean. Subscription hosts paused via sideby disable <family> (e.g., sideby disable claude; resume with sideby enable claude) are automatically omitted from probe_agents.py, while proxy.env API accounts remain usable if explicitly requested. Three rules that decide tiers: max_parallel_workers is the ceiling for L2 (0 means run the parts one after another); pools come from the probe, never from account names; and a busy account is not a full one. A ready Lane never waits for an account to go idle: start it as another headless session on that account while its quota is below the stop line, else on the account with the most quota left, without asking (references/accounts.md § Pools bound quota). Do not assume Codex, Grok, Antigravity or extra accounts exist because a plan or a prior session mentioned them; if the probe cannot run, treat the machine as single-product with one pool. When the user names the accounts to use or authorizes 多开, apply both before the probe: the allow-list (AGENT_DISPATCH_ALLOW) and, for 多开, a raised AGENT_DISPATCH_SESSIONS_PER_POOL (references/accounts.md). When the probe disagrees with what the user said (three accounts named, four found; a product they mentioned is missing), say so in one line and plan from the probe: the user may have forgotten a login, or the machine may not be the one they meant.
| Tier | Pick when | Who writes | Review | Tests | Target |
|---|---|---|---|---|---|
| L0 Direct | read-only, copy, style, static asset, or one file, no behavior change | coordinator, current checkout, no worktree | none | page evidence or none | ~10 min (3-4 rounds) |
| L1 Single | behavior change inside one module, about 5 files or fewer; or parts that share a contract still being decided | the coordinator itself. One Worker only when the coordinator's context is crowded (this session has already been auto-compacted, or its context is past about half the window with unrelated work), the piece needs another product's ability, or the coordinator's quota pool is nearly spent; name which in the dispatch line | one independent pass (see Reviewer choice) | affected files only | 30-45 min |
| L2 Fan-out | parts that need little of each other's context: disjoint file sets and no shared type, schema, API or config they would both change or rely on before it lands | up to max_parallel_workers workers, one worktree each; 0 means run the parts one after another | agentic-review-handoff (saved prefs) or open-code-review-loop; up to 2 fix rounds | affected files per worker; one full run per batch, concurrency capped | per batch |
| L3 Arch | structure pain with a user-given scope | architecture-hardening-loop (implement), or improve-codebase-architecture if installed (diagnose; user-invoked only) | built into the loop | as L2 | own slot, not inside a feature batch |
| Research | an open product, design or UX direction with no settled answer, or the user asks how good software does it or for several opinions | 2-3 independent researchers on the same brief, from different products where available (see Research and design) | the coordinator merges; act on findings two researchers share, or one backs with first-hand evidence the coordinator checked | none; read-only | parallel, one round |
| Writing | article, proposal, weekly report, retrospective | the coordinator, which holds the implementation context; the first of drafting_agents only when the user asks for it or the coordinator's context is crowded (as defined for L1); start after the code it describes has landed | coordinator checks every fact, number, path and command against sources | the repo's doc check when the file lives in a repo | — |
A contract several parts depend on (a shared type, schema, API shape or config key) is decided and landed by one agent first; only then may the parts that consume it fan out. Two parts that would both edit or invent it are one part. A small UX or copy tweak where the answer is a matter of taste is L0/L1 with your recommendation, not Research.
Before acting, output one line: Dispatch: L<n> — <decisive reason>; workers <n>; reviewer <who>; target <time>; billing <subscription | api: $N from the user | api: no budget (user gave none)>. Name any fallback from references/fallbacks.md in the same line.
Use it for L2, L3 and Research, and for L1 once a Worker is dispatched. The Board is a milestone report of the Lanes this Coordinator dispatched, written only at milestones (an open tab re-reads it by itself). Live status and messaging are sideby's Panel (会话 page) and sideby sessions, not the Board; claude agents / Orca sidebar when sideby is absent.
Before you init a Run or take one over, read references/run-board.md § Rules for every reply while a Run is open. The three that bite most: the user is not a technician, so you run every command and speak plain words (任务, 外部等待, 问题, 账号额度); every question is a numbered Ask with a recommendation, evidence and what it blocks; keep a watch in the background after you dispatch or ask, and lead each reply with show --line; say a message was sent only when the send command's own result says so.
Every token the Coordinator reads is re-read on every later turn; on one measured Run (n=1) the Coordinator was about half of all spend. The ledger is the only state (show --line, show); never Read the Board HTML, run.json or .jsonl streams; Workers return a summary of at most 10 lines plus paths, and you read the whole summary, including its technical lines (decisions, deviations from the spec, UNVERIFIED items), before you integrate. Screenshots and report details go to a subagent that returns text. The measurements and the full list are in references/context-budget.md.
Independent opinions only count when they do not share context. Run the Research tier like this:
references/research-brief.md and give the same file to every researcher. Never pass your own conclusions or another researcher's answer.The tiers stay the same; only who fills each role changes. Read references/fallbacks.md when a second product, account, reviewer tool, Orca or a drafting agent is missing, and say which fallback applied in the dispatch line or final report.
Clean-context verification catches blind spots the author cannot see. When agentic-review-handoff is installed, follow its saved preferences (review-loop prefs). Otherwise prefer, in order: another product than the writer → a fresh session of the same product → the coordinator, when it did not write the code. When the user restricts dispatch to one product (e.g. only Claude accounts), the reviewer is a fresh session on a different account of that product than the writer, never the Coordinator, even for a Lane it did not write. When the coordinator is a different product from the worker, the coordinator running open-code-review-delegate already counts as cross-model review. The writer never reviews its own diff, and the reviewer runs on a different quota pool from the writer when the probe has one; otherwise state the fallback in the dispatch line (the Board flags a reviewer on the writer's pool when both Lanes carry --pool and the review Lane --reviews). Tell the reviewer to try inputs the request's examples skip (boundaries, NaN, halves, binary floating point): a reviewer that only replays the given examples passes code that is wrong one step off them. Edge cases it finds block only under the blocker rule in § Dispatching workers; the rest are backlog.
Reviewer prompts, merge-commit review and sandbox limits: references/launch.md § Reviewer prompts.
lane B base — shared base / lane A's branch — lane A's branch — B calls A's new API. Destructive, production, billing, auth and external-message actions still need the user.references/run-board.md rule 9).orca.openLimit in Orca, else 3; in Orca a new worktree and tab, else headless; on the allowed account with the most quota left), and tell the user in one sentence where it is. A wider scope for the current task stays here. Steps: references/launch.md § Side Sessions.check-owns (below), merge the Lane onto the current integration head, and run that Lane's affected tests before taking the next. A conflict or test failure caused by a Lane goes back to that Lane as a fix round with the conflicting hunks and the other Lane's change; the Coordinator resolves it only when it fits the round-3 take-back rule.Parallel writers making uncoordinated implicit decisions create merge conflicts and incoherent architecture. Before starting workers, verify each worker's writable files are disjoint and that no worker would change or invent a contract another worker relies on. Overlap of either kind means collapse to L1, or land the contract first and fan out after.
references/task-spec.md (research briefs from references/research-brief.md). Look at every input you attach before sending it. The spec carries the plan for that piece; the worker does not re-plan the batch.references/launch.md; read it before the first headless start. The two rules that bite most: a headless run must never wait on a TTY, and blanket permission modes need the user's explicit authorization for this Run. When the plan uses one, say in the plan that a worktree is not a permission boundary: it separates Git working files, not what a command can reach.lane set --round 4: needing one means the spec was wrong. When only a small, clear finding is left after round 3 (a few lines, checkable by a deterministic test, lint or script), take it back: fix it yourself, rerun those checks, integrate, and say in the report that this fix was not reviewed again. Anything larger: rewrite the spec as a new Lane, or record it as waiting on the user. The budget counts reviews of the same target however they are started: a hand-written wrapper around review-loop consult counts too, and consult refuses a fourth round without the user's grant. A P0/P1 still open at the budget is reported to the user, never merged.BLOCKED / PASS_WITH_CONCERNS / PASS, never a two-way PASS/FAIL: under PASS/FAIL every P3 fails the round. A fix spec tells the Worker to fix the class of each blocker, not only the cited instance, and to rerun every reproduction from earlier rounds before handing back; a narrow fix and a fix that breaks an earlier case are what sent past Lanes to rounds 5-9.--owns <files or globs> from its spec's May edit list, so lane add refuses a writer whose files overlap another active writer's, and before integrating run check-owns --id <lane> [--base <lane base>], which exits 1 listing the files the Lane changed outside that list (the Files: line is the Worker's own claim; this reads the worktree; a Lane allowed local commits needs --base, or its commits go unchecked); give each reviewer Lane its --session, so a review in the writer's own session is refused; and give every Lane --billing and --account.sideby quota <account> --json reports each account's kind). Subscription accounts cost no extra money; what runs out is the quota window (5h, 7d), and a Worker that hits it stops half way. So a subscription Lane starts only on an account below 80% of every window (init --quota-stop-percent); the ledger checks this and refuses, and you start it instead, without asking, on the account with the most quota left among those the probe lists: with a non-empty allow, the allowed account of that product whose fullest window is lowest, started with its own <command> (sideby run <ref> --), or a wait for the reset when none is below the line; only when allow is empty, the one sideby next <family> --dry-run --json names (references/accounts.md § Pools bound quota). API accounts cost real money: set init --budget-usd only from a figure the user gave; without one, ask once (a numbered Ask with your estimate as the recommendation) or, unattended, run with no budget and say so in the dispatch line. At the budget no new API Lane or API fix round starts until the user raises it or the next round moves to a subscription account. Neither check ever stops work already running: finish, integrate and keep what is done. A subscription Lane's dollar figure is token cost at list price; report it as 折算, never against the budget. A Claude resume reports cumulative cost, so read totals from show --line, never add rounds yourself.show flags a running Lane whose context passed 150k tokens (init --context-handoff-tokens). Let it finish the current step, have it write its progress file (task-spec.md § Progress) and continue in a fresh session from that file, instead of letting the context keep growing or starting over.vitest run <files> or --related).--maxWorkers=2, Node --test-concurrency=2, pytest -n 2), only when no other session is running one.show flags this only for registered Lanes and Waits: after 5 minutes when sideby gives no live status, and after 20 minutes of a quiet output stream when sideby still reports the session (init --session-stale-seconds), so register long test runs as Waits.After a worker's result is integrated into the Coordinator's checkout (committed or not), immediately reuse that worker (a visible Orca Lane is kept until the Run closes, see references/run-board.md § Orca mode step 9), keep it with a stated reason, or remove its worktree with git worktree remove --force <path> (or worktree-tidy if installed), then delete its merged short branch with git branch -d. --force is expected for uncommitted lanes: their worktree holds copies of what the coordinator already integrated; first confirm the Coordinator's checkout contains them (git diff --stat over the lane's files).
Final report per task, starting with the dispatch line you chose (Dispatch: L<n> — …) so the tier is checkable: tier, who wrote and who reviewed (including any fallback), outcome, evidence, decisions taken for the user, Standing Grants recorded, whether dispatching paid off (references/measure.md § After every Run), and what still waits on the user as numbered Asks.
GLOSSARY.md (opens in a new tab)evals/README.md (opens in a new tab)evals/README.zh-CN.md (opens in a new tab)evals/bench/compare.py (opens in a new tab)evals/bench/run_bench.py (opens in a new tab)evals/bench/tasks.json (opens in a new tab)evals/bench/test_bench.py (opens in a new tab)evals/build_plugin_eval.py (opens in a new tab)evals/evals.json (opens in a new tab)evals/results.md (opens in a new tab)evals/test_eval_harness.py (opens in a new tab)evals/trigger-eval-set.json (opens in a new tab)fixtures/probe-full.json (opens in a new tab)fixtures/probe-single.json (opens in a new tab)fixtures/run-midrun/B9.jsonl (opens in a new tab)fixtures/run-midrun/deploy-log.txt (opens in a new tab)fixtures/run-midrun/run.json (opens in a new tab)fixtures/run-sessions/B9.jsonl (opens in a new tab)fixtures/run-sessions/deploy-log.txt (opens in a new tab)fixtures/run-sessions/ended.jsonl (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/adonis-skills:agent-dispatchfrom adonis-skills
npx claudepluginhub adonis0123/adonis-skills --plugin adonis-skills34 skills in this plugin
/agentic-review-handoffValidate review findings, run auto Git review-fix-re-review loop, DecisionConsult, or DDD/cohesion review. Requires Git & review/consult intent./agent-practice-auditScore local coding-agent usage (Claude/Codex/Grok/WorkBuddy/agy) against official docs into HTML report. Triggers: agent 用法体检、实践评分. Never edits config./agent-skill-evaluationUse when comparing or trial-testing agent skills before installing — including GitHub/skills.sh URLs, 测试一下/值不值得装, package screening, and A/B artifact runs.