daniel3303/ClaudeCodeStatusLine
daniel3303/ClaudeCodeStatusLine has 621 GitHub stars and 67 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-09 02:04 UTC. Last push 2026-11-01.
Custom status line for Claude Code showing model, tokens, rate limits, and git info in real-time
Measured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalClaude Code Status Line
A custom status line for Claude Code that displays model info, token usage, rate limits, and reset times in a single compact line. It runs as an external shell command, so it does not slow down Claude Code or consume any extra tokens.
Screenshot

What it shows
| Segment | Description |
|---|---|
| Model | Current model name with reasoning effort in parentheses (e.g., Opus 4.7 (high)); effort is low, med, high, xhigh or max |
| CWD@Branch | Current folder name, git branch, and file changes (+/-) |
| Tokens | Used / total context window tokens (% used) |
| 5h | 5-hour rate limit usage percentage and reset time |
| 7d | 7-day rate limit usage percentage and reset time |
| Extra | Extra usage credits spent / limit (if enabled) |
| Update | Appears when a new version is available (checked every 24h) |
Usage percentages are color-coded: green (<50%) → yellow (≥50%) → orange (≥70%) → red (≥90%).
Installation
Ask Claude Code:
Clone https://github.com/daniel3303/ClaudeCodeStatusLine to
~/.claude/statusline/(or%USERPROFILE%\.claude\statusline\on Windows) and configure it as my status bar by following its INSTALL.md.
Claude will clone the repo to that path, pick the right script for your OS, and update settings.json. Full step-by-step instructions Claude follows live in INSTALL.md.
Restart Claude Code after Claude saves the configuration.
Updating
When the status line shows a new release is available, ask Claude:
Find my installed status bar and update it.
Or update it yourself:
git -C ~/.claude/statusline pull
No settings.json changes are needed — the path stays valid across versions.
Requirements
- Claude Code with OAuth authentication (Pro/Max subscription for rate-limit and extra-usage data)
gitinPATH- macOS / Linux:
jqandcurl - Windows: PowerShell 5.1+ (default on Windows 10/11)
Caching
Usage data from the Anthropic API is cached for 60 seconds at /tmp/claude/statusline-usage-cache-<hash>.json (or %TEMP%\claude\... on Windows). Release checks are cached for 24 hours. Both caches are shared across concurrent Claude Code instances to avoid rate limits.
Update Notifications
The status line checks GitHub for new releases once every 24 hours via an outbound HTTP request to api.github.com. When a newer version is available, a second line appears below the status line. The check fails silently if the API is unreachable.
To disable the update check entirely (no network calls):
export STATUSLINE_CHECK_UPDATES=false
License
MIT
Author
Daniel Oliveira
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,292 starspublic-apis/public-apis
A collective list of free APIs
497,545 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
446,251 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,240 stars