AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Herdr

skill-ulises-jeremias-agent-toolkit-herdr · by ulises-jeremias

Manage Herdr workspaces, tabs, and panes for Agent Toolkit swarms with eager windows, shell-aware

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-ulises-jeremias-agent-toolkit-herdr

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ulises-jeremias-agent-toolkit-herdr)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Herdr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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//state.json with ui: herdr.
  • Repo is a Git directory (worktrees are created under .agent-toolkit/swarm/runs//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...-
# Orphan check: workspaces w7-wA with headless run-id -> delete after fixing backend

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

3. Eager windows (automatic on swarm start)

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

  • tab create --workspace swarm- --name for each role (implementer, reviewer, integrator, ... plus 1 for coordinator).
  • Each non-implementer tab runs: echo "Waiting for handoff: -> | role: | run: " via -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 && exec "$(cat prompt)".

If a tab is missing:

herdr tab create --workspace swarm- --name reviewer --json 2>&1 | jq
herdr pane run --workspace swarm- --tab reviewer --command "/usr/bin/zsh -lc 'echo \"Waiting for handoff: implementer -> reviewer | role: reviewer | run: \"'" --json 2>&1 | jq

4. Recover from known pitfalls

| Symptom | Fix | |---------|-----| | Extra workspaces for headless runs | get_backend("headless") fallback created spurious Herdr workspaces. Patch swarm/backends/__init__.py to return headless/noop backend; then herdr workspace delete for orphans. | | --cwd wrong (repo not found) | Ensure herdr workspace create --cwd uses find_repo_root result, not cwd when run from worktree. | | pane run fails with pipe | Swarm fixed by quoting waiting message: echo "Waiting..." not echo Waiting ... | | | Shell mismatch (bash vs zsh) | Swarm now uses _user_shell(); verify Herdr panes inherit $SHELL. herdr pane run --command "/usr/bin/zsh -lc 'echo \$SHELL'" |

5. Reuse tabs for new requests

Do not delete the workspace between tasks. Reuse the same run-id:

agent-toolkit swarm handoff create --type artifact --from implementer --to reviewer --artifact artifacts/next-task.md --run-id 
# Herdr tabs stay; only the handoff chain retriggers. New run only for isolated branch.

Attach when needed:

agent-toolkit swarm attach --run-id 
herdr workspace focus --workspace swarm-

Boundaries

  • Never write Herdr's workspace DB directly; use herdr workspace/tab/pane CLI via swarm's HerdrBackend.
  • Never mix Herdr and tmux sockets — swarm uses herdr OR isolated tmux -L agent-toolkit-swarm-, never both for one run.
  • Do not run herdr workspace open (removed); use workspace focus / workspace list.

Delegates to

| Need | Skill | |------|-------| | Launch or reuse a swarm | swarm | | Diagnose stuck handoffs/logs | swarm-observer | | Create file handoffs | swarm-handoff | | Isolated fallback when Herdr unavailable | tmux (via swarm --ui tmux) |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.