phankieuphu

Herd — Development skill for Claude Code

Development community

Run many Claude Code and Codex agents side by side in tmux, with one sidebar that tells you which one needs you.

How to install Herd

This entry records only its repository, not the path inside it, so there is no exact command to give. Open phankieuphu/herd and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Herd does

Run many Claude Code and Codex agents side by side in tmux, with one sidebar that tells you which one needs you.

Alternatives in Development

README

herd

Run many Claude Code and Codex agents side by side in tmux, with one sidebar that tells you which one needs you.

![herd: tab completes skills in the new agent form](docs/images/skill-completion.png)

herd is a small Go program. It runs inside any terminal (iTerm2, Terminal.app, Ghostty, Warp, Alacritty, or a terminal app on your phone over ssh). It only needs **tmux 3.2+** and **git**.

What it does

  • Agent states at a glance. Each row shows if the agent is working (spinner), needs you (◆), done (✓), has background work running (◐), exited (○) or is set aside (☾). A dot (•) means "you have not looked yet".
  • One key to answer. When an agent asks for permission, press a to allow or A to deny, without leaving the sidebar. m sends a short message.
  • Live preview. Move the cursor over an agent to see its last lines, without switching to it.
  • A git worktree per agent. A new agent in a git repo gets its own branch and folder, so two agents never edit the same files. The row shows the branch and diff size. d opens a review popup, D removes the worktree when you are done.
  • Groups that stay put. Order, names, groups and flags live in tmux, so they survive restarts.
  • Notifications on your desktop, in the tmux status line, and on your phone (ntfy or Telegram) when you are away.
  • Status bar segment. herd status --tmux prints ◆1 ●2 ✓1 for tmux's status-right.
  • Limit rings. Usage of the 5-hour window and the weekly limit per provider, read from a JSON file.
  • Works over ssh. Every agent is a normal tmux session. From your phone, herd attach fix-auth or herd gives you the same view.
  • Any agent. Detection rules are regular expressions in the settings file, so you can add Gemini CLI, Aider, OpenCode or anything else.

Install

With Go 1.24 or newer:

go install github.com/phankieuphu/herd/cmd/herd@latest

Or download a binary from [Releases](https://github.com/phankieuphu/herd/releases) a