ai-quota-calibrator

ai-quota-calibrator is a skill for Claude Code, Codex from daymade/claude-code-skills. It costs 113 tokens per session (2,146 once invoked), scanned A, original, MIT.

A command-line quota analysis tool for percentage-based AI subscriptions. It compares local token spending with live provider quota data to estimate the subscription's equivalent API cost and remaining capacity.

In plain words
What is it for?
Use it to estimate API-dollar value, remaining runway, reset timing, alternative available pools, and the sessions consuming the quota.
Why use it?
It helps explain what an opaque five-hour or weekly quota is worth, why a pool reached its limit, and which sessions used the most capacity.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Use it to estimate API-dollar value, remaining runway, reset timing, alternative available pools, and the sessions consuming the quota.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/ai-quota-calibrator
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,557 stars · on GitHub

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 daymade/claude-code-skills --skill ai-quota-calibrator
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin ai-quota-calibrator — /plugin install ai-quota-calibrator after adding the marketplace above.

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 ai-quota-calibrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/ai-quota-calibrator/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/ai-quota-calibrator)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/ai-quota-calibrator"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/ai-quota-calibrator/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 ai-quota-calibrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/ai-quota-calibrator"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/ai-quota-calibrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,146 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.
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.00113 $0.02146
Opus 5.5 $0.00045 $0.00858
Sonnet 5.5 $0.00023 $0.00429
Haiku 4.5 $0.00011 $0.00215

Measured 11d ago against content hash 26713eb58f0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-quota-calibrator 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 11d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/calibrate_quota.py, scripts/render_report_html.py, tests/test_calibrate_quota.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.

ai-quota-calibrator/SKILL.md · 158 lines

How it starts

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

AI Quota Calibrator

Execute this Skill directly on the user's behalf—never ask the user to manually copy-paste CLI commands when the agent can run the bundled calibrator itself.

Estimate the true API-dollar capacity, weekly-to-5h multiplier, remaining runway, reset countdown, alternate available pools, and top burning sessions of percentage-based AI subscriptions by reconciling local tokscale spend against live provider quota fractions.

Prerequisites & Readiness Check

Verify the required CLIs before running calibration; fail explicitly if missing instead of guessing quota sizes or fabricating token prices.

command -v tokscale && tokscale --version
  • If tokscale is missing, report the missing prerequisite (bun install -g tokscale or npm install -g tokscale) and stop.
  • For Antigravity (--provider antigravity), also verify command -v agy. Antigravity quota comes from agy -p /usage --output-format json; local CLI spend is read from tokscale client antigravity-cli.
  • For Codex (--provider codex), quota comes from tokscale usage --json and local spend from tokscale client codex.
  • For any other percentage-based subscription (--provider custom), pass the provider's reported --used-pct (or --remaining-fraction) with either --client <tokscale-client> --since YYYY-MM-DD or --spend-usd <amount>.

Core Calibration Workflow

Resolve <skill-dir> from this loaded SKILL.md path and execute the bundled zero-dependency Python 3.9+ calibrator directly.

1. Antigravity (Gemini Models & Claude/GPT 3P Pools)

python3 "<skill-dir>/scripts/calibrate_quota.py" --provider antigravity \
  --include-codex --html /tmp/ai-quota-cockpit.html --open
  • Defaults: --samples 2 --settle-seconds 5, --timeout 60, automatic top-5 session attribution whenever any bucket is >= 80% used or locked, and bounded turn-level forensics (strictly scoped to top_sessions IDs) separating primary-session burn, concurrent subagents, and 5-minute Prompt Cache TTL cold-resend (20x) waste.
  • Pass --plan-usd <monthly_price> (when known) to compute weekly API ROI, --include-codex to append live same-machine Codex standby accounts, --html <path> [--open] to generate and open a zero-CDN live business cockpit, --top-sessions N to override top-session count (0 to skip), --json for structured output, or --samples 1 only when no concurrent sessions are active.

Read the full file on GitHub · 158 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 158 lines · 113 tokens per session scan A 26713eb58f0e

Subscribe to this mod's changes

ai-quota-calibrator is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 2,146 once invoked, about $0.0005 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-11-21.

Related

ai-quota-calibrator compared with skills from other repositories

ai-quota-calibrator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-quota-calibratordaymade/claude-code-skillsSkill1.6ktodayMITA113Claude Code, Codex
sector-rotationHKUDS/Vibe-TradingSkill39kyesterdayMITA39Claude Code, Codex
strategy-pivot-designertradermonty/claude-trading-skillsSkill9.4kyesterdayMITA28Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.6k28d agoMITA110Claude Code
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill289todayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6ktodayGPL-2.0A292Codex