agentleFS
askprateekaskprateek/skills/skills/herdr-orchestration/SKILL.md

herdr-orchestration

Skill2 starsChanged 2 months agoMITView on GitHub

Orchestrate multiple AI agents in parallel through herdr. Use for multi-worker or multi-file coding tasks, parallel implementation waves, isolated worktrees, or when the user mentions herdr or multi-agent orchestration.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. compozy/compozy★ 2.9ksame name
    2. pedronauck/skills★ 649same name
    3. dougcunha/TokenHound★ 3same name
    4. kaichen/agent-skillset★ 1same name
    5. phntm7/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Never merge to main without explicit user approval.

    line 90
  2. Distinctive:

    Never commit scratch artifacts.

    line 91
  3. Distinctive:

    Never reuse a delivered integration branch.

    line 92
  4. Very specific:

    Never treat worker completed status as verification — require sentinel, push evidence, integration, and tests.

    line 93
  5. Very specific:

    Never edit herdr internal state or ~/.omp/agent/extensions/herdr-omp-agent-state.ts.

    line 95

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Standard Herdr Orchestration

This root file holds what every role shares: the hierarchy, the scripts, the herdr CLI reference, the sentinel vocabulary, and the hard rules. Read it first, then read your role file:

You areAlso read
Main (user-facing)skill://herdr-orchestration/roles/main.md
Admin (orchestrator)skill://herdr-orchestration/roles/admin.md
Worker (implementation / review)prompt from Admin; source is skill://herdr-orchestration/roles/worker.md

Hierarchy

Main → Admin → Workers → Admin → Main. No layer skips.

  • Main — user-facing; routes instructions to Admin. Full role: roles/main.md.
  • Admin — orchestrator on the main branch, no worktree; dispatches workers, reports to Main. Full role: roles/admin.md.
  • Implementation worker — one worktree/branch/pane; reports to Admin. Full role: roles/worker.md.
  • Review worker — read-only, no worktree; reports to Admin. Full role: roles/worker.md.
  • Checker — one per active worker, owned by Admin; observes only, reports to Admin.

Scripts (prefer these over raw herdr)

Skill-local wrappers live in scripts/ next to this file. Each fails loud (clear message + nonzero exit, never silent empty output) and prints a machine-parseable last line. Call by the skill's own absolute path so any agent can use them even without loading this skill — resolve <skill-root> to the directory containing the SKILL.md you are reading (install location varies: skills/herdr-orchestration in a checkout, a managed-skills path, etc. — never assume a fixed path like ~/.omp/agent/skills/…) and set:

S=<skill-root>/scripts
ScriptPurposeUsage
herdr-workercreate worktree + launch worker OMPherdr-worker <branch> <base> <label> <model> <repo>
herdr-launchlaunch OMP in a pane (Admin / non-worktree)herdr-launch <model> <cwd> [--beside <pane>] [--label <text>]
herdr-saysubmit a prompt to a running OMPherdr-say <pane> <prompt...>
herdr-awaitblock until a pane is idle, then read it (Admin→downstream only)herdr-await <pane> <lines> <timeout_s>
herdr-watchread an agent pane's recent outputherdr-watch <pane> <lines>
herdr-paneslist panes as a tableherdr-panes [tab_id|workspace_id]

herdr-worker and herdr-launch print PANE=… … as their last line — capture the pane id from it. The raw CLI reference (skill://herdr-orchestration/references/cli.md) is the fallback for the long tail.

herdr-worker and herdr-launch place the agent under the project's own workspace (worker: pane move into it, auto-closing the throwaway per-worktree workspace; launch: tab create --workspace derived from the cwd) and title its tab with the label — so agents appear named alongside the project, never stranded in the orchestration workspace. Always pass a meaningful label.

No agent start needed: herdr detects the OMP agent from pane content, so launching omp --model X via herdr pane run <pane_id> "omp --model <model>" INTO an existing pane (the worktree create root, tab create root, or a fresh pane split) is fully tracked and observable via herdr agent read. agent start only bundles pane-create + launch + an optional --name — and agent start --tab adds an unwanted second pane beside the root. The herdr-launch / herdr-worker scripts already do this correctly; prefer them over raw agent start.

Raw herdr CLI fallback reference: skill://herdr-orchestration/references/cli.md

Sentinels

Workers signal state to Admin with one of three sentinels; Admin and checkers classify on these exact strings:

  • WORKER <ID> DONE: <sha> — slice complete at the given commit.
  • NEEDS-INPUT <ID> — <question> — a decision is required.
  • BLOCKER <ID> — <what> — progress is blocked.

Hard rules

  • Admin never edits source files.
  • Workers report to Admin only — never to Main.
  • Main never blocks on Admin or workers. Main dispatches and returns to idle; Admin wakes it by writing into Main's pane. Only the user blocks Main.
  • Admin never blocks waiting for workers — use checkers or herdr-await.
  • herdr worktree create forks herdr's active project, not the shell cwd — so the repo is a REQUIRED positional (herdr-worker <branch> <base> <label> <model> <repo>, herdr-launch <model> <cwd> …). No default: a missing repo errors instead of forking the wrong project.
  • Never merge to main without explicit user approval.
  • Never commit scratch artifacts.
  • Never reuse a delivered integration branch.
  • Never treat worker completed status as verification — require sentinel, push evidence, integration, and tests.
  • Never edit herdr internal state or ~/.omp/agent/extensions/herdr-omp-agent-state.ts.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.