My Claude Code status line — shared across machines via symlinks.
Renders the current directory, model, git branch, context usage, session cost, weekly burn, 5-hour block timer, and active session count.
git clone git@github.com:sirkitree/claude-statusline.git ~/repos/claude-statusline
cd ~/repos/claude-statusline
./install.shThe installer symlinks statusline.sh and statusline-config.json
into ~/.claude/, backing up any existing files to
~/.claude/<name>.backup-<timestamp>.
Then make sure ~/.claude/settings.json points at the script:
{
"statusLine": {
"type": "command",
"command": "~/.claude/statusline.sh"
}
}cd ~/repos/claude-statusline && git pullSymlinks pick up changes automatically — no reinstall needed.
Edit statusline-config.json (or the symlinked copy at
~/.claude/statusline-config.json — same file). Common knobs:
user.plan—pro,max5x, ormax20xlimits.weekly.<plan>— weekly cost cap in USDlimits.context— context window threshold (in thousands)limits.cost— per-5-hour-block cost limitsections.*— toggle individual statusline sections on/offcolors.*— ANSI color codes for each element
bash,jq,awknpx(used to invokeccusagefor block/cost data)