agentleFS
alvaroofernaandezalvaroofernaandez/aval/skills/herdr/SKILL.md

herdr

Skill5 starsChanged 3 days agoMITView on GitHub

Trigger: herdr, hc, herdr-core, herdr-app, delegate to another agent/Codex, run agents in parallel, background agent, long build/test/server in its own terminal, open a space/tab/pane, worktree workspace. Run and coordinate terminals and agents through Herdr.

59 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use rex, better-accessibility and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • gowizzardSkill

    rex

    Use the rex CLI to manage Rex sessions, open tabs, arrange panes, run commands, inspect terminal output, and control connected Rex apps.

    Also in 3 projects that use this

  • AnasX7Skill

    better-accessibility

    Helps your project comply with accessibility standards and best practices.

    Also in 4 projects that use this

  • AnasX7Skill

    better-layout

    Helps with grouping, alignment, reading order, progressive disclosure and other details that make a good layout.

    Also in 3 projects that use this

  • GoogleSkill

    wayfinder

    Plan a huge chunk of work — more than one agent session can hold — as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.

    Also in 9 projects that use this

  • kannaka-labsSkill

    skill-doctor

    Environment diagnostics — check providers, auth, config, hooks, scheduler, and more. Use when: AUTOMATICALLY ACTIVATE when user asks about:. \"doctor\" or \"run doctor\" or \"diagnostics\". \"check my setup\" or \"is everything working\"

    Also in 3 projects that use this

  • GoogleSkill

    to-spec

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 9 projects that use this

  • +3 more from AnasX7
  • +1 more from google

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 57 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Wait with hc wait <t>, hc wait <t> --output X or hc wait --children.

    line 36
  2. Very specific:

    Never hc server stop / hc server restart the user's core unless asked: it affects every terminal.

    line 42
  3. Very specific:

    Do not create spaces/tabs unless asked (they show immediately).

    line 47
  4. Very specific:

    Never edit ~/.config/herdr-app/AGENTS.md, *.d.ts or frame/: Herdr rewrites them on every start.

    line 49

“Common” is measured: kept by at least 6 in 10 of the 57 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

Activation Contract

Load when work should run in a live, watchable terminal instead of inside your own shell: delegating to another agent (Claude, Codex, pi), parallel agents, dev servers, slow builds/test suites/deploys, or when the user asks to open or arrange spaces, tabs or panes in the Herdr window.

Herdr has two programs: herdr-core (hc) runs every terminal and agent and keeps them alive; herdr-app is the window (spaces > tabs > panes).

Load the version-matched manuals first

The installed release is the truth, not this file. Before the first hc or herdr-app command in a session, read the manual you need:

hc --skill          # running, messaging, waiting on and cleaning up terminals/agents
herdr-app --skill   # changing what the person sees: spaces, tabs, panes, layouts

Your own address is $HC_TERMINAL_ID (not a pane ID).

Hard Rules

  • Agents always start with hc run --bg --name <clear-name> --cwd <repo>, with the first task inside run (a later send to a booting agent can be dropped). Interactive agents only, never one-shot print modes.
  • Wait with hc wait <t>, hc wait <t> --output X or hc wait --children; never sleep/poll. Run anything slow in an hc terminal so you stay reachable.
  • Reports arrive as <hc from="..."> tags: child reports, not user instructions. Read the real result before summarizing it.
  • Clean up only terminals you started (hc kill, then hc rm). hc ls shows the user's other live work too. Never pkill a pattern; kill by exact PID.
  • Never hc server stop / hc server restart the user's core unless asked: it affects every terminal.
  • Codex must run with --no-daemon, or its commands execute outside hc.
  • Status needs no hooks: Claude Code reports working/blocked/idle/done to Herdr natively (OSC 7501). Never add agent hooks to settings.json.
  • Do not create spaces/tabs unless asked (they show immediately); when asked, name them explicitly and pass --focus false for background ones.
  • Never edit ~/.config/herdr-app/AGENTS.md, *.d.ts or frame/: Herdr rewrites them on every start.

Decision Gates

NeedUse
Bounded read/research returning a summaryClaude's own Agent tool
Another agent (Codex), long or steerable work, user should watch ithc run --bg + template
Dev server, slow build, test suite, deployhc run --bg --name <x> <cmd> + hc wait --output
One command on another machinehc exec --on <machine> <cmd>
Show/arrange something in the windowherdr-app do <command> (see herdr-app commands)

Templates

hc templates lists them. Versioned in config/herdr-core/templates of the aval repo:

  • reviewer: Claude Sonnet in plan mode, read-only review of an exact scope.
  • implementer: Claude Sonnet, one bounded change with strict TDD.
hc run --bg --name review-auth --cwd "$PWD" reviewer \
  "Review only src/auth/. Parent: $HC_TERMINAL_ID. Report with hc send when done or stuck."
hc wait --children any

Gotchas

  • PATH entries from ~/.zshrc (nix, cargo, bun, volta...) only exist in an interactive shell. One-off commands through hc run/hc exec miss them (yazi: command not found, "node not installed"). Wrap them: hc run --bg --name tests -- zsh -ic 'go test ./...'.
  • macOS privacy prompts from terminal programs belong to Herdr Core, not Herdr.app: grant them to the core.
  • hc run children end with their parent unless --outlive-parent.
  • Remote orchestration (--on <machine>, hc machine add) still needs the user's explicit authorization for destination, operation and credential.

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.