Community Status Line: Rate Limit Projections, Survive Indicators, Cost Tracking
What
I built a status line replacement that adds features I kept needing during long sessions: claude-statusline
Opus 4.6 │ work │ my-project (feature-123*↑1)[PR✓] │ $2.14 ($8.90/d) @$5.30/h │ ⏱ 24:12 ctx:72%
context ●●●●●●●○○○ 72%
current ●●●●○○○○○○ 42.3% 3:45pm →full ~52m ✓18m
weekly ●●●●●●●○○○ 71.4% apr 4, 10:00am →full ~2.1d ✗8h
extra ●●●○○○○○○○ 32.0% $63.53/$200.00
tokens ●●●●●●○○○○ 60% (11.8+48.7M)/100M +120k +45k sub (+890k/d)
Key features not in the default status line
- Burn-down projections — "→full ~52m" shows when you'll hit the rate limit wall at current pace
- Survive indicators — "✓18m" means you'll survive the window with 18 min to spare; "✗1.7h" means you'll be throttled for 1.7 hours before reset
- Interpolated percentages — smooth fractional usage (42.3%) between API polls instead of jumping in whole numbers every 5 minutes
- Weekly burn-down — same projection for the 7-day window ("→full ~2.1d")
- Extra credit spend projection — when at 100% current, estimates how much extra credit you'll burn before the window resets ("~$18 until reset")
- Reset countdown — when maxed out, shows "resets 47m" so you know exactly how long you're blocked
- Session cost + burn rate — real-time $/hr, daily aggregates, optional budget bar with notifications
- Subagent token tracking — tokens consumed by Agent tool calls, tracked separately
- Account tagging — multi-account support (work/personal), auto-detected from OAuth email
- Multiple render formats — multi-line dashboard, single-line sigil, sparkline trends, zsh rprompt, iTerm2 native
- macOS native apps — menu bar widget, Raycast extension, WidgetKit bridge
Install
npx @andrewkent/claude-statusline install
Or: curl -fsSL https://raw.githubusercontent.com/AndrewTKent/claude-statusline/main/install.sh | bash
One bash script, only dependency is jq. Works with the existing statusLine config in settings.json.
Why I'm posting this
The rate limit experience in Claude Code is a pain point. You don't know you're about to get throttled until it happens, and then you don't know how long you'll be blocked. These projections and survive indicators make it manageable — I can pace my work or switch accounts before hitting the wall instead of getting surprised mid-task.
I think some of this would be valuable in the default status line, or at minimum linked somewhere so other users can find it. Happy to contribute upstream if there's interest.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗