Expose weekly & 5-hour usage quotas in status line data

Resolved 💬 3 comments Opened Mar 4, 2026 by ErfoM5 Closed Apr 16, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Expose weekly & 5-hour usage quotas in status line data

Proposed Solution

The custom status line (statusLine.command) currently receives session-level data like cost.total_cost_usd,
context_window.*, etc. However, the weekly and 5-hour rolling window usage quotas shown by /usage are not included in
the JSON payload.

Requested fields

{
"quota": {
"weekly": {
"used_percentage": 23,
"reset_at": "2026-03-08T00:00:00Z"
},
"five_hour": {
"used_percentage": 5,
"reset_at": "2026-03-05T04:30:00Z"
}
}
}

Why

This data is already available internally (shown in the /usage dialog) but not passed to the status line script.
Exposing it would let users monitor their quota at a glance without interrupting their workflow with /usage.

Alternative Solutions

_No response_

Priority

Low - Nice to have

Feature Category

Configuration and settings

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗