The status line · Claude Code
Only what nothing else can show.
Claude Code lets you replace the status line with your own script. Mine shows five figures, and the choice of which five is the whole design: these reach the status-line command and are written nowhere else, so no other tool on the machine can display them. Everything the HUD can compute for itself was removed from here, because two readouts of one session are only worth having while neither restates the other.
It also spawns nothing. The previous tenant of this line ran roughly forty-seven short-lived helpers per render, and every process launch on this machine is scanned before it starts — so the cost was paid forty-seven times, ten seconds apart, forever. Every field is now read with the shell's own pattern matching: one process per refresh, no children.
The five figures
5 BILL EDITS CONTEXT CACHE MODEL The dollar figures are an API-equivalent usage gauge — what the same tokens would cost on the metered API — not a real subscription charge. It’s there to keep me honest about how much a given approach actually burns.
Take it
The whole script is public — one file, no dependencies beyond jq.
A hook auto-publishes it every time I
change it, so the gist is always the current build.