cctop is an htop/btop-style terminal dashboard for a running Claude Code session. It shows the internals Claude Code doesn't — context fill and when the next compaction hits, tokens and cost with cache-hit ratio, rate limits with an exhaustion forecast, what the current turn is waiting on, per-tool latency and how much context each tool pushed, subagents and MCP servers, touched files — on one page, in real time, in a right-hand split while you keep working on the left.
Type /cctop in a Claude Code session and it appears — docked inside
Claude Code as a panel when the build supports it, otherwise attached as a
terminal split beside it. One command either way; see
Two ways to see it.
What it looks like
cctop claude-sonnet-5 · turn 6 · 9h 25m · ENDED 23:28 · /home… ● COMMITTING 8h 40m
1: ctx 14% · 425k left 2: 5h — · no status line 3: cache 59m≈ · 1h TTL
4: spend $18.7 · ≈$1.01/h 5: ✓ python3 -… 9h01 · re… 6: 140 calls · 6 err
▸ `cd lorem_ipsum_dolor_sit_amet…` blocked the turn… — queue: 'run a: advisor
builds and test suites longer than a … LATER · turn 6
─── events ─────────────────────────────────────────────────── 0: home · ? keys ───
23:29 api cost-state $18.75 · api 22:14 · retries 0:00
23:29 note /clear · continued in a new session
23:28 coach LATER A10 fired · `cd lorem_ipsum_dolor_sit_amet…` blocked the turn…
23:28 tool Bash ✓ 49
23:28 tool Bash git commit -m "$(cat lorem_i lorem lore lor lorem_i lorem_ip l…
23:27 tool Bash ✓ 16
23:27 tool Bash git push lorem_ lore 2>&1 ▶
23:27 tool Bash ✓ 32
23:27 cost model opus-5 → sonnet-5
23:27 tool Bash git commit -m "$(cat lorem_i lorem_ipsu lorem_i lore cctop lor…
23:25 tool AskUserQuestion ✓ 83
14:49 tool AskUserQuestion ▶
14:49 api API error: invalid_request 400
14:49 compact compacted auto 567k → 230k in 1:20
14:48 note interrupted after 6 calls
14:47 api API error: request failed
14:46 tool TaskUpdate ✓ 5
14:46 tool TaskUpdate completed ▶
Claude Code keeps running in the left pane; cctop attaches to it from the right. A header that never moves and one body that fills the rest: the identity line with the phase cell (● COMMITTING 8h 40m) at the right; six cells — context, limits, cache, spend, work, tools — three per row from 80 columns and two below, each a target whose digit opens its body in place; the act line, the coach's slot, wrapped rather than cut, a for the advisor; the rule line naming the open body, 0 the way home, ? its key map; then the body — 1 above opens the overview, the same five charts the pane draws (cctop query overview) — context across the width, then spend beside cost per turn, then the cache beside the tool calls, each with its verdict and the one thing to do, wrapped rather than cut (retries, the located rebuilds and the /context composition appear when the session has them); it scrolls with j/k and PgUp/PgDn; 4 the spend with its provenance and the token mix; 6 the by-tool table with the agents and the team. Enter opens the body's full-screen panel (Esc back), and inside a panel the digits 1–9 still switch panels: inside panels 1 and 2 Enter opens the turn ledger; inside panel 6 it opens the agents view — one row per subagent with its model, time, tokens, priced cost, what came back (ret) and what was wasted, with the reason (failed, killed, no ret, idle), workflow runs folded into one row each, and the team the session leads as a second group — one row per teammate with its context, tokens, its own cost (Claude Code's own figure once it ended) and turns — sorted with s/S. Press c for the coach view: the same four lights as a 56-column card with the nudge, what is next and what is snoozed.
Best look
The pane and the terminal view draw their charts in cells, and the pane draws them as pictures where the terminal can show them. Two terminal settings make both look as designed.