Feature Request: Include Plan Usage Data in StatusLine JSON
Resolved 💬 3 comments Opened Feb 15, 2026 by christo8989 Closed Feb 15, 2026
Feature Request: Include Plan Usage Data in StatusLine JSON
Summary
Add plan usage data to the JSON provided to custom statusLine commands.
Problem
The /status command can show 5-hour plan usage (e.g., "54% used, resets in 26m"), but custom statusLine scripts cannot access this data because it's not included in the JSON input.
Proposed Solution
Add a plan_usage field to the JSON sent to statusLine commands:
{
"plan_usage": {
"five_hour": {
"utilization": 54.0,
"resets_at": "2026-02-15T01:00:00.977336+00:00"
}
}
}
Example
This would allow statusLine scripts to display:
[54% 26m]
^^^^^^^^
5hr usage & reset time
Why
- The CLI already fetches this data for
/status - StatusLine scripts can't access OAuth tokens to fetch it themselves
- Users want to see plan usage at a glance without switching to
/status
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗