herdr

herdr is a skill for Claude Code from ulises-jeremias/agent-toolkit. It costs 29 tokens per session (1,389 once invoked), scanned A, original, MIT.

A guide for operating Herdr, a terminal interface for managing workspaces, tabs, and panes used by agent swarms.

In plain words
What is it for?
It helps check Herdr and swarm state, create or reuse workspaces and tabs, and run commands in swarm worktrees.
Why use it?
It helps inspect and reuse the right terminal windows and run commands in the intended workspace when swarm sessions become difficult to track.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-toolkit-complete plugin — 106 skills shipped together

Good fit It helps check Herdr and swarm state, create or reuse workspaces and tabs, and run commands in swarm worktrees.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ulises-jeremias/agent-toolkit/herdr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ulises-jeremias/agent-toolkit --skill herdr
Clone the repo
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit

Made for: Claude Code.

Or install agent-toolkit-complete, the plugin that ships this one along with the rest of its 106 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for herdr

README.md
[![agentmods](https://agentmods.dev/badge/skills/ulises-jeremias/agent-toolkit/herdr/github.svg)](https://agentmods.dev/skills/ulises-jeremias/agent-toolkit/herdr)
Your own site
<a href="https://agentmods.dev/skills/ulises-jeremias/agent-toolkit/herdr"><img src="https://agentmods.dev/badge/skills/ulises-jeremias/agent-toolkit/herdr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for herdr

Your own site · 80×15
<a href="https://agentmods.dev/skills/ulises-jeremias/agent-toolkit/herdr"><img src="https://agentmods.dev/badge/skills/ulises-jeremias/agent-toolkit/herdr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01389
Opus 5.5 $0.00012 $0.00556
Sonnet 5.5 $0.00006 $0.00278
Haiku 4.5 $0.00003 $0.00139

Measured 1mo ago against content hash 3bad25c18389, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

herdr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/agent-toolkit-complete/.github/skills/herdr/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Herdr

Operate Herdr as the primary UI for agent-toolkit swarm — eager tabs, shell-consistent execution (zsh/bash via _user_shell()), and clean reuse of windows. This skill is the Herdr complement to swarm and swarm-observer.

When to use

  • Swarm was started with --ui herdr (default) and you need to inspect or recover Herdr state.
  • herdr workspace list/create/tab create/pane run behavior is unexpected (extra workspaces w7-wA for headless, wrong --cwd, or missing eager windows).
  • User prefers Herdr over tmux for its excellent interactive UX and wants to reuse tabs for sequential requests.

Prerequisites

  • herdr CLI installed and daemon running (herdr --version, herdr workspace list --json works; --json may be unsupported on older binaries — fallback to text).
  • Swarm run exists: .agent-toolkit/swarm/runs/<run-id>/state.json with ui: herdr.
  • Repo is a Git directory (worktrees are created under .agent-toolkit/swarm/runs/<run-id>/worktrees/).

Workflow

1. Verify backend and shell

agent-toolkit swarm doctor --json | jq '.backends'
herdr --version
echo $SHELL; getent passwd $USER | cut -d: -f7  # should be /usr/bin/zsh on this host
# swarm's _user_shell() picks: $SHELL -> pwd.getpwuid -> /usr/bin/zsh -> /bin/bash

2. Inspect Herdr state for a run

herdr workspace list --json 2>&1 | jq '.[] | {id,name,path,status}' | head -n 40
# Expected: one workspace per run: swarm-20260807T...-<short>
# Orphan check: workspaces w7-wA with headless run-id -> delete after fixing backend

agent-toolkit swarm status --run-id <run-id> --json | jq '{ui,recipe,runner,model_profile,worktrees,handoffs}'
agent-toolkit swarm handoffs --run-id <run-id> --json | jq
herdr workspace list | grep swarm-<run-id>

3. Eager windows (automatic on swarm start)

On swarm start --ui herdr, swarm creates one tab per role immediately:

  • tab create --workspace swarm-<run-id> --name <role> for each role (implementer, reviewer, integrator, ... plus 1 for coordinator).
  • Each non-implementer tab runs: echo "Waiting for handoff: <pred> -> <role> | role: <role> | run: <run-id>" via <shell> -lc (quoted to avoid | pipe issues) and records agent_waiting trace.
  • select-window / workspace focus focuses implementer; implementer pane runs export AGENT_TOOLKIT_SWARM_RUN_ID=... RUN_DIR=... REPO=... SWARMFORGE_ROLE=implementer && cd <worktree> && exec <runner> "$(cat prompt)".

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 110 lines · 29 tokens per session scan A 3bad25c18389

Subscribe to this mod's changes

herdr is a skill published in the GitHub repository ulises-jeremias/agent-toolkit (19 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 1,389 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

collection

Choose which SkillNote skill collection is active for this Codex project. Use when the user says "change collection", "switch skills", "use frontend skills", or "show collections".

luna-prompts/skillnote · 39 tokens

audit-accomplishments

Use when preparing a performance self-reflection, midyear or annual review, promotion packet, or brag document; when asked to collect, mine, gather, or summarize your accomplishments, contributions, or impact over a period; or when assembling cited evidence of work done across GitHub, Jira, Notion, Slack, and local…

paultyng/skill-issue · 78 tokens

start-day

Use at the start of a workday or when the user says "start my day", "good morning", "/start-day", "morning", "what should I work on today", or wants a catch-up on what happened while they were away. Use when the user wants a short ranked list of what to tackle today.

paultyng/skill-issue · 69 tokens

tracking-time

Tracks time on tasks using timers or manual entries and generates timesheet reports in Astravue. Use when logging work hours, starting or stopping a timer, reviewing time entries, generating timesheets, or asking "how much time was spent on this?".

AstravueOrg/astravue-mcp-server · 53 tokens

local-mcp-daily-brief

Use when the user asks "what's on my plate today", "catch me up", "morning brief", or wants a summary of their day across calendar, reminders and email. The single most common multi-step automation. Powered by LMCP on macOS and Windows.

lanchuske/local-mcp-releases · 63 tokens

local-mcp-email-to-action

Use when the user wants to deal with their inbox — find what needs a response, draft replies, and turn emails into calendar events or reminders. Captures the common email→read→reply→schedule workflow on macOS (Apple Mail, Calendar, Reminders). Powered by LMCP.

lanchuske/local-mcp-releases · 65 tokens