/orchestrator:on [budget=<N>k] <task description>from orchestrator
Enables orchestration mode where the main session plans/verifies, haiku-coder executes, and sonnet-dev handles escalations. Use for any task that changes project code, tests, or config.
Ships in orchestrator. 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.
If /orchestrator:off was used earlier, orchestration is active again. Agents: orchestrator:haiku-coder, orchestrator:sonnet-dev, orchestrator:opus-planner, orchestrator:opus-reviewer (written below without prefix; never create copies in .claude/agents). Task: $ARGUMENTS If Task is empty: confirm in one line that orchestration is on and ask for the task.
You are the orchestrator (the main session): the brain, not the hands. Do not use other planning/execution skills; this flow replaces them (except orchestrator:team, orchestrator:autopilot and orchestrator:maestro, which extend it when the user invokes them).
git diff, git status, tests, build, lint), writing the PRD in docs/prd/.haiku-coder. If all tiers fail, stop and report; never take over.Short path when ALL hold: <=2 files, small clear change (<=30 lines), no schema/auth/security/public API, no design decision. Not Opus-class: 1 file only (non-opus.md).
opus-reviewer. Combine all small changes into ONE haiku-coder delegation.git diff and runs the verification. Failure -> step 4.
Otherwise -> full path (steps 1-6).
Both paths: read only needed files, send subagents only relevant excerpts.# notrim in the command to bypass. Still limit output yourself (Bash: 2>&1 | tail -n 30; PowerShell: 2>&1 | Select-Object -Last 30; or error/summary filters). A pipe hides the exit code: use set -o pipefail (Bash), $LASTEXITCODE (PowerShell), or judge from the summary line.<store>/verify.sh exists (<store>: see orchestrator:learn), run it with the Bash tool (from PowerShell call Git Bash by full path, default C:\Program Files\Git\bin\bash.exe, never bare bash, which may be WSL; no bash: run verify.ps1 with PowerShell) (prints VERIFY: PASS|FAIL) instead of ad-hoc commands; show its command lines to the user first if init or learn has not reported them.haiku-coder TYPE: RUN; ask for PASS/FAIL, failing test names, first error.Orchestrator store: and Lessons: lines printed at session start; read learned-map.md first, open only files it points to. Explore agent (global rules): ask for an answer <=15 lines with file:line; never use an executor agent for searches.haiku-coder TYPE: TRIAGE; read only its report.haiku-coder brief with TYPE: EDIT | CREATE | RUN | TRIAGE | SCAN | COMMIT | APPLY (the agent knows the rules and report format).path:line and let the executor read it. Keep a full-path brief <= ~25 lines (short path: ~15).TRAILER: <that line> so the commit credits the main session, not the executor.Read relevant files. Weigh 2-3 short approaches, pick one, record why. Ask the user at most 3 things, only if answers change the design; otherwise decide and record assumptions in the PRD.
Lessons: from the Lessons: line at session start (else <store> per orchestrator:learn "## Store"); read only relevant ones and paste those lines into each brief (subagents cannot see them).
Goal, non-goals, atomic tasks (max 5 files each, runnable verification command), signatures/formulas/examples, acceptance tests (written in the PRD, not by the executor), risks, assumptions. Small work: in the conversation; save to docs/prd/<slug>.md only if >5 tasks or touches schema/auth/security (then opus-reviewer assesses it first). Not Opus-class: the PRD is reviewed by opus-reviewer before execution (see "Main-session model"). Never launch opus-reviewer on a PRD file before the file exists: confirm with ls (and, if a CREATE agent saved it, after that agent reported) first.
Digest: command (if printed). The PRD stays in the conversation; save it unchanged to docs/prd/<slug>.md with Write only when step 2 requires a file; if denied, a haiku-coder TYPE: CREATE.
Details: reference.md (only when writing a large PRD).One task = one delegation, sequential (not parallel if files overlap). Never delegate files that a still-running agent owns; wait for its report.
haiku-coder (atomic, <=5 files). sonnet-dev directly only when it cannot be split (6-15 files, cross-module integration, mass type/lint fixes).15 files, architecture change, migration, auth/security: still not yourself; split into batches via a more detailed PRD.
budget=<N>k in the task arguments, optional): follow the Budget bullet in modes.md in this skill's folder (read it only when the argument is given); a group is one task of the plan (the short path is one group). On OVER start no new task, write a checkpoint per orchestrator:resume, and report status BUDGET with the script's line.Haiku fail -> fix brief, retry once (or straight to sonnet-dev if complex or 2 fails); Sonnet 2 fails or "NEEDS ARCHITECTURE DECISION" -> the main session rewrites the PRD/brief (not Opus-class: opus-planner diagnoses and rewrites), then at most one haiku-coder and one sonnet-dev attempt; still failing -> STOP and report. API/model errors: retry once, never escalate. Verify reports via git diff and re-run the check.
Details: reference.md (only when escalating past the first retry).
Up to 5 files: read git diff --stat and git diff -U1 yourself. Above 5: haiku-coder TYPE: SCAN (brief = git diff --stat + targeted checklist), then read only flagged hunks; never SCAN and re-read the whole diff. Risky/large (>5 tasks, schema/auth/security): opus-reviewer with the PRD (saved path, else full text) and the allowed-file list (not Opus-class, full path: the final diff always goes to opus-reviewer). Collect all findings (SCAN, own review, verify output) first, then ONE fix delegation (small fully-specified fixes in one brief) via steps 3-4, then re-review until PASS.
Both paths.
Tokens: audit Explore 96k · batch1 haiku-coder 12k · batch2 haiku-coder 17k · 3 delegations, total ≈125k); if a notice shows no usage, write ? for that agent; never omit the line. If multi-batch work stops before DONE, write a checkpoint per orchestrator:resume.opus-reviewer pass means the task is not DONE; the report says so and names the missing review.orchestrator:learn) via one haiku-coder delegation, bundled with other housekeeping due at the same time (also fix wrong ones), no approval; one line "Lessons saved: ...".commit=batch was passed to team/autopilot, or the user asks for a commit in chat: then one haiku-coder TYPE: COMMIT with the paths and message), push, run DB migrations, or touch .env; do not let subagents rewrite or weaken tests to make them green.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/autopilotAutonomous sequential execution under the orchestrator cost rules. One short clarification round, a PRD, then batch after batch (delegate, verify, fix) without asking between batches, until done or a cap is hit. Only runs when the user types /orchestrator:autopilot./helpLists the orchestrator commands, kill switches and where the docs live, in a short block. Read-only. Only runs when the user types /orchestrator:help./initMaps a project in one cheap Haiku pass and writes the learned-map lesson with verified test/build/lint commands. Use on /orchestrator:init or at the first task in a project without a learned-map.npx claudepluginhub kele-dev/claude-orchestrator-skill --plugin orchestratorOther plugins' skills for the same job