AGENTS.md@configs/herdr ยท git:20260624.a2f04ce ยท 2026-06-24 ยท sha256 f3c212dc2226f0a2

AGENTS.md@configs/herdr git:20260624.a2f04ceA

Immutable. This exact content is served forever at /api/v1/blob/f3c212dc2226f0a2.

# ๐Ÿš€ herdr Agent Guidelines

[**herdr**](https://herdr.dev/) ([GitHub](https://github.com/ogulcancelik/herdr)) is a terminal-native agent multiplexer โ€” like `tmux` but agent-aware. It gives you workspaces, tabs, and panes, each running its own shell, agent, server, or log stream, and tracks agent status automatically.

## Key Concepts

- **Workspaces** โ€” Project contexts, each with one or more tabs
- **Tabs** โ€” Subcontexts inside a workspace, each with one or more panes
- **Panes** โ€” Terminal splits running a shell, agent, server, or log stream
- **Agent Status** โ€” Detected automatically: `idle`, `working`, `blocked`, `done`, `unknown`

## Configuration

- User config: `~/.config/herdr/config.toml` (generate defaults with `herdr --default-config`)
- Agent detection overrides: `~/.config/herdr/agent-detection/<agent>.toml`
- Changes require reload: `herdr server reload-config` or the global menu

## Integrations

Herdr installs integrations for detected coding agents to enable session restoration and richer state tracking:

```bash
herdr integration install claude    # Claude Code
herdr integration install codex     # OpenAI Codex CLI
herdr integration install copilot   # GitHub Copilot CLI
herdr integration status            # Check installed integrations
```

## Agent Skill

The official agent skill file (`SKILL.md`) teaches agents how to control herdr from inside a herdr-managed pane. Install it from the upstream source of truth:

- Docs: https://herdr.dev/docs/agent-skill/
- Source: https://github.com/ogulcancelik/herdr/blob/master/SKILL.md

For agents with a skill system, install as a skill named `herdr`. The skill activates when `HERDR_ENV=1` is set (agent is running inside a herdr-managed pane).

## Usage

```bash
herdr                              # Start herdr
herdr pane list                    # List panes in current workspace
herdr pane split 1-2 --direction right --no-focus  # Split a pane
herdr wait agent-status 1-1 --status done --timeout 60000  # Wait for agent
```

See the full [herdr docs](https://herdr.dev/docs/) for details.