herdr-orchestrator
A Claude Code plugin that splits a big dev task into parallel workers, runs them in visible herdr panes, checks their work, and has an independent reviewer look at the result.
You give one request. The plugin:
- reads your code and splits the task into waves of workers (workers in the same wave run in parallel, later waves wait for earlier ones),
- shows you the plan and waits for your OK,
- opens one herdr pane per worker and starts a Claude Code agent in each,
- waits for each wave, verifies it, and starts the next wave,
- optionally starts a separate reviewer agent (only if you ask), then closes the run.
Based on amirlehmam/wmux-orchestrator (MIT), ported from wmux to the herdr CLI.
Install
claude plugin marketplace add cheolmin/herdr-orchestrator
claude plugin install herdr-orchestrator@herdr-orchestrator
Optional: the live dashboard pane is a herdr plugin from the same repository.
herdr plugin install cheolmin/herdr-orchestrator
Update later with claude plugin update herdr-orchestrator@herdr-orchestrator and herdr plugin update.
Requirements
| Need | Why |
|---|
| Claude Code | runs the orchestrator and the workers |
| herdr 0.9+ | panes, agent control, messaging |
| Node.js, bash | the helper scripts (on Windows, Git Bash is enough) |
| a git project | optional; enables the "changed outside its zone" check |
Use
Start Claude Code inside a herdr pane, then:
/herdr-orchestrator:orchestrate <what you want built or changed>
Plugin skills are always called as /<plugin>:<skill>, so the name is fixed. You can also just describe the job in words and ask for the orchestrator.
Add options in plain words, in the same sentence:
| Say this | Effect |
|---|
Use ccc-sonnet-skip for the workers. | Workers are started with that launcher (see below) |
Turn on the dashboard. | Opens the live dashboard pane at the bottom |
Review it. (or "리뷰도 해줘") | Starts an independent reviewer after the last wave (off by default) |
Go ahead without asking. (or "확인 없이 진행") | Prints the plan but skips the "Validate this plan?" question |
Example:
/herdr-orchestrator:orchestrate Build a calculator module. Two workers in wave 1
(calc.js and format.js), one worker in wave 2 writes test.js. Use ccc-sonnet-skip
for the workers. Go ahead without asking.
The orchestrator answers in the language of your request (a Korean request gets Korean plans, progress lines and a Korean summary). Code, file names, commands and agent names stay as they are. What workers and scripts read (prompt files, say.sh messages) stays in English.
If you are not inside herdr, the plugin says so and falls back to Claude Code's built-in subagents (invisible, no panes, no messaging between workers).
How it works
1. Plan
The orchestrator reads the project, then writes a plan file (JSON): the task, the working directory, the waves, and for every worker an id, a label, a subtask, and its write zone (files).
plan-tool.js check validates the plan before anything starts:
- every worker has an id, label, subtask and a write zone,
- at most 5 workers per wave,
- two workers in the same wave must not write the same file (
src/* overlaps src/app.js; the plan is rejected and must be fixed, merged or split across waves).
plan-tool.js init then creates the run directory and state.json. The model never writes these by hand, which removed a class of shell-quoting mistakes.
2. Coupling and contracts
Workers in one wave can each be correct alone and still not fit together (an HTML id that JS does not know, a function name that differs). For such waves the orchestrator picks one of:
- merge the coupled work into one worker,
- put one worker in an earlier wave so the later one reads real names from a real file,
- write a shared contract file (
wave-N-contract.md) that every worker reads first.
3. Spawn
spawn-agents.sh creates the panes and starts the workers:
- panes are split alternately right / down so none becomes too narrow,
- the orchestrator's own agent is named
orch-main so workers can reach it,
- each worker gets a deterministic name:
o<orch-id>-<agent-id> (for example oorch-882-agent-a; agent-names.sh prints them),
- a worker is started either with your launcher (
ccc-sonnet-skip, typed into the pane's shell) or with herdr agent start --kind claude,
- the "trust this folder" dialog is answered automatically only for that exact dialog; any other blocked dialog is left for you,
- each worker gets a short pointer prompt; the full mission is in
<run-dir>/<agent-id>-prompt.md.
A snapshot of the project's changed files is taken before each wave (used by the zone check).
4. Wait and verify