Add account usage percentage to statusline data
Feature Request
Problem
The /usage command in Claude Code shows account-level usage percentage (e.g., "94% of daily quota used"), but this data is not available in the statusline JSON. The statusline only receives session-scoped data like context_window.used_percentage, which shows something completely different (context window usage for the current session).
This causes confusion — users see e.g. 49% in the status bar (context window) while their actual account quota is at 94%.
Proposed Solution
Add account-level usage fields to the statusline JSON input, e.g.:
account.used_percentage— percentage of account quota/rate limit usedaccount.reset_time— when the quota resets
This would allow users to display their actual remaining quota in the status bar, which is arguably more actionable than context window percentage.
Why This Matters
- The account usage percentage is the metric that determines whether you can keep working or will hit a rate limit
- Context window percentage resets every session, but account quota persists — it's more important to track
- The data is already available internally (shown by
/usage), it just needs to be piped to the statusline
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗