Claude Code usage
AgentLimits
AgentLimits is macOS widgets that display Codex/Claude Code usage limits and ccusage tokens, cost, heatmap
Install
git clone https://github.com/Nihondo/AgentLimits.gitFrom the README
AgentLimits
In Development
AgentLimits is a macOS Sonoma+ menu bar app with Notification Center widgets. It shows usage limits for ChatGPT Codex / Claude Code (5-hour + weekly, or monthly when the provider returns a monthly window), GitHub Copilot (monthly premium requests), and ccusage token usage. Custom usage scripts also let you track any other service's usage (e.g. Cursor, Google Antigravity) the same way — see Custom Usage Script Authoring.
Download
Download the latest build: Download
Quick Start (First-Time Setup)
1. Run AgentLimits.
2. Add widgets in Notification Center.
3. Open AgentLimits Settings... from the menu bar.
4. In Usage, choose Codex, Claude Code, or Copilot, set refresh interval (1–10 minutes), open the bottom login panel (▲), then sign in.
5. Use the menu bar Display Mode to switch Used/Remaining, and Refresh Now for manual updates.
What It Tracks
- Usage limits (Codex / Claude Code): 5-hour + weekly usage, or monthly usage when the provider returns a monthly window, via internal APIs.
- If Codex temporarily returns only a weekly window, AgentLimits keeps the 5-hour slot unavailable and displays the returned value in the weekly slot.
- Codex: https://chatgpt.com/backend-api/wham/usage
- Claude Code: https://claude.ai/api/organizations/{orgId}/usage
- Usage limits (GitHub Copilot): Monthly premium interaction quota via entitlement API.
- Copilot: https://github.com/github-copilot/chat/entitlement
- Custom usage services: Run a user-selected executable that prints an AgentLimits JSON snapshot to stdout. Each service may provide one or two unique 5h, 1w, or 1month windows.
- Token usage (ccusage): daily/weekly/monthly tokens and cost via CLI.
- Codex: npx -y ccusage@latest codex daily
- Claude Code: npx -y ccusage@latest claude…Details
- Repository
- Nihondo/AgentLimits
- Language
- Swift
- License
- MIT
- Last updated
- 31 October 2026
FAQ
What is AgentLimits?
AgentLimits is macOS widgets that display Codex/Claude Code usage limits and ccusage tokens, cost, heatmap It is a usage for Claude Code, from Nihondo/AgentLimits on GitHub.
How do I install AgentLimits?
Clone Nihondo/AgentLimits from GitHub and follow the setup steps in its README.
Is AgentLimits popular?
Nihondo/AgentLimits has 70 GitHub stars and 13 forks. It was last updated on 31 October 2026.
More usage & cost trackers
CodexBar Mobile
75o1xhack/CodexBar-Mobile
Show usage stats for OpenAI Codex and Claude Code, without having to login.
Codelight
71henrikekblad/codelight
Multi-agent remote dashboard for Claude Code, Copilot, and Codex. Approve permissions, answer questions, and monitor token usage in real-time from a GeekMagic screen, Android widget, GNOME Shell, or VS Code.
Claudecode Discord
65chadingTV/claudecode-discord
Control Claude Code from your phone — a multi-machine agent hub via Discord. No API key needed, runs on your Claude Pro/Max subscription. Start new sessions from mobile, manage multiple machines from one place.
Cubicle Crew
46rezored/cubicle-crew
Your Claude Code agents, living in a tiny pixel-art office. Desktop widget + browser app, with tokens, a shop and a lounge.
Mobius
77chussum/mobius
∞ macOS menu bar app for switching Claude Code / OpenAI Codex / Claude Desktop accounts in one click — auto-fallback when you hit usage limits, auto-return on reset
CC Harness
50lookfree/cc-harness
Desktop workbench for Claude Code — live subagent topology, token cost breakdown with drill-down, hook sandbox, config audit. Reads your session files locally. Electron, MIT.
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.