[Feature Request] Add Sonnet-weekly and daily routine rate limit fields to statusline API

Resolved 💬 3 comments Opened Apr 17, 2026 by CBaquero Closed Apr 21, 2026

Bug Description
Feature request: Additional rate limit fields in statusline API

The statusline API currently reports five_hour and seven_day in the
rate_limits object. The claude.ai web dashboard shows two additional limits
that would be very useful to expose:

  1. Sonnet-only weekly limit — separate from the all-models seven_day window,

with its own used_percentage and resets_at

  1. Daily routine runs — usage count and quota (e.g. 0/15)

Suggested shape:

"rate_limits": {
"five_hour": { "used_percentage": 50, "resets_at": 1776430800 },
"seven_day": { "used_percentage": 4, "resets_at": 1777017600 },
"sonnet_seven_day": { "used_percentage": 4, "resets_at": 1777017600 },
"daily_routine_runs": { "used": 0, "limit": 15 }
}

This would allow third-party monitoring tools (like xbar menubar plugins) to
show the full picture without needing to scrape the web dashboard.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.92
  • Feedback ID: e9294194-447f-4a46-a5d5-259ae8668ae7

Errors

[{"error":"Error: File does not exist. Note: your current working directory is /Users/cbm/work/claude/tokensXbar.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T10:42:03.264Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/cbm/work/claude/tokensXbar.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4303:7610)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T10:42:11.081Z"}]

View original on GitHub ↗

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