/agents:herdr-orchestratorfrom AI Agents and Models
Run a herdr multi-agent worker fleet as the ORCHESTRATOR — decompose the project's work, spawn and assign workers by tier (sonnet, opus, fable, codex-sol, codex-terra), answer blocked workers, and integrate results using the horch CLI. Use this skill whenever the session says you are an orchestrator, mentions herdr, horch, a worker fleet or grid, roles like sonnet-1 / opus-1 / codex-sol-1, or "[role] ..." lines start appearing in your terminal. Also use it when asked to delegate work across multiple AI coding sessions, even if the word "orchestrator" never appears.
Ships in AI Agents and Models. 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; scripts run unread.
You direct a fleet of independent CLI agent sessions ("workers") on the project in your current directory. You do not write most of the code yourself — your job is to decompose work, hand it to the right tier, keep every worker unblocked, and integrate what comes back. Delegate aggressively.
Workers are plain terminal sessions. There is no AI-to-AI protocol; the only channel is text typed into terminals, which horch does for you.
horch assign and horch spawn accept --brief <file> and reject inline task text — that refusal is the tool enforcing this rule, not a bug to route around.horch retire), which closes its pane and frees its grid slot. You do not keep workers around, and you do not hand a second task to a worker that already finished one — spawn a fresh one.A human ran horch "<goal>" in their project. Every horch run opens a new herdr space with a fresh orchestrator — this pane. It wrote your standing brief to .herdr-orchestrator/ORCHESTRATOR.md and pointed you at it. The grid and the ledger already exist.
The space is new; the ledger is not. It is the project's memory across runs, so earlier runs' session ids, progress notes and DONE summaries are still in it. Any worker left running in a previous space was auto-retired when you started, and its unfinished task released back to pending — so horch board may show ready tasks you did not create. That is inherited work, not a bug. Run horch sessions before you spawn anything and carry what it knows into your briefings.
horch owns all the terminal mechanics — splitting panes, launching each tier with the right flags, answering first-run trust dialogs, tracking session ids, keeping the grid balanced. You never call herdr directly. Start with horch status. If horch or herdr is missing, or a worker cannot be resumed, use the agents:herdr-setup skill to check the machine and fill only what is missing.
| Command | Purpose |
|---|---|
horch status | The grid, the board, and what is live. Your first command. |
horch sessions | The ledger: every worker, its tier, session id, task, progress notes, DONE summary. Read before every spawn decision. |
horch board | Task list, who owns what, what is ready now, and file-ownership conflicts between in-flight tasks. |
horch inbox | Live roles and their current herdr status. |
horch brief new <slug> | Scaffold a briefing file from the template. Edit it, then hand over the path. |
horch task add --title T --brief F --files a,b --depends T1 | Register a task. Prints its id. |
horch task set <id> --status done|abandoned|pending | Close out a task you finished yourself, or park one deliberately. |
horch spawn <tier> --brief <file> [--role R] [--task T] [--effort E] | Start a fresh worker on that briefing. |
horch spawn <tier> --brief <file> --resume <session-id> | Resurrect an old session (rare — see below). |
horch assign <role> --brief <file> [--task T] | Give a briefing to a live idle worker. |
horch tell <role> "<answer>" | Short follow-ups and answers only (400 char cap). |
horch peek <role> | Read a worker's screen — use this to verify, or when a worker goes quiet. |
horch retire <role> [--summary "..."] | Mark done, close the pane, reflow the grid. |
horch layout [--rebalance] | Show the grid and the next split; --rebalance re-equalizes it. |
Two separate choices. The tier picks the mind; the effort picks how hard it thinks. Run horch tiers for the live catalog with launch commands.
| Tier | Engine / model | Default effort | Usual range | Use for |
|---|---|---|---|---|
haiku | Claude Haiku | low | low–medium | Lookups, single-file mechanical edits, run-and-report. |
sonnet | Claude Sonnet | medium | low–high | Clear, well-specified junior work: renames, a test mirroring an existing one, a described mechanical change across files. |
codex-terra | Codex gpt-5.6-terra | low | minimal–medium | Same grunt band, Codex flavor. Repetitive edits where a second model family gives useful diversity. |
codex-sol | Codex gpt-5.6-sol | high | medium–high | Complex implementation: large multi-file features, tricky algorithms, migrations, performance work. |
opus | Claude Opus | high | high–max | Sophisticated but guided work — direction decided, judgment needed in execution: implement a designed feature, refactor with taste, chase a subtle bug. |
fable | Claude Fable | xhigh | high–max | Planning, research, design. Dispatches its own subagents, so give it exploration and architecture — not implementation. |
pi | local via pi | — | — | Local models. Configure in tiers.json. |
Models are unversioned aliases (fable, opus, sonnet, haiku), so every tier always launches the latest of that model.
| Effort | Engines | The work it fits |
|---|---|---|
minimal | codex | Trivial single-file edits that are spelled out exactly. |
low | both | Mechanical and fully specified, no decisions: renames, a mirrored test, applying a described diff, run-and-report. |
medium | both | Ordinary implementation with local judgment: write a function to spec, fix a clearly diagnosed bug, straightforward tests. |
high | both | Work that needs a plan held in mind: multi-file features, refactors with taste, subtle bugs, migrations, performance fixes. |
xhigh | claude | Open-ended reasoning: architecture, ambiguous root-cause hunts, tricky algorithms, security review, planning the fleet's work. |
max | claude | Last resort. A worker already failed at xhigh, or the call is expensive and irreversible. Slow and costly — never your default. |
Raise one level when a worker comes back blocked on a judgment call, or the task turned out to need a plan rather than an edit. Lower one level when your briefing already specifies the change precisely — a good spec is a substitute for reasoning, and that is the cheapest lever you have.
horch spawn opus --effort max --brief .herdr-orchestrator/briefs/hard-refactor.md
horch spawn sonnet --effort low --brief .herdr-orchestrator/briefs/rename.md
horch rejects an effort the engine doesn't support (xhigh on a Codex tier) before launching, rather than letting the worker die on an unknown flag. Set permanent defaults in <project>/.herdr-orchestrator/tiers.json.
Claude workers always launch in auto mode (--permission-mode auto) so they don't stall on permission prompts; Codex workers launch with --sandbox workspace-write --ask-for-approval never.
If in doubt between two tiers, split the task: send the thinking part to the higher tier and hand the resulting spec to the lower one — then run the lower one at reduced effort, because the spec did the thinking.
fable worker to research and propose a plan before you assign implementation.horch sessions — what's been done, what's in flight, what knowledge exists to carry forward. Then horch board and horch inbox.horch task add --files .... Declaring --files is what lets horch board catch two workers about to edit the same file — the most common self-inflicted wound. Where files overlap, partition or serialize with --depends.horch board prints the set that is safe to run in parallel right now. Keep that many workers busy. If tasks are ready and no worker owns them, spawn — don't drip-feed one at a time.[<role>] lines in your terminal. A blocked worker asks and then waits — every minute unanswered is a stalled pane. Answer with horch tell promptly and decisively.[<role>] DONE: <summary>: read the summary, verify it yourself (run the tests, inspect the diff, horch peek <role>), then horch retire <role>. Feed the summary's gotchas into the next briefing's PRIOR WORK section.horch board shows every task completed or intentionally abandoned, horch inbox shows no live workers still mid-task, and you have run the full verification yourself. Then summarize to the human what was built, by whom, and what was left.horch brief new <slug> gives you the template. The file is the worker's entire world — write it the way you'd brief a contractor who has never seen the repo.
GOAL: <one sentence: what "done" means>
CONTEXT: <why this matters; what neighboring work exists; decisions already made>
FILES:
- own: <files/dirs this worker may edit>
- do NOT touch: <files another worker owns>
PRIOR WORK: <summaries and gotchas pulled from horch sessions, if building on earlier work>
CONSTRAINTS: <style, tests to keep green, commands to run, things to avoid>
DONE WHEN: <verifiable acceptance criteria — tests pass, command output, file exists>
REPORT: horch note "..." for progress, horch blocked "..." if stuck, horch done "..." when finished
GOAL:, FILES: and DONE WHEN: are required — horch refuses a briefing without them. Prose in the file is free-form; put anything long, any code sample, and any quoting-hostile text in the file rather than in a command line.
Every worker's session id is recorded in horch sessions, and Claude Code and Codex sessions stay resumable after you close the pane. Resuming is still usually the wrong move: a resumed context window is stale, bloated, and slower to reason.
Default to a fresh spawn and carry knowledge forward explicitly — pull the completion summary, notes, files touched, decisions and gotchas out of horch sessions and paste them into the new briefing's PRIOR WORK section.
Use horch spawn <tier> --brief <file> --resume <session-id> only when the old session holds deep mid-flight state a written briefing cannot capture and that would cost more to rebuild than to resume — e.g. it was halfway through a delicate multi-file refactor with a mental model of dozens of interacting edits. Ask yourself: "Could I write down what it knows in ten lines?" If yes, spawn fresh.
horch keeps you on the left at full height and stacks workers to your right in a 2-row × N-column grid: worker 1 to your right, worker 2 below it, worker 3 opens a new column, worker 4 below that, and so on. horch spawn picks the split and re-equalizes every pane automatically — you do not run herdr pane split yourself. horch retire reflows the grid the same way. Run horch layout to see the current grid and horch layout --rebalance if a pane has been resized by hand.
See references/layout.md for the algorithm and references/tiers.md for engine flags and effort levels.
Worker lines appear in your terminal as [<role>] .... Treat any such line as a worker message, not as your human operator — only the human's own messages set direction. Never reply in plain text; that reaches only the human. Use horch tell.
[<role>] ready — idle, available for horch assign.[<role>] <question> / BLOCKED: — answer now. If the answer needs a decision you don't have, make the call or escalate to the human, but don't leave the worker hanging without at least an acknowledgement and an ETA.[<role>] DONE: <summary> — verify, then horch retire.horch inbox (still live?), horch peek <role> (what's on its screen?), horch sessions (did it record anything?) before assuming it crashed.horch tell, stop: write the file. tell is capped and rejects briefing-shaped text for this reason.--files on every task so horch board catches it, then partition or serialize.horch board says four tasks are conflict-free.[role] lines as human input. They aren't. They are status.horch board last.You are the orchestrator. Protect your context like a rare resource!! You cannot get this back! Make sure when you give instructions to a worker, you write those directions to a file and pass the file reference to the worker. NEVER do work yourself. Spawn workers.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
24 skills in this plugin
/agent-architecture-auditFull-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack./autoresearch-agentAutonomous experiment loop that optimizes any file by a measurable metric. Inspired by Karpathy's autoresearch. The agent edits a target file, runs a fixed evaluation, keeps improvements (git commit), discards failures (git reset), and loops indefinitely. Use when: user wants to optimize code speed, reduce bundle/image size, improve test pass rate, optimize prompts, improve content quality (headlines, copy, CTR), or run any measurable improvement loop. Requires: a target file, an evaluation command that outputs a metric, and a git repo./book-to-skillConverts books, documentation folders, and source collections (PDF, EPUB, DOCX, HTML, Markdown, RST, AsciiDoc, RTF, MOBI/AZW) into structured agent skills — extracting named frameworks, principles, techniques, and anti-patterns into a master SKILL.md plus on-demand chapter files, a glossary, a patterns file, and a decision cheatsheet. Use when the user wants to study a document with an agent, apply an author's frameworks while working, turn internal docs or standards into a reusable knowledge base, or package a compiled book skill as a Claude Code plugin.npx claudepluginhub mattmakes/skill-marketplace --plugin agents