@leandropessini/claudecode-status-line
v1.0.2
Published
A simple, color-coded status line for Claude Code CLI showing model info, context usage, and rate limits
Downloads
269
Maintainers
Readme
claudecode-status-line
A simple, color-coded status line for Claude Code CLI showing model info, context usage, and rate limits.

Features
- Model name with context window size (color-coded usage percentage)
- Current directory with git branch and dirty state indicator
- Session duration timer
- 5-hour and 7-day rate limit progress bars with reset times
- Extra usage credits tracking (dollar amounts)
- API fallback with 60s caching for rate limit data
Install
npx @leandropessini/claudecode-status-lineOr with Bun:
bunx @leandropessini/claudecode-status-lineIt backs up your existing status line (if any), copies the script to ~/.claude/statusline.sh, and configures your Claude Code settings.
Requirements
- jq — for parsing JSON
- curl — for fetching rate limit data
- git — for branch info
Uninstall
npx @leandropessini/claudecode-status-line --uninstallIf you had a previous statusline, it restores it from the backup. Otherwise it removes the script and cleans up your settings.
License
MIT
