AGENTS.md@configs/herdr ยท git:20260913.e2e25be ยท 2026-09-13 ยท sha256 4bc8edff8c320f3b
AGENTS.md@configs/herdr git:20260913.e2e25beA
Immutable. This exact content is served forever at /api/v1/blob/4bc8edff8c320f3b.
# ๐ herdr Agent Guidelines ## Communication Use ASD-STE100 Simplified Technical English. Read a relevant `CONTEXT.md` when it governs terms or behavior you change. [**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 ## Token Efficiency - Keep responses concise and actionable; lead with conclusions, file paths, and verification. - Read only task-relevant files and instructions. Do not preload repository maps, architecture docs, memory, or skills. - Scope searches and command output with paths, filters, and line ranges. - Use `~/.local/bin/rtk` for supported shell commands when available; bypass it with `RTK_DISABLED=1` when raw output is required. - Prefer `codebase-memory-mcp` graph tools for structural code discovery when available. ## Learning Recording Read `~/.ai-tools/MEMORY.md` and `~/.ai-tools/agent-memory.md` only when deciding whether or where to persist a learning. After fixing a bug (confirmed by human), introducing a new tech choice, or encountering something important, ask the user: > "Would you like me to record this as a learning?" If yes: - **qmd** (durable) โ project-specific gotchas, architecture decisions, conventions - **agentmemory** (session) โ transient context only the current session needs - 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.