Best for
- "How much quota do I have left?"
- "Am I close to the rate limit?"
- "When does my quota reset?"
sonichi/sutando/skills/quota-tracker/SKILL.md
Track Claude Code quota usage via Anthropic API rate limit headers. Shows 5h and 7d utilization, reset times, and quota status. Works with both subscription and API key auth.
Decision brief
Monitor your Claude Code quota in real time by intercepting Anthropic API rate limit headers.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Declared | Source record | Install path and trigger |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/sonichi/sutando --skill "skills/quota-tracker"Inspect the Agent Skill "quota-tracker" from https://github.com/sonichi/sutando/blob/6a8f0fccd32e5aa620a3572c8885544f144bb6fe/skills/quota-tracker/SKILL.md at commit 6a8f0fccd32e5aa620a3572c8885544f144bb6fe. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
This starts on port 7846 and reads OAuth credentials from macOS keychain.
"How much quota do I have left?"
A credential proxy sits between Claude Code and the Anthropic API. It reads anthropic-ratelimit-unified- headers from every API response and writes quota state to a JSON file.
Review the “Quick Check” section in the pinned source before continuing.
Permission review
The documentation asks the agent to run terminal commands or scripts.
npx tsx "$SKILL_DIR/scripts/credential-proxy.ts"The documentation includes network, browsing, or remote request actions.
ANTHROPIC_BASE_URL=http://localhost:7846 claude ...The documentation includes network, browsing, or remote request actions.
<string>http://localhost:7846</string>The documentation asks the agent to run terminal commands or scripts.
python3 "$SKILL_DIR/scripts/read-quota.py" # human readableEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 64/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 359 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Monitor your Claude Code quota in real time by intercepting Anthropic API rate limit headers.
A credential proxy sits between Claude Code and the Anthropic API. It reads anthropic-ratelimit-unified-* headers from every API response and writes quota state to a JSON file.
# Read current quota state
cat quota-state.json
Output includes:
anthropic-ratelimit-unified-5h-utilization — % of 5-hour window usedanthropic-ratelimit-unified-7d-utilization — % of 7-day window usedanthropic-ratelimit-unified-5h-reset — when the 5h window resets (epoch)anthropic-ratelimit-unified-7d-reset — when the 7d window resets (epoch)anthropic-ratelimit-unified-status — "allowed" or "rejected"npx tsx "$SKILL_DIR/scripts/credential-proxy.ts"
This starts on port 7846 and reads OAuth credentials from macOS keychain.
ANTHROPIC_BASE_URL=http://localhost:7846 claude ...
Or add to your voice agent's launchd plist:
<key>ANTHROPIC_BASE_URL</key>
<string>http://localhost:7846</string>
python3 "$SKILL_DIR/scripts/read-quota.py" # human readable
python3 "$SKILL_DIR/scripts/read-quota.py" --json # machine readable
python3 "$SKILL_DIR/scripts/read-quota.py" --gate # exit 1 if exhausted
Alternatives
jackchuka/skills
Audit skill SKILL.md files for compliance with the agentskills.io specification and house conventions. Checks frontmatter fields (name, description, compatibility, metadata, argument-hint), metadata sub-fields (author, scope, layer, confirms), and layer/suffix consistency. Use when adding new skills, reviewing skill quality, or ensuring all skills follow the spec. Triggers: "audit skills", "check skill spec", "skill compliance", "are my skills up to spec", "/claude-skill-spec-audit".
affaan-m/ECC
Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.
affaan-m/ECC
GAN-inspired Generator-Evaluator agent harness for building high-quality applications autonomously. Based on Anthropic's March 2026 harness design paper.
affaan-m/ECC
Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.