quota-tracker

quota-tracker is a skill for Claude Code, Codex from sonichi/sutando. It costs 43 tokens per session (5,291 once invoked), scanned A, original, MIT.

A quota monitor for Claude Code that reads Anthropic's usage limits and records how much of each time window has been used, when it resets, and whether requests are allowed.

In plain words
What is it for?
Checking five-hour and seven-day usage, reset times, and current quota status before or during Claude Code tasks.
Why use it?
It removes the need to guess how much usage remains or whether a long task may hit a limit. It works with both subscriptions and API keys.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Good fit Checking five-hour and seven-day usage, reset times, and current quota status before or during Claude Code tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sonichi/sutando/quota-tracker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sonichi/sutando --skill quota-tracker
Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quota-tracker

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonichi/sutando/quota-tracker/github.svg)](https://agentmods.dev/skills/sonichi/sutando/quota-tracker)
Your own site
<a href="https://agentmods.dev/skills/sonichi/sutando/quota-tracker"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/quota-tracker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quota-tracker

Your own site · 80×15
<a href="https://agentmods.dev/skills/sonichi/sutando/quota-tracker"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/quota-tracker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 42
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Rogue Agent · line 53
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.05291
Opus 5.5 $0.00017 $0.02116
Sonnet 5.5 $0.00009 $0.01058
Haiku 4.5 $0.00004 $0.00529

Measured today against content hash b2a9fb445b06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quota-tracker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/credential-proxy.ts, scripts/install-statusline.py, scripts/proxy_retire.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/quota-tracker/SKILL.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quota Tracker

Monitor your Claude Code quota in real time by intercepting Anthropic API rate limit headers.

When to Use

  • "How much quota do I have left?"
  • "Am I close to the rate limit?"
  • "When does my quota reset?"
  • Before starting expensive tasks

How It Works

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.

Without the proxy, the status line recorder writes the same file from Claude Code's own reports (next section). Both sources write one record; the newest write wins.

Without the proxy: the status line recorder

On by default. At every Claude session launch (the core and each pool worker), the skill's on_session_config hook (scripts/install-statusline.py) writes two entries into that session's config-dir settings.json:

  • statusLine: scripts/statusline-record.py, refreshed every 60 seconds. It reads the status line input's rate_limits.five_hour / seven_day (used_percentage, resets_at) and records them through src/quota_record.py, with source: "statusline", the proxy's field shape and synthesized anthropic-ratelimit-unified-5h/7d-utilization and -reset headers. An observation older than the record on disk is dropped, so an idle session cannot overwrite a newer one; the observation time is the session transcript's last change. Each write is keyed by the writing session's login, a digest of the non-secret oauthAccount identity in its config dir's .claude.json. The top level is the core's login only, and every login's latest entry is under accounts. An entry is continued only from the same login's earlier entry: after a login change in one config dir, the old login's numbers and rejections are not carried over. A session with no oauthAccount is recorded under a digest of its config dir, as advisory only: it never becomes the top level, never seeds or clears anything, and no reader uses it. Readers trust a status line record only when its account matches the account the core's config dir is signed in to now. A worker signed in to another account never changes the core's numbers, and its rate-limit stop never marks the core rejected; a worker on the core's account updates them.
  • A StopFailure hook (matcher: rate_limit, scripts/stopfailure-record.py): a turn that ends on a rate limit appends a 429 to recent_rejections (the newest 20 are kept) and marks the record rejected. The rejection holds until the same login observes, after the rejection's timestamp, a reply whose numbers moved with every window under its limit; an older observation, a re-render of unchanged numbers, or a record not bound to a login never clears it, and readers refuse a status line record with a 429 at or after its own observation. Turning the recorder off restores the saved status line, reads the settings back, and only then removes the saved copy.

Read the full file on GitHub · 177 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines b2a9fb445b06
  2. yesterday Changed · +16 lines 74dd6c1d4792
  3. 6d ago Changed · +12 lines 7cb6fcc63b2b
  4. 7d ago Changed · +74 lines 0a30503e5822
  5. 1mo ago Changed · +2 lines 5076ea549bb2
  6. 2mo ago Changed · +2 lines 8978210e8148
  7. 3mo ago First seen · 70 lines · 43 tokens per session scan A faf16d90c415

Subscribe to this mod's changes

quota-tracker is a skill published in the GitHub repository sonichi/sutando (413 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 5,291 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

quota-tracker compared with skills from other repositories

quota-tracker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quota-trackersonichi/sutandoSkill413todayMITA43Claude Code, Codex
gmailvellum-ai/vellum-assistantSkill1.5k6d agoMITA20Claude Code, Codex
app-buildervellum-ai/vellum-assistantSkill1.5k6d agoMITA162Claude Code, Codex
assistant-migrationvellum-ai/vellum-assistantSkill1.5k6d agoMITA90Claude Code, Codex
guardian-verify-setupvellum-ai/vellum-assistantSkill1.5k6d agoMITA26Claude Code, Codex
stripe-link-walletvellum-ai/vellum-assistantSkill1.5k6d agoMITA52Claude Code, Codex
vellum-memory-v2-migrationvellum-ai/vellum-assistantSkill1.5k6d agoMITA34Claude Code, Codex