Displays your live Claude AI token usage directly in the VS Code status bar — both the 5-hour session limit and the 7-day weekly limit.

Features
- Real-time percentages fetched directly from the Anthropic API (same source as the Account & Usage dialog)
- 5h session bar — shows current session usage with colour coding (yellow ≥70 %, red ≥90 %)
- 7d weekly bar — split into 7 segments, one per day
- Seconds-precise countdown to the next reset, including the reset time in 24h format
- Auto-refresh every 30 seconds, plus instant refresh on click
Requirements
- An active Claude AI subscription (claude.ai) — the extension reads your OAuth token from
~/.claude/.credentials.jsonwritten by the Claude Code extension. - The Claude Code extension must be installed and you must be logged in.
Usage
The three status bar items appear automatically on the right side of the status bar:
| Item | Example | Meaning |
|---|---|---|
| 5h session | ⚡5h ██████░░ 75% |
75 % of the 5-hour rolling limit used |
| 7d weekly | 7d █▍░░░░░ 20% |
20 % of the 7-day limit used (1.4 of 7 days) |
| Reset timer | ↺ 1h 23m 45s (21:30) |
Time until the 5h window resets |
Click any item to trigger an immediate refresh.
Privacy
No data is sent anywhere. The extension reads your locally stored OAuth token and calls api.anthropic.com/api/oauth/usage — the same endpoint Claude Code itself uses.