The status line · Claude Code
A cockpit readout for every session.
Claude Code lets you replace the status line with your own script. Mine is a seven-row
instrument — location, conversation economics, tokens, cache, spend, billing cycle, and
rate limits — each a bold color-coded tag, all parsed in a single jq
pass so it stays fast even on Windows Git-Bash. A traffic-light helper colors each figure green,
amber, or red; a formatter turns raw seconds into plain-English time-to-reset.
The seven rows
7 LOCATION CONVO TOKENS CACHE SPEND CYCLE LIMITS 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.