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 only the status-line command, and no transcript records them. The line keeps a copy of what it receives, one file per session, so the HUD can turn the same readings into gauges. Everything the HUD can compute from the transcripts 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 figures
5 BILL EDITS CONTEXT CACHE MODEL The dollar figure is 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
An earlier version of the script is public as a gist — one file, with
jq its only dependency. It is frozen at
August 2026 and is not the line described above, which is not published.