You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add rate limit usage information to the JSON input provided to custom statusLine commands.
Current Behavior
The statusLine JSON input includes context window usage (context_window.current_usage), which tracks tokens used in the current conversation. However, it does not include rate limit quota information.
Desired Behavior
Include rate limit data in the statusLine JSON, such as:
Current usage percentage (e.g., 99%)
Time until reset
Tokens used / tokens allowed in the current window
Users want to display their rate limit status in the statusline to know when they're approaching their quota limit. Currently, the CLI shows warnings like "You've hit your limit · resets 3pm" but this information isn't available to custom statusline scripts.
The context window percentage (how full the current conversation is) is useful but serves a different purpose than the rate limit (how much API quota remains). Both are valuable to monitor.
Environment
Claude Code CLI
Custom statusLine command configured in settings.json
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Jan 16, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
pjz commentedon Jan 16, 2026
whoops, dup as mentioned.
github-actions commentedon Jan 24, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.