herdr
Control Herdr when the user explicitly asks, infer a fresh Pi destination in an existing tabbed workspace or a new workspace, or keep the current pane…
Skill by ryanmazzolini
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ryanmazzolini-herdr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/herdr
What's inside
- Skill name
herdr- Description
- Control Herdr when the user explicitly asks, infer a fresh Pi destination in an existing tabbed workspace or a new workspace, or keep the current pane isolated while cleaning completed ticket work. Requires HERDR_ENV=1.
- License
- MIT
- Instructions
- 43 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- pi-session-transfer.md · references/
SKILL.md (first lines)
# Herdr
Herdr is the terminal runtime. Use its CLI to inspect and control the workspace, tab, pane, and agent topology the user requested.
## Enter Herdr
Before issuing a control command, verify this agent owns a Herdr-managed pane:
```bash
test "${HERDR_ENV:-}" = 1
```
If the check fails, explain that the current agent is outside Herdr and stop. Control only the Herdr session that injected the current pane IDs.
Treat the installed binary as the command reference. Run `herdr --help`, then the relevant command group such as `herdr workspace`, `herdr pane`, or `herdr agent`. Reserve bare `herdr` for an explicit request to open or attach the TUI because it is not a discovery command.
Read opaque IDs and state from command JSON. Target the calling pane with `--current` or `$HERDR_PANE_ID`; target every other resource with an explicit returned ID. `herdr pane current --current` identifies the calling pane, not the pane the human currently has focused.
## Control topology
Before creating, moving, focusing, or closing terminal resources, state the intended topology when the user has not already approved those exact changes.
Treat focus as live human input:
- Run background operations by ID with `--no-focus` or an agent-aware command. Do not record and later restore focus.
- Focus a resource only in direct response to a current, explicit human request. Issue that focus change once; do not reassert it if the human moves elsewhere.
- The calling or source pane is not implicitly focused.
Treat focus and closure as separate decisions. Before closing anything, inspect current topology and stop if the approved target or surrounding state changed. Close only an exact pane, tab, or workspace the human explicitly approved closing. Creating or focusing a destination never authorizes closing its source. Keep the Herdr server and unrelated panes running. After an operation, verify the approved topology without changing focus, then report the result concisely.
## Retire ticket work
When the user invokes `ticket-workspace-cleanup` from a Herdr pane, perform that cleanup in the calling pane. The Git, process, and filesystem cleanup may remove its working directory; pane cleanup remains a human action.
Do not create or reuse a handoff destination, prompt another agent, send cleanup or closure commands to another Pi session, change focus, or close a pane. Keep the calling Pi alive. After the approved local cleanup and any separately approved upstream cleanup are verified, report the calling pane ID as ready for manual closure and stop without running more commands from a removed working directory.
## Continue Pi work
When continuing active work in a fresh Herdr session, read [references/pi-session-transfer.md](references/pi-session-transfer.md). Infer an existing destination workspace when one unambiguously represents the project or activity; create a named tab there instead of creating another workspace. Choose the workspace independently of the cwd, which may be a shared checkout, an individual worktree, or a ticket folder containing worktrees. None requires a separate Herdr workspace. A ticket, branch, worktree, or ticket folder is not required. Ask when the destination is unclear, and create a workspace only when the user chooses one.
Do not use this flow to retire completed work. Start a fresh Pi session with a concise continuation brief. The default preserves the source pane and human focus. Focusing the destination or closing the source requires the distinct approval described in the reference.From ryanmazzolini/pi-skills, MIT.
More from ryanmazzolini/pi-skills
- 0.567score
daily-report
ryanmazzolini
Set up, create, update, or repair evidence-based daily work and personal reports from local Git, GitHub, and Shortcut activity in an Obsidian vault.
SkillAFreshness: AClaude Code +9 - 0.565score
herdr-automations
ryanmazzolini
Schedule recurring Pi work with the Herdr automations plugin, or change, pause, test, or inspect existing schedules.
SkillAFreshness: AClaude Code +9 - 0.565score
handoff
ryanmazzolini
Write a Markdown handoff so another agent or fresh session can continue the work.
SkillAFreshness: AClaude Code +9 - 0.564score
meta-review
ryanmazzolini
Review recent personal Pi sessions for recurring collaboration problems and return a few small, testable improvements.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-simple
ryanmazzolini
Prepare commits and push work, creating branches when needed.
SkillAFreshness: AClaude Code +9 - 0.564score
first-mate
ryanmazzolini
Coordinate connected Pi sessions on request: inspect evidence, resolve blockers, and advance clearly authorized work.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-pr
ryanmazzolini
Create or update a draft pull request from the current branch.
SkillAFreshness: AClaude Code +9 - 0.558score
agent-coordination
ryanmazzolini
Choose models and reasoning levels for delegated agents using configured preferences.
SkillAFreshness: AClaude Code +9 - 0.555score
firefox-tab-triage
ryanmazzolini
Triage tabs in personal and secondary Firefox profiles.
SkillAFreshness: AClaude Code +9 - 0.529score
diagnosing-bugs
ryanmazzolini
Diagnose hard, flaky, environment-specific, or performance bugs.
SkillBFreshness: BClaude Code +9 - 0.529score
godot-gameplay-guidelines
ryanmazzolini
Godot 4.7 gameplay implementation and review.
SkillBFreshness: BClaude Code +9 - 0.524score
clear-writing
ryanmazzolini
Rewrite human-facing text so it is direct, concrete, and easy to read without changing its meaning.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 10, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ryanmazzolini/pi-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ryanmazzolini
- 0.567score
daily-report
ryanmazzolini
Set up, create, update, or repair evidence-based daily work and personal reports from local Git, GitHub, and Shortcut activity in an Obsidian vault.
SkillAFreshness: AClaude Code +9 - 0.565score
herdr-automations
ryanmazzolini
Schedule recurring Pi work with the Herdr automations plugin, or change, pause, test, or inspect existing schedules.
SkillAFreshness: AClaude Code +9 - 0.565score
handoff
ryanmazzolini
Write a Markdown handoff so another agent or fresh session can continue the work.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-pr
ryanmazzolini
Create or update a draft pull request from the current branch.
SkillAFreshness: AClaude Code +9 - 0.564score
commit-simple
ryanmazzolini
Prepare commits and push work, creating branches when needed.
SkillAFreshness: AClaude Code +9 - 0.564score
first-mate
ryanmazzolini
Coordinate connected Pi sessions on request: inspect evidence, resolve blockers, and advance clearly authorized work.
SkillAFreshness: AClaude Code +9
Cite this page
herdr skill. Agent Mart. https://agentmart.dev/skills/ryanmazzolini-herdr (last updated 2026-10-24)