herdr

Controls Herdr terminal multiplexer workspaces, tabs, panes, and coding agents via CLI.

Updated Sep 14, 2026
One-click install
npx skills add https://github.com/Suge8/skills --skill herdr-suge8
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: herdr
Source: https://github.com/Suge8/skills/tree/main/operations/herdr
Command: npx skills add https://github.com/Suge8/skills --skill herdr-suge8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating multiple terminal sessions and coding agents manually is error-prone and slow. This Skill lets an agent inspect, create, and control Herdr-managed workspaces, tabs, panes, and recognized coding agents through the herdr CLI, so background work, parallel agents, and command execution can be orchestrated programmatically. ## Core Features & Use Cases - Session Discovery: List workspaces, tabs, panes, and live agents, reading opaque stable IDs from JSON responses instead of guessing. - Agent Orchestration: Split sibling panes, start supported coding agents by kind, submit prompts with lifecycle-aware waits (idle, working, blocked, done), and read results. - Command Execution: Run shell commands in other panes, wait for output matches with literal or regex patterns, and read scrollback from multiple sources. - Use Case: While working in a Herdr pane, ask the agent to spin up a reviewer agent in a right-split pane, prompt it to review the current diff, wait for completion, and read back its findings without stealing your focus. ## Quick Start Ask the agent to use Herdr to open a sibling pane, start a coding agent in it, and run a task while keeping your current pane focused.

Frequently Asked Questions about herdr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control a Herdr terminal multiplexer from an agent?▼

First verify the agent runs inside a Herdr-managed pane by checking that HERDR_ENV equals 1. Then use the herdr CLI on PATH to list workspaces, tabs, panes, and agents, and issue control commands that return JSON.

How to start a coding agent in a Herdr pane?▼

Split a sibling pane with herdr pane split, read the new pane ID from .result.pane.pane_id, then run herdr agent start with a unique name, a supported kind, and the pane ID. The command returns once Herdr detects the agent is ready for input.

What is the difference between Herdr pane commands and agent commands?▼

Pane commands control bare terminals such as shells, tests, and servers, including input and output. Agent commands control a recognized coding agent occupying a pane and expose lifecycle states like idle, working, blocked, done, and unknown.

Can I use Herdr control commands outside a Herdr session?▼

No. The skill requires running inside a Herdr-managed pane with HERDR_ENV=1. If the check fails, the agent must state it is not inside Herdr and stop rather than probing or controlling the focused session from outside.

Why does herdr agent prompt return agent_prompt_stalled?▼

A prompt sent to an agent not in the working state must produce an observable lifecycle change within five seconds. If none occurs, Herdr returns agent_prompt_stalled instead of waiting indefinitely, so inspect agent get and agent read before retrying.

Why can't I read full agent output with herdr pane read?▼

Agents running on the alternate screen do not write exited lines into the host scrollback buffer, so increasing --lines cannot recover that content. As a fallback, ask the agent to write its full reply to a temp file and read the file directly.