Feature request: expose rate limit info (5h / weekly) in statusLine

Resolved 💬 3 comments Opened Mar 9, 2026 by jejeje-dot Closed Mar 13, 2026

Feature Request

Problem

The statusLine feature currently only exposes context window usage (context_window.* fields). There's no way to display API rate limit information — specifically the 5-hour rolling window and weekly quota usage/remaining.

Desired Behavior

Add rate limit fields to the statusLine JSON schema, e.g.:

rate_limit.five_hour.used
rate_limit.five_hour.remaining
rate_limit.five_hour.percentage
rate_limit.weekly.used
rate_limit.weekly.remaining
rate_limit.weekly.percentage

This would allow users to configure their status bar to show something like:

5h: 42% | Week: 15%

Why

Rate limits are one of the most important constraints when using Claude Code in long sessions. Currently, the only way to know you're close to a limit is to hit it. Having this info visible in the status bar would help users pace their usage and avoid unexpected interruptions.

Current Workaround

None. The information is not accessible from the client side.

View original on GitHub ↗

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