agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Orchestrate Claude and Codex worker TUIs from a controller agent — one worker per named herdr tab, driven over the herdr socket CLI.
Claude Code
$ npx -y skills add pedronauck/skills --skill herdr-orchestration --agent claude-code
Codex
$ npx skills add pedronauck/skills --skill herdr-orchestration -a codex -y
Cursor
$ npx skills add pedronauck/skills --skill herdr-orchestration -a cursor -y
Gemini CLI
$ npx skills add pedronauck/skills --skill herdr-orchestration -a gemini-cli -y
GitHub Copilot
$ npx skills add pedronauck/skills --skill herdr-orchestration -a github-copilot -y
OpenCode
$ npx skills add pedronauck/skills --skill herdr-orchestration -a opencode -y
Windsurf
$ npx skills add pedronauck/skills --skill herdr-orchestration -a windsurf -y
name: herdr-orchestration description: Orchestrate Claude and Codex worker TUIs from a controller agent — one worker per named herdr tab, driven over the herdr socket CLI. disable-model-invocation: true metadata: author: Pedro Nauck github: https://github.com/pedronauck repository: https://github.com/pedronauck/skills
The top-level agent is the **controller** (Codex, Claude, Fable, or another); it delegates to **worker** TUIs that gather evidence, draft bounded patches, run tests, and report. The controller owns assignment, state, conflict control, verification, integration, and the final user-facing answer. herdr is the substrate: each worker TUI owns a named tab, and the socket CLI (`herdr …`) gives the controller placement, input, screen reads, and native agent-status waits.
Every worker gets its own tab, labeled at creation with `tab create --label`. The tab bar is the controller's dashboard: a labeled tab says which model is running which slice, and stays readable no matter how many workers are live.
Tabs also cost no screen area. A split pane divides the caller's screen with every worker, and on a laptop the third worker leaves every pane too narrow to read. Split a pane only when the user explicitly asks to watch a worker beside the caller.
Two names per worker, both required at launch:
`codex: audit auth`. Free text; keep it short, tab bars truncate.
`[a-z][a-z0-9_-]{0,31}` and be unique among live agents. Every `agent …` verb accepts it in place of a pane id.
A worker is an interactive TUI — `claude` or `codex` — started with `herdr agent start`, which validates the agent's identity and returns only once herdr sees it ready for input. herdr's agent-state integrations hook those TUIs, so `agent wait`, `agent list`, and blocked/done detection exist only while a real TUI is on screen.
Headless runners — `claude -p`, `codex exec`, anything that streams JSON events into a pane — never report state, so waits never fire and the delegation dies silently. A worker tab filling with raw JSON event lines is a broken delegation: interrupt it (`rtk herdr pane send-keys <pane_id> ctrl+c`) and relaunch through `agent start`.
target.
`HERDR_PANE_ID` (injected into every herdr pane) before any focused-window fallback.
verbs, `w2:t3` / `w2:p4` for tab and pane verbs — never by guessed position.
`worktree create`, `pane split`); use focus verbs only when the user asks.
follow-ups are finished (see Retire workers).
Inspect the daemon, integrations, and caller context:
rtk herdr status # server running + socket path rtk herdr integration status # selected worker runtime must show `current` rtk herdr pane current --current # caller pane / tab / workspace ids rtk herdr agent list # agents already running
Check/install only the integration for each selected runtime. Reuse this preflight in the same workspace while the daemon and integrations are unchanged; a new packet alone does not require repeating it.
Use each worker runtime's configured model unless the user requests an override. Launch is two commands: create the named tab, then start the TUI in that tab's root pane.
# 1. named tab — returns .result.tab.tab_id and .result.root_pane.pane_id rtk herdr tab create --workspace "$HERDR_WORKSPACE_ID" --cwd "$PWD" \ --label "opus: fix loops" --no-focus # 2. worker TUI in that tab's root pane; native flags follow `--` rtk herdr agent start fix-loops --kind claude --pane <root_pane_id> -- \ --dangerously-skip-permissions "<packet>" rtk herdr agent start audit-auth --kind codex --pane <root_pane_id> -- \ --yolo
Capture `tab_id`, `pane_id`, and the agent name in the registry — retiring and screen reads need all three.
Claude always launches with `--dangerously-skip-permissions` and Codex with `--yolo` — workers run unattended and must not stall on permission prompts. Plan-first runs add Claude's `--permission-mode plan`; the flags compose (see Plan-first delegation).
`agent start` returns success only after herdr detects the agent ready, so a non-zero exit is the launch failure — read the tab's root pane (`rtk herdr pane read <pane_id> --source visible`) before retrying. Confirm the label stuck with `rtk herdr tab list --workspace "$HERDR_WORKSPACE_ID"`; if the tab shows a default label, restore it:
rtk herdr tab rename <tab_id> "opus: fix loops"
Prefer passing the initial packet as launch argv (shown above) — the session starts working immediately and skips the TUI-ready race. Exception: Codex plan-first launches bare (see Plan-first delegation).
For any follow-up, use `agent prompt` — it submits text plus Enter atomically, honoring the pane's live bracketed-paste mode, and `--wait` blocks until the worker settles:
rtk herdr agent prompt fix-loops "<follow-up prompt>" --wait --timeout 300000
A trailing `\n` in `pane send-text` does not submit — a TUI renders it as a soft newline and the prompt sits unsubmitted. An unconfirmed send is not delivered: if `--wait` returns `agent_prompt_stalled`, the worker never changed state — read the screen and resend.
Plan-first runs only when the user activates it — an explicit ask ("plan first", "plan mode") or a `--plan-m
A curated collection of 89 agent skills for Claude Code and compatible AI coding assistants — 43 original (⭐️), 33 hand-picked (💎), and 13 marketing & business (📣).
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like…
Autonomously optimize any Claude Code skill by running it repeatedly, scoring outputs against binary evals, mutating the prompt,…
Centrifugo real-time messaging server expert for WebSocket PUB/SUB, channel management, JWT authentication, event proxying, and…
Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the…
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…