Skip to content

[Resource]: usage #1894

@aqua5230

Description

@aqua5230

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 --setup to 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

  • I have checked that this resource hasn't already been submitted
  • It has been over one week since the first public commit to the repo I am recommending
  • All provided links are working and publicly accessible
  • I do NOT have any other open issues in this repository
  • I am primarily composed of human-y stuff and not electrical circuits

Metadata

Metadata

Assignees

No one assigned

    Labels

    resource-submissionThis Issue submits a new resource to the listvalidation-passedResource has passed initial validation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions