-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[Resource]: usage #1894
Copy link
Copy link
Open
Labels
resource-submissionThis Issue submits a new resource to the listThis Issue submits a new resource to the listvalidation-passedResource has passed initial validationResource has passed initial validation
Metadata
Metadata
Assignees
Labels
resource-submissionThis Issue submits a new resource to the listThis Issue submits a new resource to the listvalidation-passedResource has passed initial validationResource has passed initial validation
Display Name
usage
Category
Tooling
Sub-Category
Tooling: Usage Monitors
Primary Link
https://github.com/aqua5230/usage
Author Name
aqua5230
Author Link
https://github.com/aqua5230
License
AGPL-3.0
Other License
No response
Description
macOS menu bar utility that surfaces Claude Code and Codex quota by reading a status file
written by an installed statusLine hook (Claude Code) and parsing rate_limits from local
session JSONL logs (Codex). Pins 5-hour and 7-day percentages to the menu bar with an
expandable popover showing per-project breakdowns, daily token counts, and cost estimates.
Makes no Anthropic or OpenAI API calls; the LiteLLM pricing JSON is fetched once and cached
for 7 days to estimate Codex cost.
Validate Claims
Run
python3 main.py --setupto install the statusLine hook, then restart Claude Code once.The menu bar percentage should match the value shown in Claude Code's native status line,
because both read from the same local file (~/.claude/usage-status.json) written by the
hook.
Specific Task(s)
No response
Specific Prompt(s)
No response
Additional Comments
No response
Recommendation Checklist