Record concise ADRs that preserve the user's decisions without conversational noise. Use for "adr-verbatim", "new ADR", "document that as an ADR", "record this decision", or supplied ADR wording.
日本語の概要は準備中です。原文の説明を表示しています。
Operate and coordinate AI agents in Herdr workspaces in Ghostty. Use when the user mentions Herdr or asks to inspect, message, wait for, or coordinate its agents. Excludes cmux and ordinary terminal sessions.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Herdr's CLI controls terminal panes through a local socket; it provides neither native agent-to-agent communication nor shared memory. It works with Pi, Codex, Claude Code, Cursor CLI, and other terminal agents. Native integrations improve detection, status accuracy, and session restoration.
Run the controlling agent inside Herdr in Ghostty. Verify access and workspace scope:
test "${HERDR_ENV:-}" = "1"
test -n "${HERDR_WORKSPACE_ID:-}"
If either fails, tell the user this agent must be launched inside Herdr; do not claim access to other agents.
One-time installation:
npx skills add ogulcancelik/herdr --skill herdr -g
Append --session <name> to every Herdr command. HERDR_SESSION alone can silently select an already-running server. Discover pane IDs; never guess them.
herdr pane list --workspace "$HERDR_WORKSPACE_ID" --session <name>
herdr pane read <pane-id> --source recent-unwrapped --lines 200 --session <name>
# For TUI agent composers, separate text from Enter
herdr pane send-text <pane-id> "Check the failing tests and report back." --session <name>
sleep 1
herdr pane send-keys <pane-id> enter --session <name>
# Confirm submission, then wait for completion (idle if the integration uses it)
herdr agent wait <pane-id> --status working --timeout 120000 --session <name>
herdr agent wait <pane-id> --status done --timeout 120000 --session <name>
herdr pane read <pane-id> --source recent-unwrapped --lines 200 --session <name>
Stay in the current workspace. Read before messaging; send nothing for inspection-only requests. Confirm submission through a native status transition to working/blocked after Enter, never merely changed pane content. Wait for done, idle, or blocked, then read again; do not assume the prompt was acted on. Corroborate idle with pane text as described below.
When coordinating agents, share missing context, prevent duplicate work, and return one combined summary.
Do not close, rename, move, resize, or reconfigure panes you did not create. Create or close panes only when the user explicitly asks. “Use the Herdr skill” means execute the CLI workflow, not merely explain it.
herdr session stop <name> / herdr session delete <name> for destructive operations. Never use herdr server stop; it targets the ambient server.<session>:<pane-id>. Pane IDs contain a colon (w1:p2); split on the first colon only.herdr server --session <name>.HERDR_ENV=1 and HERDR_PANE_ID. Inside nested tmux, $TMUX wins: treat the pane as tmux.default, for risky experiments. Re-check herdr session list --json --session <name> immediately before stopping or deleting.pane send-text types without submitting. pane run sends text + Enter and works at shell prompts, but TUI composers (Claude Code, Cursor CLI) may swallow Enter as part of a paste. Use separate send-text, ~1s pause, then send-keys <pane> enter calls for TUIs.escape dismisses the popup while preserving text.pane read --lines N returns empty output if N is below viewport height. Request at least 200 lines and at least the viewport height; trim locally with tail -n N.pane get .cwd is fixed at creation; .foreground_cwd is live.pane read --format ansi to distinguish placeholder text from human drafts: suggestions are dim (SGR-2) or dark truecolor; typed input renders normally. Plain text cannot reliably distinguish them.herdr agent get <pane> reports native working/idle/done/blocked/unknown status; prefer it to regex guesses. Long-running foreground tools may still report idle; check busy banners such as "esc to interrupt" before treating the pane as free or stale.herdr agent wait <pane> --status <s> --timeout MS, herdr wait agent-status <pane> --status <s> --timeout MS, and herdr wait output <pane> --match <text>.pane.agent_status_changed and pane.output_matched events. Prefer events, with polling as a backstop.pane report-agent and report idle/working/blocked.workspace create seeds tab 1. Closing the last tab deletes the workspace; closing a tab's only pane closes the tab.--no-focus, except the first workspace in an empty session. pane split --no-focus still shrinks the host viewport: focus and geometry are separate.agent_not_found), not live duplicates; close and replace them only within the pane permissions above.tput cols for layout in scripts launched through pane run; it can report a stale default of 80.herdr integration install <harness> (claude, codex, cursor, pi, ...) enables native status detection. herdr notification show <title> displays an alert.ALWAYS launch agents with auto-approval — an unattended worker can otherwise stall on an unanswered prompt:
cursor-agent --yolo "task" (alias for --force)codex --yolo "task"claude --dangerously-skip-permissions "task"This relies on an appropriate deny-list hook being installed across agents. First-run trust dialogs may still appear; inspect the pane after launch. Install each integration once for native status detection.
Verify launch with herdr agent wait <pane> --status working --timeout MS or herdr wait output <pane> --match <text>, then read. Never use sleep N && pane read as launch verification; the short input-submission pause above serves a different purpose.
Use cursor-agent in scripts. agent is an alias/new docs name; interactive aliases may not expand in scripts.
Discover available model slugs with cursor-agent --list-models before launching into an existing shell pane:
herdr pane run <pane-id> "cd <worktree> && cursor-agent --model <verified-model-slug> --yolo 'fix the failing tests'" --session <name>
cursor-agent "task", or no argument for an empty session. Headless: cursor-agent -p "task" --output-format text|json|stream-json.--force / --yolo skips per-command approval; --sandbox enabled|disabled controls sandboxing. Script auth: CURSOR_API_KEY.--model <slug> at launch, /model in-session. Slugs vary by version/account; never invent them from memory.--effort flag. Use full slugs ending in -low, -medium, -high, or -xhigh (e.g. gpt-5.3-codex-xhigh, claude-opus-4-8-thinking-high). -fast controls speed, not effort. Despite --help, model[effort=high] is unsupported.--model reasoning suffixes. Verify with /model after launch; --disable-auto-update preserves a working build.cursor-agent resume (latest), --resume <chatId>, or cursor-agent ls to list.Most defaults use Ctrl+B. Direct Ctrl+Alt shortcuts rarely conflict. Add to ~/.config/herdr/config.toml:
[keys]
new_workspace = "ctrl+alt+n"
workspace_picker = "ctrl+alt+w"
goto = "ctrl+alt+g"
new_tab = "ctrl+alt+c"
Apply with:
herdr server reload-config --session <name>
To keep prefixed shortcuts with a different prefix, set prefix = "ctrl+a" under [keys].
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Record concise ADRs that preserve the user's decisions without conversational noise. Use for "adr-verbatim", "new ADR", "document that as an ADR", "record this decision", or supplied ADR wording.
日本語の概要は準備中です。原文の説明を表示しています。
Keep a Mac awake for a set duration or while a process runs. Use only when the user explicitly invokes /anti-sleep.
日本語の概要は準備中です。原文の説明を表示しています。
Clarify a feature, change, or refactor through questions, then write a build prompt for another agent. Use for /ask-then-build or requests to ask questions before producing an implementation prompt.
日本語の概要は準備中です。原文の説明を表示しています。
Use this when controlling bb. The bb CLI inspects and manages threads, environments, projects, machines, providers, skills, plugins, settings, terminals, and other BB services.
日本語の概要は準備中です。原文の説明を表示しています。
Build, install, and debug bb plugins. Use when the user wants a bb plugin, a sidebar panel, a bb CLI subcommand, an agent tool, a theme, a provider, or to extend bb itself. For running threads and the core bb CLI, use bb-cli instead.
日本語の概要は準備中です。原文の説明を表示しています。
Fire the moment the user proposes a build. Instantly surface the 1-3 consequential choices hidden in their idea. Can also be invoked with /before-building.
日本語の概要は準備中です。原文の説明を表示しています。