/paddock:herdr-subagentsfrom paddock
Pitfalls and protocol when running sub-agents through herdr instead of the built-in Agent tool. Read before debugging a sub-agent that "finished" without a result.
Ships in paddock. 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.
None: SKILL.md is the whole skill.
Separate processes: nothing is returned automatically. The protocol is artifact-based.
| Native Agent tool | herdr equivalent |
|---|---|
| result injected into parent | read .agent/<role>.md and the branch commits |
| SendMessage to continue | not used: every round is a fresh agent (see below) |
| auto wake-up | run wt spawn in background |
Fresh agent every round. wt spawn never resumes an agent: it opens a new pane, closes the old agent's pane, confirms the name is free, then starts a new agent. A retry is a fresh agent given the original task plus the tail of the failed round's terminal. This follows poteto-mode's rule that interrupted resumes silently drop directives.
Verified pitfalls:
agent prompt --wait returns done even when the agent errored (e.g. API 400). Trust the artifact, then herdr pane read <pane> --source visible for the error.claude asks to trust each new folder. wt spawn fails with agent_not_ready (agent blocked). The user must confirm in the pane; rerunning wt spawn replaces the blocked agent with a fresh one (trust is remembered after the user confirms).pi auth check can say ready while the real run fails. Verify with a real request.agent start needs an existing shell pane; wt splits one if none is free.[a-z][a-z0-9_-]{0,31}, unique among live agents.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dengnaichen/paddock --plugin paddock2 skills in this plugin