Feature Request: Expose usage quota in status line JSON
Resolved 💬 6 comments Opened Dec 30, 2025 by idStar-bot Closed Apr 26, 2026
Summary
Please expose Claude Max usage quota information in the JSON data sent to custom status line commands.
Current Behavior
The status line JSON includes useful data like:
session_idmodelinfocontext_windowtokenscostdata
But it does not include the Claude Max usage quota (percentage used in current window, reset time).
Requested Behavior
Add fields to the status line JSON like:
{
"usage_quota": {
"percentage_used": 13,
"reset_time": "2025-12-30T19:00:00Z",
"plan": "max"
}
}
Use Case
Users with custom status lines want to see their usage quota at a glance without running /usage manually. This would enable status lines like:
project (main) [Opus 4.5] [Max] [13% · resets 7pm] [████░░░░░░ 85%] 04:30:15
Workaround Attempted
Currently there's no way to get this info programmatically - it's only available via the /usage slash command which can't be invoked from hooks or scripts.
---
🤖 Generated with Claude Code
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗