Monitors Codex and Claude Code usage with separate traffic-light indicators in the VS Code status bar. Hover either service for detailed bars and reset times.
🤖 Codex 🟢 5h 12% · 🟢 Weekly 54% | ✦ Claude 🟢 5h 31% · 🟡 Weekly 82% · 🔴 Fable 96%
5h— 5-hour session window,Weekly— weekly window- A model name (e.g.
Fable) — weekly window that applies to that model only; shown when the API reports one - Signals: 🟢 below 80%, 🟡 80–94%, 🔴 95% or higher
- Hover for per-window details and reset times, click to refresh
- Codex and Claude use separate status bar items
- Detailed bars remain available in the hover tooltip; status bar backgrounds are not changed
How it works
- Codex: reads the token from
~/.codex/auth.jsonand querieschatgpt.com/backend-api/wham/usage - Claude: reads the OAuth token from
~/.claude/.credentials.jsonand queriesapi.anthropic.com/api/oauth/usage - Tokens are sent only to those two official hosts, never stored or logged
- Both APIs are unofficial and may stop working if the services change
- ⚠ means the token expired — run the CLI once and it refreshes automatically
Settings
| Setting | Default | Description |
|---|---|---|
claudeCodexUsage.refreshIntervalSeconds |
300 |
Polling interval in seconds (min 30) |
claudeCodexUsage.showCodex |
true |
Show Codex usage |
claudeCodexUsage.showClaude |
true |
Show Claude usage |