Purpose
Invoking this skill arms the current session for an orchestration-heavy task: it loads the
expanded seven-imperative operational form into active working context, and it declares deliberate
intent to orchestrate the work about to start, so the triggers get evaluated actively rather than
sitting passively in background rules. That is the default: no paste, no rails, just preloaded
context.
The same imperatives also export as a self-contained, paste-ready brief for targets that leave
the session and therefore inherit none of its context: a spawned subagent/teammate, a fresh session
you will /clear into, or a non-Claude-Code tool. Export is model- and tool-agnostic by
construction. Nothing in the pasted text depends on a specific model, env var, or repo file.
Pointers behind each imperative: context/sources.md; observed failure modes:
context/gotchas.md. Read gotchas before authoring a nested tree or trusting a worker's return.
Actions
| Action | What it does |
|---|---|
| (default. Optional <task>) | Prime this session. The standing instructions below are now active for the upcoming task; respond with a terse acknowledgment and, if <task> is given, one line orienting to it. Do not re-emit the imperatives. Loading them is the priming. |
| handoff [compact] | Export the imperatives as a paste-ready dashed-rail brief framed for a fresh session. compact = headlines only. |
| worker [compact] | Export framed for a spawned worker (prepends the did-not-inherit-context line). compact = headlines only. |
| coordinator [<area>] | Arm this session as the one coordinator for <area> to delegate that area's work to workers. The coordinator keeps no store of its own: state lives in the tracker and the repository's durable files, so it creates no store file. It runs on whatever surface the user chooses, a plain CLI session included, so account rotation never strands it. Load context/coordinator.md and follow its four rules for the rest of the session. Respond with a terse acknowledgment that names the area and where state lives. |
Orchestration imperatives. Standing instructions
At each decision boundary in this task, evaluate these and act on a match without waiting to be
told:
- DELEGATE / FAN OUT. Start with one agent; delegate only when work would flood context, fans
across genuinely independent paths, or needs a tool-restricted specialist. Decompose by what
context each piece needs, not by head-count or work-type. Sequential or shared-context steps stay
in one agent, and one feature is never split across agents. Our operating figure for a fan-out
is 3–10× one agent's tokens (returns cost context too), and it is a floor: budget a
research-shaped fan-out above it. Spend it on value + parallelism, not convenience. Pointer: for
multi-agent token cost, see <https://code.claude.com/docs/en/costs#agent-team-token-costs>; no
docs page covers research fan-out sizing as of 2026-10-01 (correlate with
<https://www.anthropic.com/engineering/multi-agent-research-system>). As of: 2026-10-01.
Recheck trigger: that section moves or starts stating its own multiplier, or a docs page starts
covering fan-out sizing.
"Would flood context" is a measurement, not a hunch, when the instrument exists: with the
context-usage plugin enabled, resolve this session's zone word per its reader contract
before a fan-out decision
(the contract owns the snapshot path, staleness rule, and bands. Read them there; this
imperative consumes only the word, no band values). Never estimate your own remaining window,
that guess is the failure the seam replaces. A degraded or unknown zone shifts the balance
toward delegating context-heavy legs and shrinking what returns; a healthy zone is license to
keep sequential, shared-context work inline.
- SPEC EVERY SPAWN. Every brief states why the work is wanted, what done looks like, when to
stop and ask, and a deliberately chosen capability tier, on top of the brief elements the
multi-agent post lists. Pointer: Give the reason, not only the request;
correlate with <https://www.anthropic.com/engineering/multi-agent-research-system> for the
brief elements, which no docs page covers. Name the capability tier deliberately rather than leaving
it unspecified: what an omitted model resolves to, with or without a consumer-level
subagent-model override, is upstream behavior
(pointer: <https://code.claude.com/docs/en/sub-agents#choose-a-model>).
Holding only an objective, a worker resolves each ambiguity toward the sentence you wrote rather
than the outcome you wanted, and returns something well-formed and wrong.
A worker that measures is told which exact commits to compare and how to sample (how many
runs, in what order), and its return repeats both beside the numbers; a measurement whose
return leaves either out is not evidence. A brief for a worker that writes may state how long
the work should take, which imperative 4 uses.
- FRESH-CONTEXT VERIFY, after an edit batch or a finding set, hand it to a separate verifier;
never self-audit in the context that produced it. Give the verifier concrete pass/fail criteria
("run the full suite, report all failures"), scope it to correctness/requirements (not style),
and judge the final state, not the process, an uncriteriaed verifier just rubber-stamps. When
the verdict is high-stakes, prefer a different-vendor advisor when one is set up and able to
judge this artifact, its blind spots are uncorrelated with yours, with the fresh-context
same-vendor verifier as the fallback. A light or off verification level, where the session resolved
one, skips this verifier. Scope it to what ships: a process record about the work
(ledger, checklist, status log) is not the work and gets no verifier, however many of them a
batch touched, and a record of a verification is never itself verified, that loop feeds itself.
- RUN WORKERS WELL. Dispatch without blocking, and keep a worker across subtasks where the
runtime allows; watch each worker and step in when it drifts. Pointer:
A worker that must wait on an external result polls it in the foreground with a bounded loop, or returns what
it has and lets the parent re-dispatch. A background command or watch the worker started is not
a wait: the runtime may stop it when the worker returns, a watch expires at its deadline, and no
sentinel file appears unless something the worker launched writes it. The runtime may also leave
it running: a hung background shell has been observed to keep a worker that already reported
listed as active (context/sources.md, "A worker's own background work is not a wait"). So
retiring a finished worker includes checking for its still-running background tasks and
surfacing each one; stopping one is gated like any kill (/session-flow:reconcile step 3).
Liveness covers workers that write (edit files, commit, or run a process for the run), never
read-only ones such as a verifier. Read a writing worker's progress from its side effects
(new commits, written files, its task status), never by sending it a message to ask. Past the
runtime its brief states with no side effect, it is stuck: stop it (gated like any kill) and
respawn it with consolidated scope. With no stated runtime, confirm at each decision boundary
that its task is still running and still producing output. Every resume message restates the
brief's scope fence and standing constraints; after an interrupt, respawn the worker instead
of resuming it. Landing: "land" means a local commit on the run's own branch, never a push or
a merge. Land each unit as soon as it passes verification instead of holding a batch, and
apply no cutoff based on remaining budget, since imperative 1 forbids estimating the window.
Where a configured batched drain decides when returns are read, a unit lands once its return
has been read and verified. A worker runs where its parent session runs; cloud placement is
chosen per work item by the execution-target contract
(docs/contracts/execution-target/README.md in the marketplace repository).
- NESTED SUBAGENTS, a worker may spawn its own workers when a delegated task itself subdivides
and the depth is non-load-bearing. Reliability
degrades with depth and platforms cap it (for the cap, see
<https://code.claude.com/docs/en/sub-agents#let-subagents-spawn-their-own-subagents>), so never author a tree that needs a specific or deep
nesting level.
- SURFACE DRIFT, the moment you notice a stale reference, broken citation, or convention
conflict adjacent to your task, flag it in one line; don't fix it silently, don't deep-dive.
- CALIBRATE TO CONDITIONS. Size the whole orchestration (whether to delegate at all, fan-out
width, nesting depth) to the conditions in play, never a fixed recipe: the active model's
capability (a stronger model reaches further single-agent; a weaker one needs more decomposition
and tighter specs), whether a capable advisor/verifier is on hand, current context pressure
(delegate to protect a filling window; stay inline when it is roomy). Usage or rate-limit headroom
never lowers capability tier, effort, review depth or worker count; pacing is the user's call. Back
off only on this session's own rate-limit errors or on live sibling-automation 429s already
visible to the session (for example review-lane infra comments classifying
api_error_status: 429); scale back up only after those reactive signals stop, never on a
guessed recovery. Sizing is
small/medium/large, a small ask stays single-agent, a medium one fans out a few, only a large
genuinely-independent surface earns a wide or nested tree. Single-agent is the floor, not the
fallback. Per-worker tier is part of sizing and follows the work: mechanical work runs on the
cheaper tier, which a wide mechanical fleet inherits as its default because volume multiplies
every notch of over-provisioning, and the standing exception is an explicitly hard stage
(verify, judge/adjudicate, judgment-heavy synthesis), which keeps the parent tier. Tier is not only the
model: match the reasoning depth (effort) to the subtask too, not the parent session,
high-volume mechanical work (search, extraction, per-item transforms, formatting) runs cheaper
on both. Work that changes code, verifies a change, or is likely to hit edge cases is excluded
from the lower effort: pick its level from model-config's effort table
(<https://code.claude.com/docs/en/model-config#choose-an-effort-level>), and, as this
repository's own floor, never below medium. A premium fan-out outside the hard stages is a per-stage decision to justify
explicitly, never a default to inherit. Pointer for both cost judgments (delegating bulk work,
tuning effort per subtask):
<https://platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligence#orchestrator-strategy-delegate-bulk-work>
and <https://platform.claude.com/docs/en/about-claude/models/optimizing-for-cost-and-intelligence#tune-effort>.
Both judgments are ours.
Discipline: trigger-evaluation is mandatory; the action stays calibrated (delegate on value +
parallelism, not convenience). Treat every worker's return as unverified synthesis: check its
evidence before accepting it, verify load-bearing claims against a primary source before acting,
and merge a many-item fan-out into one table (item, verdict, evidence). An item whose return
lacks a field its brief requires enters that table as a gap, never as a pass, unless a single
consolidated-scope respawn returns the field. Cite sources you actually fetched;
never label a claim "known" / "from memory" / "obvious".
Priming addendum (current session only). As the main session, not a spawned non-fork worker,
you may also reach orchestration surfaces a non-fork worker cannot: agent teams (driven from the
lead session; the docs do not state whether a fork of the lead can drive one; see
limitations) and dynamic workflows (withheld from non-fork workers). This session's reasoning effort is ${CLAUDE_EFFORT}; if that value reads as a literal
placeholder, resolve the session's effort yourself before using it. Feed the value
into imperative 7's tier calibration: we treat it as the effort an unpinned spawn may run at when it
passes no effort, and the pointer below says on which model that holds. Its gap from what a subtask needs is
the over-provisioning imperative 7 exists to stop. Close that gap by passing the level on a
non-fork spawn of an unpinned agent, and omit it on a pinned named agent. Never read ultracode from this value. Pointer: for
the subagent effort field, see <https://code.claude.com/docs/en/sub-agents#supported-frontmatter-fields>;
for the per-spawn effort and its precedence, see
<https://code.claude.com/docs/en/sub-agents#choose-an-effort-level>; for which model the session's
level reaches, see <https://code.claude.com/docs/en/model-config#effort-level-of-subagents-and-teammates>;
for how ultracode relates to
effort, see <https://code.claude.com/docs/en/model-config#adjust-effort-level>. Where a
SendMessage tool resolves in this session, run imperative 4's worker reuse and mid-flight
intervention through it, addressed by the worker's agent ID. Never re-invoke the dispatch tool to
continue a worker: that starts a second, independent worker. Read a refused message as a worker
the user stopped. Pointers and the empirical probe: context/sources.md, "SendMessage
worker continuation".
worker_continuation decides how a worker's next unit (a fix round, a follow-up, a retry, the
next queue item) runs. Resolve it once, at arm time, lowest layer first: the default resume; the
user's option ${user_config.worker_continuation}, where a literal, unexpanded placeholder means
unset; then the repository's docs/conventions/session-flow.yaml, which wins when it sets the key