About orchestrator-mode
orchestrator-mode is an agent skill for coordinating delegated work across worker agents while keeping the main thread focused on plans and concise reports. It defines dispatch, integration, verification, and handoff practices for scoped or ongoing delegation.
Key features
- 01Scoped or standing delegation modes
- 02Worker selection and task sizing
- 03Structured handoffs and artifact reporting
- 04Parallel work with integration steps
- 05Verification and completion workflow
Use cases
- 01Delegating distinct checks across code areas
- 02Coordinating multi-stage feature work
- 03Keeping research findings in worker artifacts
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ sleeplessv/ relentless-data-skills --skill orchestrator-modeAfter installing, type/orchestrator-modein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
plugin.jsonREADME.mdreferences/reference.mdDetails
From the project READMEOrchestrator mode
The main thread coordinates; workers read, search, edit, run commands, and verify. Every file, search result, and command output that enters the main thread stays there for the rest of the session, so bulk material lives in worker contexts and the coordinator holds plans, decisions, and compact reports.
Activation
- Scoped. "Use subagents to check X and Y" dispatches X and Y. Outside those tasks the main thread works normally.
- Standing. "Orchestrator mode" or "delegate everything" covers every request until the user ends it, in any words. A direct request to do one thing in the main thread is a one-off; the mode resumes after it.
Each dispatch pays for a fresh start and returns only a summary. When a request is too small to repay that, say so and offer to answer directly.
What the coordinator does itself
In standing mode, and for the named tasks in scoped mode, the coordinator calls only:
- spawn, message, resume, wait, and stop tools for workers;
- the plan or todo tool;
- skill loading, including a file read of a skill's SKILL.md or a reference it points to;
- tools that ask the user a question or report to them.
Every other action is a dispatch, including a quick look at one file. A returned artifact path goes to the next worker that needs it; the coordinator acts on the returned summary and, when the summary falls short, resumes that worker with the specific gap. Environment hints that steer toward shell or file tools ("use Bash wherever it can do the job") describe how workers act; pass them on in handoffs. If no spawn tool exists, report that and follow any direct-work fallback the user already authorized.
Choosing workers
- Locate files or code, answer "where is X", or skim many files: the read-only search agent. It finds code; reviews and audits go to a general worker.
- Change or run anything (edits, commands, tests, queries, web research): the general worker, or a specialist the roster lists for that domain, such as SQL or CI.
- Verify another worker's output: a different worker from the writer, read-only where the harness supports it.
- Fork (a worker that inherits this conversation) only when the task needs that history. It still gets a task, owned paths, and a return contract.
Leave model and reasoning effort unset unless the user or a consumer skill sets them. When a scripted multi-agent workflow tool is exposed and its own opt-in rules are met, use it for a wide, uniform fan-out such as one check across many files; dispatch directly when each step depends on the last.
Sizing
- A lookup is one dispatch.
- A comparison, or a change across two areas, is two to four parallel dispatches.
- Feature-sized work runs in waves, one per dependency level.
Give one worker several related tasks in the same area; run different areas in parallel. Keep at most four workers running, nested ones included, unless Harness notes gives this environment a higher limit. A spawn past the limit fails rather than queues: wait for a completion, then dispatch it. Keep dispatches flat; before giving a subtree its own coordinator, read Nesting.
Workflow
- Plan. Split the request into dispatches by area, scoped to what the user asked. Report problems found outside that scope to the user and leave them out of the plan. Choose one run directory at an absolute path every worker can write, outside the repository (the session scratchpad when one exists). Keep the plan in the plan tool or as a numbered list in the reply, and report changes rather than repeating it. Done when every dispatch has a task, owned paths, and a done-when, and the run directory is named.
- Dispatch. Launch independent dispatches together in one message, each with a full handoff. Done when every dispatch in the current wave is running.
- Collect. Wait through completion notifications or the wait tool. Resume a worker with the specific gap instead of restarting its investigation. When a retry fails the same way, diagnose or change approach; after three failed attempts on one dispatch, report it as blocked. Keep independent work moving while a dependency waits on the user. Done when every worker in the wave has returned or is reported blocked.
- Integrate. One writer handles small edits. Writers that share a checkout or an external resource run one after another. Parallel code writers each get a worktree and branch from a pinned base SHA, and one integration worker merges them; read Parallel writes before creating worktrees. Done when all accepted work sits in one tree and, for parallel writers, each branch and head SHA is recorded.
- Verify. Each writer reviews its own diff and runs the checks that cover its change. Dispatch a separate verifier for merged parallel work, schema or data changes, architectural changes, or multi-file changes that need a different decision at each site. The verifier reports problems, the writer fixes them, and a verifier checks again. In a nested run, verify the seams between children and reuse their evidence for the parts they own. Done when every change has evidence: a verifier's pass or, for a small edit, the writer's diff and check output.
- Report. Lead with the outcome, then returned artifact paths or IDs, verification
results, and open limitations, at the length the user needs to act on them. When the
request was a question, the answer is the deliverable. The run directory
dies with the session, so when a run produced research worth reusing, have a worker
save it to the repo's
docs/research/(or the project's equivalent) and report that path. Once the run's PRs merge, offer to remove its worktrees and branches, following Clean up or a branch-cleanup skill such ascleanup-merged-brancheswhen installed. Done when the requested work is complete or a concrete blocker stops further authorized progress.
Handoffs
A worker sees its dispatch prompt and the project instructions its harness loads, such as CLAUDE.md or AGENTS.md. It cannot see this conversation, earlier reports, or files other workers read, and it cannot ask the user. Write each handoff as its complete briefing:
- Task with its done-when, owned paths or resources, and permissions already granted.
- Goal: why the work matters, for implementation and verification tasks.
- Decisions so far with their reasons, and open questions to flag rather than guess.
- Prior findings, quoted word for word from the returned summaries. Paste the parts this task needs and name what was left out; for a long artifact, give its path and the lines or section to read. Redact secrets and personal data.
- Run directory path, to create if missing, and the skills to load, by path.
- Return contract: fields such as
status,files_changed,tests_run,verification_evidence,decisions_made,open_questions, andartifact_path.
Workers write large findings and command output to an artifact in the run directory and
return a short summary with one index line per artifact entry. Carry a running list of
decisions into every handoff after the first, trimmed to what that task touches. Workers
put questions for the user in open_questions and continue independent work.
Composition
A consumer skill may tighten these rules for its task, such as isolating even a single ticket in a worktree, or replace one where it says so, such as letting an integration worker that wrote none of the changes act as the verifier. Where it says nothing, this skill applies.