Coach a team of
Claude Code agents.
headcoach puts every Claude Code session on one board, in the terminal and in the browser. See what each agent does, what waits on you, and what it costs.
Every session is a task.
Its state follows the agent.
A session joins the board the moment you send its first prompt, with its context window, tokens, cost at API prices, model and effort. Sub-agents and background commands hang under it.
TASK STATE MODEL CTX COST TITLE e05b7d39 Needs me sonnet 31k 16% $0.58 Add dark mode to the settings page ? Claude needs your permission to use Bash b81d4f2c Running sonnet 149k 75% $6.12 Upgrade the web framework to v5 Running └─ general-purpose: Update the call sites of the router 1d6b3f70 ▾ 3 Running opus 234k 23% $9.40 Ship the v2 checkout ├─ 9c47e2a0 Needs me sonnet 102k 51% $1.37 The signup email is sent twice after a restart ? Save the flag before sending, or keep it after and dedupe on retry? ├─ 3f2a9c1e Waiting sonnet 70k 35% $2.84 Fix the flaky checkout test │ Done ├─ Explore: Find other fixed sleeps in the tests │ Running └─ Explore: Trace where the cart total is computed └─ 47a1c8e6 Review sonnet 146k 73% $3.95 api: retry on 503 from the payment provider Done └─ code-reviewer: Review the retry change 6d110867 Backlog haiku Draft the release notes for the next release
Running
The agent works.
Waiting
It waits on its sub-agents or background jobs.
Needs me
It asks you a question or a permission.
Review
A plan or a change waits for your go.
Done
It finished: the board lights it up green, then greys it.
Step in, step out.
It keeps running.
One key takes you into any session on the board. Reply, approve, look around, then come back: the agent carries on without you.
> Fix the flaky checkout test. It fails one run in five on CI. ● The test waits 200 ms for the cart to settle. On a slow runner it reads the total too early. > Use waitFor on the cart total, not a sleep ● Right, a fixed sleep only hides the race. I will wait for the total itself. ● Update(tests/checkout.test.ts) ⎿ Updated tests/checkout.test.ts with 1 addition and 1 removal 42 - await sleep(200) // let the cart settle 42 + await waitFor(() => cart.total() > 0) ✻ Running the checkout test 20 times… (4s · esc to interrupt)
Enter
a attaches to the session under the cursor, from the board or with hc attach. Ctrl-] brings you back.
Reply
r answers a question or sends a message without leaving the board.
Ask
q asks about a session without touching it: what it did, where it stands.
A task can lead others.
The board keeps it posted.
A coordinator briefs other tasks, and the board tells it when one stops or needs you, without polling. A handoff file keeps where the work stands.
$ hc team 1d6b3f70 1d6b3f70 Running Ship the v2 checkout Three fixes for the v2 checkout, one task each. The payment retries are in review. Waits on you 1d6b3f70 Ship the v2 checkout approve the payment retries before they merge 9c47e2a0 The signup email is sent twice asks: Save the flag before sending, or keep it after and dedupe on retry? 47a1c8e6 api: retry on 503 from the pay in Review: Added three retries with jittered backoff. Three commits on retry-503, nothing pushed.
It briefs them
hc new --parent self puts a new task under the one that runs it. The tree shows on the board, in hc ls and on the web.
It hears back
When a child stops in Needs me, Review or Done, the board types one line about it into the parent's session, once it can listen.
It keeps notes
A handoff file holds the status, what waits on whom and the queue, so a fresh context picks the work up.
Know what is ready.
And what it costs.
The review queue lists what waits on you, the oldest first, with the change, the tests and the reviewer's verdict. The top of the board shows your limits.
47a1c8e6 api: retry on 503 from the payment provider repo api · retry-503 change 3 commits, 1 file +3 -0 tests passed reviewer approved, no blocking issues delivery no PR yet
Review queue
R opens it, o opens the pull request or the diff. A change that ships moves its task to Done.
$ hc limits personal+work 5h [######### ] 46% resets in 2h11 personal+work 7d [###### ] 31% resets in 3d $ hc show 47a1c8e6 api: retry on 503 from the payment provider … context 146k of 200k (73%) cost $3.95 at API prices
Limits and cost
How much of your 5 hour and 7 day limits is used, and when your current pace would hit one. Each task shows what its tokens would cost.
The small things.
One key or one flag each.
Tasks that start on their own, close on their own, and pick their own model.
Schedules
A task with the same prompt at a time of day or on a cron line, caught up after the machine slept.
hc schedule add --at 08:00
Timers
A timer closes a task once it runs out. X deletes one in 10 minutes, without a question.
hc new --timer 10m
Model and effort
Each task or schedule picks the model and the effort level its sessions start with.
hc new --model sonnet --effort low
Pins
A pinned task stays at the top with its sub-agents and the tasks it drives, whatever the order.
P
Filter
A fuzzy filter by title, repo or task id: the cursor goes to the best fit as you type.
/
Personas
A session or a sub-agent that loads a persona skill, such as a reviewer, shows it on the board.
/reviewer
The same board,
in your browser.
One column per state, live, on your machine. Through your tailnet, on your phone too, to answer an agent from wherever you are.
Open it
hc open opens the web board. The daemon listens on 127.0.0.1 only.
Pair a phone
Tailscale Serve puts the board in your tailnet. hc pair phone prints a code to type on it, once.
Answer from anywhere
Reply to a session from the web board, on the phone as on the computer.
One key
for each thing you do.
? on the board lists them all.
Up and running
in a minute.
One binary for macOS or Linux, Intel or ARM. It needs Claude Code, tmux and curl.
Download the binary for your machine, check it, and install it.
os=$(uname -s | tr A-Z a-z); arch=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/') url=https://github.com/rouxlabs/headcoach/releases/latest/download cd "$(mktemp -d)" && curl -fsSL -O "$url/hc-$os-$arch" -O "$url/SHA256SUMS" shasum -a 256 -c SHA256SUMS --ignore-missing && mkdir -p ~/.local/bin && install -m 755 "hc-$os-$arch" ~/.local/bin/hc
Connect Claude Code, start the daemon, and open the board.
$ hc hooks install $ hc service install $ hc
~/.local/bin must be in your PATH. hc update installs the next releases the same way.
With Go 1.25 or later: go install github.com/rouxlabs/headcoach/cmd/hc@latest
Questions
Which agents does it work with?
Claude Code. hc hooks install connects its hooks to the board, and every session shows up the moment you send its first prompt, whether the board started it or you did.
Does anything leave my machine?
No server of ours is involved. The daemon listens on 127.0.0.1 only. hc talks to GitHub only when you run hc update, and asks gh or glab about a pull request a task opened, when they are installed.
Why does it need tmux?
Sessions started from the board run in a tmux server of their own, so you can enter them and leave them running. They never show up in your tmux. A session you start yourself is tracked too, and stays where you started it.
What happens when I close the board?
Nothing stops. The daemon keeps tracking and the sessions keep running. hc service install starts the daemon at every login.
Is it free?
Yes, under the Apache-2.0 license. The cost on the board is what the tokens would cost at API prices, also on a subscription.
How do I remove it?
hc service uninstall, hc hooks uninstall, then delete the hc binary. The README lists where the board keeps its data.