@eccs0103/claude-cli-status-line
A Claude CLI status line command that renders an ANSI-colored status bar showing your workspace directory, git branch, active model, rate limit usage, and context window consumption.
Setup
Install
npm install -g @eccs0103/claude-cli-status-lineConnect
Add to your
~/.claude/settings.json:{ "statusLine": { "type": "command", "command": "claude-cli-status-line" } }
Or run via the Claude CLI:
claude config set statusLine.type command
claude config set statusLine.command "claude-cli-status-line"
What it shows
Directory · Branch · Model · 7-day limit · 5-hour limit · Context window
Color thresholds: green (>30%), yellow (10–30%), red (≤10%).
Model also shows the current reasoning effort, with ⚡ when fast mode is on (Opus 5.5 (high)⚡). Context also shows how long the prompt cache stays warm (25% # 42m), or cold in red when the next message will re-process the whole context. Either one can be switched off under config → Details.
Configuring
claude-cli-status-line config
Lets you toggle segments, reorder them, switch the Model effort and Context prompt-cache details, change colors, adjust thresholds, customize the progress bar, choose the countdown time format, and reset to defaults. Settings are saved to ~/.claude/status-line.config.json.