Skip to content
Back to skills

Orchestration

ASecurity

Use when unsure which agent or skill fits a task, or when dispatching and gating agents (briefs, review gate, debugger escalation, pipelines)

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythonrustgoshellbashawscode-reviewgitapidatabase

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add Hellblazer/nexus --skill orchestration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orchestration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orchestration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hellblazer-orchestration/badge)](https://www.skillsdirectory.com/skills/hellblazer-orchestration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orchestration
description: Use when unsure which agent or skill fits a task, or when dispatching and gating agents (briefs, review gate, debugger escalation, pipelines)
effort: low
---

# Orchestration Skill

Reference skill for agent routing and pipeline coordination. See [reference.md](./reference.md) for routing tables, pipeline templates, and the decision framework.

## When This Skill Activates

- When the task is ambiguous about which agent to use
- When coordinating work across multiple agents
- When user needs help choosing the right approach
- When setting up multi-agent pipelines
- When workflow routing decisions are needed

## How to Use

1. Consult [reference.md](./reference.md) for the routing graph and decision framework, and for § Skill Routing (which skill fits a situation), § nx_answer, § Working Rules (the step-log tool, storage tiers, T2 ttl), § Common Mistakes and § Red Flags
2. Match the request to the appropriate agent or pipeline
3. Dispatch the agent directly using the relay format from [${CLAUDE_PLUGIN_ROOT}/resources/agent-shared/RELAY_TEMPLATE.md](../../resources/agent-shared/RELAY_TEMPLATE.md)

There is no orchestrator agent. The caller (main conversation or skill) dispatches agents directly using the routing tables.

## Subagent Dispatch: Design-of-Record Brief Template (MANDATORY at dispatch time)

Every subagent dispatch is briefed from a design-of-record written before dispatch, stored in T1, and referenced by id in every downstream brief (developer, both reviewers, every fix round). The agent never re-derives a decision.

Mandatory-fields skeleton:

```
## <BEAD-ID> DESIGN OF RECORD (<role>, <date>)
PROBLEM: <one paragraph: observed behavior vs expected, with the pointer that proves it>
DECISION: <the chosen fix, named, with the authority that backs it (RDR/decision/file:line)>
REJECTED: <each rejected alternative + the concrete reason it breaks something, with file:line>

## TASK ITEMS  (numbered; one deliverable each)
<N>. <imperative statement>  <file:line for every site to touch>
     Constraint: <what must remain true>
     Test: <the specific assertion required>

## LOCKED INVARIANTS
- <wire contract / API shape / predicate that parallel halves must both honor, verbatim>
- <house patterns that must not be violated, with the precedent file:line>

## OUT OF SCOPE
- <explicitly deferred item> -> <residual bead id or "file a bead">

## VERIFY (commands, exactly as the agent must run them)
- <test command scoped to the change>
- <lint command>
- Report the collected test COUNT, not a description.
- Verification runs FOREGROUND inside the agent's own turn. Never `run_in_background`, never `Monitor`. A dispatched subagent cannot receive Monitor events or background-task-completion notifications; those route to the MAIN loop only. Waiting on either strands the agent.
- Close the hand-back with a VERIFY block in the § VERIFY Line Convention shape below — one line per claim, not prose.

## WRITE-BACK (mandatory, before returning)
mcp__plugin_conexus_nexus__scratch(action="put", content="<bead> <phase> ...", tags="<bead>,<role>,<phase>")
Report the returned entry_id VERBATIM. It is a UUID; do not invent a title-shaped id.

## HAND-BACK
SubagentHandback (or SendMessage) to orchestrator: outcome, artifact paths, deviations (each labelled DEVIATION with rationale), blockers.
Shared tree: never git add/commit. Hand back diffs + paths. Unless the brief tells you to commit; in a linked worktree the brief assigned you, commit as the brief says.
```

Non-negotiable fields: bead id; design-of-record T1 id (referenced, never restated); file:line for every touch site; locked invariants; verify commands (foreground-only, per above); write-back tags; deviation-reporting instruction.

## Notification Handling (idempotent, MANDATORY)

Task notifications are at-least-once, unbounded-delay, and cross session boundaries. A resumed agent re-notifies under the same task-id, and a notification can surface in the NEXT session after the agent already finished.

1. Key on task-id. Maintain a handled set; a repeat notification for a handled id is a no-op unless its content differs.
2. Never act on a notification's claims directly. Re-derive ground truth first: `git status --porcelain`, file mtimes, and the agent's own T1 write-back (the write-back, not the notification, is the artifact of record). Where to look: T1 has three distinct scopes. MCP-tool `scratch` is scoped to the session id leased at MCP-server spawn and moves only when a `/clear` or `/resume` handoff marker is consumed (the old session's rows strand rather than migrate), so a background agent's write-back lands in the scope that was current when it wrote; a session is swept once it has been idle 24 h, and its flagged rows reach T2 at session end and when the session moves to a new id. `nx` CLI `scratch` is scoped to the current transcript session if a live lease exists, else a shared fallback. `~/.config/nexus/current_session` is machine-wide, last-writer-wins, and can be owned by a concurrent session. Check the MCP scope before declaring a write-back lost.
3. Before treating a write-back as missing, confirm the agent has actually terminated. Searching T1 while the agent is still running and treating absence as loss is the recurring false-loss pattern (cdypx, 2026-08-03).
4. A late notification arriving after recovery work is already complete is informational only. Reconcile it, and CORRECT any recovery note that recorded a now-falsified claim.
5. Never background-dispatch near a session pause; a live agent at session end cannot be recovered except by hand.
6. A long job or wait you start by hand (a CI wait loop, a remote suite) has no hook behind it, so register it as work your session owns: `nx identity work register --kind wait --ref <what>` when it starts and `nx identity work done --kind wait --ref <what>` when it ends (`nx identity work run --kind remote-run --ref <what> -- <command>` does both for one command). The restart's ready check lists it and asks you before it cuts it off. The label never blocks the job, and a row nothing has written for 12 hours or that predates your session reads stale.

## Resuming a Worktree Agent After a `/clear`

A background `worktree-developer` still mid-flight when the session `/clear`s can be resumed with `SendMessage` under the NEW session id, but the harness re-fires SubagentStart with `agent_type` collapsed to `general-purpose` (the original type is dropped) and the agent's cwd reset to the PRIMARY checkout, not its worktree. One consequence follows:

- **The cwd/git-guard problem is NOT fixed and cannot be from this side.** The resumed agent's cwd is the primary checkout, so the subagent Bash git-policy guard correctly refuses its `git add`/`commit` there — that guard is doing its job, protecting the shared primary. This is harness behavior (SendMessage resume drops the dispatch-time cwd and type), so there is no fix for it from this side. **The resumed agent itself must account for this when producing its own hand-back**: its Bash cwd is the primary, so a bare `git diff`/`git status` in its own turn reports on the PRIMARY's (usually clean) state, not its worktree's actual changes — its hand-back diff and status must use `git -C <worktree-path> diff` / `git -C <worktree-path> status --short` explicitly (read-only git is guard-exempt regardless of cwd, so this works from inside the resumed agent's own turn).

Prefer, in order: (1) dispatch a FRESH `worktree-developer` (a new Agent call, cwd genuinely inside the worktree) and relay the resumed agent's last-known state (branch, file list, what it had done) in the new dispatch's brief, rather than resuming the old one; (2) if resuming is unavoidable, have the COORDINATOR commit on the resumed agent's behalf, pathspec-limited, after reading its hand-back (`git -C <worktree-path> diff`, per above) — never work around the guard from inside the resumed agent's own turn.

## Sending a Mid-Turn Message to an Agent

To send a directive or other message to a dispatched agent while it works, `mailbox_send(to="<agent id>", body=...)` (an agent id is used as is); the agent drains `mailbox/<agent id>` with `tuple_in` before composing any hand-back. A caller that wants a resend to land on the same tuple rather than pile up sends raw `tuple_out` with its own nonce instead. Full convention, dead-letter rule, and the template shape: `/conexus:mailbox`. Choosing between `SendMessage`, the mailbox and T2, and messaging peer sessions rather than your own agents: `/conexus:peer-messaging`.

## VERIFY Line Convention (MANDATORY)

Every implementation or review hand-back ends with a machine-checkable VERIFY block, one line per claim, never prose (extended after a 2026-09-13 measurement: reports arrived on time but made false claims — a docs agent reported changing a CLI default it had not touched, and an implementation agent's gate record omitted the one test that would have caught its own NameError. Delivery was never the gap; verification was).

Three line shapes, any number of lines, in any order:

```
VERIFY: commit=<sha>
VERIFY: <exact command> => rc=<code> <count> passed
VERIFY: t2=<project>/<title>
```

- `commit=<sha>` names the sha the change actually landed on — never "will land on" or a branch name.
- `<exact command> => rc=<code> <count> passed` names the command verbatim (copy-pasteable, not paraphrased), its exit code, and the count it reported.
- `t2=<project>/<title>` names a T2 write-back the orchestrator can `memory_get` to confirm.

An agent with nothing checkable to claim (a pure read, a recommendation with no code touched) says so explicitly rather than omitting the block, so an absent block is never silently indistinguishable from "nothing to verify."

The orchestrator re-runs each reported COMMAND once per round, before accepting the round — it never trusts the reported count. Reading the command line and re-running it yourself is the orchestrator's own job: a fabricated `rc=0 12 passed` line for a command that was never run, or a real but too-narrow command that would not have caught the regression it claims to verify, both read identically from the report alone.

A run that was disturbed (a peer deleted its temp directory, a process under it was killed, a shared path vanished) is killed and rerun clean; its numbers are never quoted, and the hand-back says it was disturbed.

## Review Gate (caller side, MANDATORY on every implementation)

The reviewers do not dispatch each other and the developer does not commit unless its brief tells it to, so you drive the gate. Do not stop at the developer's return.

1. **State the acceptance bar** in the relay's Context Notes before either reviewer runs: "Ship when <X>." X is the condition that ends the gate, never "no criticals" (unfalsifiable). Example: "Ship when an upgrade cannot wedge an install."
2. **Run both reviewers**; they catch different, non-overlapping classes. `code-review-expert`: line-level bugs, security, missing edge cases, convention violations. `substantive-critic`: unvalidated assumptions, silent scope reduction, vacuous test assertions, spec-vs-implementation drift. A clean code review never excuses skipping the critic.
3. **Round 1 is a full review and reports everything**: recall is the reviewer's job, triage is yours. Triage each finding as a ship-blocker against the bar, or a bead. Never both, never undecided, never re-litigated by a later round.
4. **Round 2 only if a ship-blocker was fixed**: ONE confirmation pass per reviewer (template below), never a second full review. Round 3+ needs the human to ask for it by name (§ Review Rounds).
5. Test-only, comment-only and prose-only fixes do not re-enter review, EXCEPT a test change that weakens, removes or vacuates an assertion: that changes the gate and re-enters as a behavioral fix.
6. **Answer a finding in the product, not with a new check.** A finding is answered by fixing the behaviour and adding a behaviour test of the product, never by a new check. A new accounting check (a check of the repository, not the product: a count, size, list or exact text of files) lands in report mode (it reports instead of blocking routine pushes; a numeric one fails only past its alarm line), with an owner, the incident it answers and, if it has a numeric value, an alarm line (the value past which it fails). Any new check, gate, census or lint pastes its first live run into its bead before close, with the counts it examined and skipped, so a pass over unexamined input shows.
7. **Commit only after both reviewers are clean**: explicit paths, never `git add -A`, bead reference, then close the bead.
8. `test-validator` follows when coverage needs verifying; not automatic after Ship.

**Model.** `code-review-expert` defaults to sonnet; pass `model: "opus"` for cycle-level or architectural diffs.

**First-pass reviewer brief.** Friendly relays return friendly reviews, so name what to suspect:

- Suspect categories for the diff class: ordering/race for concurrency, lock scope for transactions, vacuity for tests, handshake/boundary shapes for APIs, silent fallback for error paths.
- The locked spec (RDR `## Decision`, plan, phase boundary), so both check implementation against spec, not style.
- What was NOT changed on purpose, so scope creep is flagged instead of recommended.
- Verification already run, so the reviewer checks claims instead of re-running suites.
- Destroys, where the diff touches a path, a value consumers derive from, or a plan: any consumer that deletes something derived from what moved (a `rmtree` of a moved printed path's parent once wiped a laptop's `TMPDIR`); what the plan destroys, not only what it produces (a plan that listed its costs and missed the accidental serialisation it removed); and a long walk or batch that emits no progress, which reads as hung and gets duplicated.
- Every added or modified test rated CAN FAIL or CANNOT FAIL, with the concrete production edit that would turn it red.

**Confirmation-pass brief.** It names the findings under confirmation and asks whether each is closed. It does not name new suspect categories or ask the reviewer to pressure-test, enumerate paths or find what was missed; those instructions manufacture findings on any artifact.

```markdown
## Relay: code-review-expert — CONFIRMATION PASS (round 2 of at most 2)

Confirming these findings, and nothing else:
  1. <finding, verbatim from round 1> — fixed at <file:line>

For each: emit CONFIRMED-CLOSED or NOT-CLOSED with the evidence line.
Do not open new attack axes. Observations outside this list go in a final
"For beads" section, one line each; they are never grounds for another round.
ONE exception: a defect INTRODUCED by the fix under confirmation that is
ship-blocking. Report it as a Critical and name the fix line that introduced it.
```

## Implementer and Debugger Dispatch

**Implementer brief checklist.** A brief that says only WHAT to change leaves these to the reviewer, and each cost a fix round when omitted. Answer them in the brief, or write `UNKNOWN: resolve first` and the agent resolves it before its first edit (the SubagentStart hook injects the first five of these questions into every implementer dispatch):

1. **Consumers.** Every caller and consumer of what changes, including any consumer that deletes something derived from it (grep for them before the first test run, and run any test that deletes a computed path under a throwaway `TMPDIR`), and which of them filter, re-rank or page after it.
2. **Final point.** Where the output's real final order or display is decided (after boosts, caps, paging), and that the change acts there, not on a proxy.
3. **Modes.** Behaviour in each mode the code runs in, and which was measured. A mode nobody measured is measured first or left unchanged.
4. **Bounds.** Which pool, permit, memory or thread limit the change draws on, and its size against that limit on small and large boxes.
5. **State.** Every cache or shared state touched, who invalidates it, the invalidate-versus-in-flight-fill race, the first-write and empty cases, the test reset hooks.
6. **Destroys.** Name what the action destroys, not only what it produces: a push produces a commit and can cancel or replace a verdict someone is waiting on, a branch switch can revert a peer's uncommitted files.

**Git in the brief.** The guard judges a subagent's git from the primary checkout, so the brief gives the worktree root (made before dispatch), the one git shape and who pushes: [reference.md](./reference.md) § Git in an implementer brief.

**Worktree base commit.** An `isolation: "worktree"` dispatch may not start at the primary's `HEAD`, so a dispatch whose work depends on a particular commit names that commit in the brief and has the agent check it first (`git merge-base --is-ancestor <commit> HEAD`), or the orchestrator creates the worktree at that commit (`git worktree add <path> <commit>`) and points the agent at it.

**Shared-host clauses.** Every developer, test or debugger brief that touches a test host or the laptop carries these four, verbatim or tightened, because the agent cannot infer them and a stop message arrives after the script has started:

- Delete only paths your own commands created and recorded, by exact name; use your own directory (`~/tmp/<owner>/`), never a shared filename prefix; never delete by glob or by modification time.
- No `pkill`, `killall` or `kill $(pgrep ...)` anywhere, the laptop included; signal only a pid you started yourself (from your own `$!` or background task id), found by its parent pid, after checking its parent and its working directory (`ps -p <pid> -o pid,ppid,args`, `lsof -a -p <pid> -d cwd`), never one picked out of `ps` by its command line.
- Run a real hook verb (`nx-hook`, a hook entry's `main`, `session_start`) only inside pytest or with `HOME` and `NEXUS_CONFIG_DIR` both pointed at a scratch directory; measure hook output through `render_session_start`.
- Scan only the exact roots your run wrote to, depth-bounded on shared roots; when a bead or RDR says to scan a whole home or volume, narrow it and correct its text.

**Debugger.** Defaults to opus; pass `model: "sonnet"` for a single failure with a clear stack trace. Conexus agents do not get the shared Serena (their frontmatter denies it: 4 of about 2,900 conexus-agent runs used it in the 30 days to 2026-10-30), so do symbol-level tracing with `/conexus:serena-code-nav` in the main session and put what it finds in the relay. Pass a failing test's error, hypotheses and what was tried in the relay.

**Developer model.** A mechanical bead goes to the same agent (`developer`, or `worktree-developer` for a worktree dispatch) with `model: "haiku"`. Mechanical means all of: the brief names every file to edit by path, says what changes in each, adds no new file, and leaves no design choice (no `UNKNOWN` above). Typical cases are a rename, a string or doc edit, a version bump, a frontmatter flip, or a pin update the brief spells out; a test pin or ratchet fix whose fix still has to be found is not mechanical. Everything else keeps the agent's own model. Label the bead `dev-model:haiku` or `dev-model:sonnet` at dispatch so the two can be compared on completion and review rounds. A Haiku developer whose work fails a review round is re-dispatched on Sonnet, not retried on Haiku. Either Sonnet re-dispatch, after a failed round or after the debugger, also gives the bead `dev-model:redispatched`. An `ESCALATION: Debugger Required` from a Haiku developer follows the escalation rule below like any other; the developer re-dispatch after the debugger resolves runs on Sonnet.

**Developer escalation.** If the developer returns `ESCALATION: Debugger Required` (scan for `<!-- ESCALATION -->`), its circuit breaker fired. Do not re-dispatch the developer. Guard first: `scratch(action="search", query="circuit-breaker-fired-for-<bead>")`. If found, this is the second firing: stop and report to the user that the debugger's fix did not hold and human investigation is needed. If not found, write that scratch entry (tag `escalation-guard`), then dispatch the debugger with the escalation's Failing test, Error, What I tried, Hypothesis and Diagnostic suggestion fields plus scratch entries tagged `failed-approach`. When it resolves, re-dispatch the developer with the debugger's one-sentence root cause, the files it touched, and "do not retry approaches listed under scratch tag `failed-approach`".

**Link context.** When the work references an RDR or bead, seed T1 scratch tag `link-context` before dispatch so patterns the agent stores to T3 auto-link (`/conexus:catalog`). Skip for ad-hoc work.

## Review Rounds (MANDATORY)

Before each reviewer dispatch, write the round marker:

```bash
nx scratch put "review-round bead=<id> n=<N> bar=<the acceptance bar, one line>" --tags "review,<id>"
```

Include `round N of at most 2` in the reviewer's brief (the cap is the `code-review` contract in the nexus wheel's `review-rounds.toml` table; plan audits and RDR gates have their own contracts there). A reviewer that knows
it is a confirmation pass behaves like one (see § Review Gate above, confirmation-pass brief). N >= 3 requires the human to have asked for it in this
session, by name; record the ask in the marker (`asked-by=human`). An
orchestrator may not self-authorize round 3, with ONE carve-out: a
ship-blocking defect INTRODUCED by the fix under confirmation (the
Confirmation Pass exception) may receive exactly one orchestrator-authorized
extension pass verifying that defect's fix, recorded in the marker as
`ext=fix-introduced`. The extension does not renumber the episode; anything
beyond it is round 3 and needs the human.

Counter-metric that travels with this bound (measured on the review
ratchet's history test, 2026-08-17): findings per round must
RISE while rounds per bead FALL. If both fall, the bound is suppressing
recall; about 20% of historical later-round Criticals were pre-existing
defects a confirmation-scoped pass would not have found. Revert to
full-review rounds and surface it, rather than celebrating the speed.

## Scope Discipline (cross-reference)

See [${CLAUDE_PLUGIN_ROOT}/resources/agent-shared/CONTEXT_PROTOCOL.md](../../resources/agent-shared/CONTEXT_PROTOCOL.md) § Scope.
Deliver at the scope intended: a plan or bead graph is a record of intended
work, not a standing order; goal-met is a stop, not a license to continue; a
blast radius exploding mid-flight (more than about 20 tests broken by one
change, or a repair fleet forming) is a stop-and-surface point; narrowing
without a DEVIATION line is still silent scope reduction. Applies to every
dispatch below.

## Parallel-Orchestration Discipline (MANDATORY, multi-arc sessions)

- Fleet size: more than 3 concurrent agents on one bead is a
  stop-and-surface event (see § Scope Discipline above), not a scaling
  decision. It is the signal the change was too big, not a reason to
  parallelize harder.
- Parallel arcs: multiple dev arcs may run concurrently ONLY on disjoint file sets, declared in each brief ("touch ONLY: `<files>`"; name what siblings own). One file = one arc, never two writers.
- Shared files (PENDING_RELEASE.md, CHANGELOG, registration files): the ORCHESTRATOR edits them at commit time; agents never touch them. A per-change changelog fragment (one new file per bead, where the project uses them) is not a shared file: the agent that made the change writes it.
- Parallel halves of one feature (e.g. engine + client): the wire contract is LOCKED verbatim in the design-of-record BEFORE dispatch; both briefs cite it; reviewers verify contract compatibility across the halves.
- Design gate first: when a plan marks an item DESIGN DECISION FIRST, the orchestrator locks the design-of-record in T1 before any code dispatch; deviations from a plan's recommendation need the human's nod, named fallbacks do not.
- Review at every seam: each arc gets the stacked dual review independently; cross-arc integration points get named in reviewer briefs.
- Commit order: arcs commit pathspec-limited in dependency order (lib contract before doc text referencing it), one arc per commit.
- service/ builds: one builder at a time. Share a mutable build-output directory across agents and serialize around it, the way you would a database migration or a generated-code directory — parallelizing it corrupts the build mid-way, it doesn't just race harmlessly. If your project has its own build mechanics (a build-lease script, required env vars, a lint that checks coverage), its own rules or contributing docs carry them; follow those.

## Quick Routing

The pipeline order below is `registry.yaml`'s own `pipelines:` section, not a
second copy — this table restates it for quick lookup; `registry.yaml` is
the one place to change it. `feature`/`bug` there always run BOTH reviewers
(non-interchangeable, see § Review Gate above); an "Implement code" pipeline that omits either one is a stale
drift, not a variant.

| Request Type | Primary Agent | Pipeline |
|-------------|---------------|----------|
| Plan a feature | strategic-planner | -> nx_plan_audit -> architect-planner |
| Implement code | developer | -> code-review-expert -> substantive-critic -> (when coverage needs verifying) test-validator |
| Debug issue | debugger | -> (if cross-cutting) deep-analyst |
| Review code | code-review-expert | -> substantive-critic (always, both reviewers — same gate as "Implement code" above) |
| Research topic | deep-research-synthesizer | -> store_put (direct) |
| Analyze system | codebase-deep-analyzer | -> (if deep) deep-analyst |

For the full routing graph, decision framework, and standard pipelines, see [reference.md](./reference.md).

## Route by shape, not only by task type

The table above routes by what KIND of work it is. It does not route by how
much raw material the work drags through your context. Both axes decide.

### Distill early: an un-distilled result is paid once per remaining turn

An agentic loop re-sends prior tool results as input on every subsequent
turn. So the cost of not distilling is `payload x turns_remaining`, not
`payload`. A 50k dump on turn 3 of a 40-turn session costs far more than
the identical dump on turn 38.

- Decide what the ONE line you need is BEFORE running the command.
  `grep -c` over `cat`; `| head -5` over full output; a `python3` heredoc
  that prints the verdict over a dump you then read.
- Aggression should scale with how much session remains. Early is where
  it pays; late-session sloppiness is nearly free.
- This is not a nexus mechanism. The shell is already the sandbox; the
  distinction is only whether intermediate bytes cross into context.

### Dispatch a subagent for bulk READS, not only for judgment

A subagent's entire transcript stays in its own context; only its return
crosses into yours. That property is independent of whether the task
needs judgment.

| Shape | Route |
|---|---|
| Needs reading many files/outputs, you want only the conclusion | subagent, even if mechanical |
| One known file, one known fact | read it directly; a dispatch costs more than the read |
| Many items, mechanical, output is the answer itself | one shell command, not N tool calls |
| Needs judgment AND bulk reading | subagent (the default case) |

The habitual error is reaching for a subagent only when judgment is
wanted, and doing "find every caller of X and tell me which three
matter" inline, paying full payload for material you discard.

### Restraint is scoped to exploratory and lookup dispatch

Do not delegate work you can finish in a handful of tool calls; a mechanical
sweep that fits in one shell command is one shell command; never dispatch a
subagent to verify your own work.

This restraint does NOT apply to the two-reviewer gate
(`code-review-expert` + `substantive-critic`, mandatory and non-
interchangeable — see § Quick Routing and § Review Gate above) or to independent-state fork fleets
(disjoint files, no shared mutable state). Both do genuinely more than "a
handful of tool calls" worth of independent work, and serializing either
buys no safety — the opposite case, sharing a mutable resource, IS where
serialization is required: see "service/ builds: one builder at a time"
above (§ Parallel-Orchestration Discipline items) for the concrete example.
See § Parallel-Orchestration Discipline for the fleet-size cap that bounds
the second case.

Files in this skill

  • SKILL.md27.9 KB
  • reference.md17.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.