claude-code-config: Skill for Claude Code

.claude/skills/quotas/SKILL.md

quotas is a skill for Claude Code from auerbachb/claude-code-config. It costs 107 tokens per session (3,995 once invoked), scanned A, original, MIT.

A reporting skill that shows how much of each registered AI account's weekly allowance has been used, when it resets, and whether re-login is needed.

In plain words
What is it for?
Viewing Claude and Codex account usage and reset information, with Cursor support planned later.
Why use it?
It gives you account and quota status without using those numbers to pause work, choose a model, or control spending.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; positional $N argument.

This is auerbachb/claude-code-config's own configuration. It tells Claude Code how to work on claude-code-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to auerbachb/claude-code-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/auerbachb/claude-code-config/main/.claude/skills/quotas/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/auerbachb/claude-code-config

Made for: Claude Code.

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 quotas

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/auerbachb/claude-code-config/quotas"><img src="https://agentmods.dev/badge/skills/auerbachb/claude-code-config/quotas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,995 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.00107 $0.03995
Opus 5.5 $0.00043 $0.01598
Sonnet 5.5 $0.00021 $0.00799
Haiku 4.5 $0.00011 $0.00400

Measured 1mo ago against content hash 5bd6adf35ebe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quotas 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 1mo ago.

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.

.claude/skills/quotas/SKILL.md · 266 lines

How it starts

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

Report how much of each registered account's allowance is gone, when it comes back, and what continuing past it would cost — one row per account per window.

The cheapest-next hint never acts. It never switches accounts, never purchases anything, and never gates dispatch. It names an account and stops. Buying a Codex reset, enabling Claude usage credits, and raising a Cursor spend limit are the owner's actions, taken in the provider's own UI — do not offer to perform any of them, and do not treat "cheapest to continue on" as an instruction to re-route work. The prices it quotes are a checked-in table with last verified dates, so it is only as fresh as those dates.

The recorded history is display data too, and so is the projection over it. Every run appends one line per readable row to ~/.claude/ai-quotas-history.jsonl, and the START / %/DAY / LEFT columns are read back out of it. No dispatch gate reads that file or those columns, and none may start: they are not an input to credit-budget.sh, not a reason to pause, defer, downgrade, or re-route anything. The projection says how fast an account is being drained, and that answer is printed to the owner, never acted on. Do not hand-edit the file, and do not compute your own verdict from it.

Display only — never a gate. Nothing this skill produces may gate dispatch, pause work, downgrade a model, defer a launch, or feed credit-budget.sh. Quota and spend authority belongs to Anthropic's own in-app UI and upstream harness signals — see .claude/rules/safety.md §"Anthropic Quota & Spend Authority". This is a third, purely observational surface, distinct from the two that legitimately gate: the user-configured daily_credit_budget_usd budget and the #1427 usage-horizon counter. The earlier /quota skill was rolled back in issue #499 for exactly this — gating agent decisions on locally-read numbers. Answer the user's question and stop.

No credential value ever passes through you. The helper borrows each account's live token in place for one request — for Cursor, the token the Cursor IDE already holds for the signed-in user, turned into a session cookie in memory — and never prints any of them. Do not run a command that reads a credential out of the Keychain, a profile directory, or the Cursor IDE's state store yourself, and never repeat a token, cookie, or auth.json body into the conversation.

Step 1 — Resolve the helper

resolve_script() {
  local name="$1" candidate
  for candidate in \
    "$HOME/.claude/skills-worktree/.claude/scripts/$name" \
    "$HOME/.claude/scripts/$name" \
    ".claude/scripts/$name"; do
    if [[ -x "$candidate" ]]; then echo "$candidate"; return 0; fi
  done
  return 1
}
AI_QUOTAS_SH=$(resolve_script ai-quotas.sh || true)
[[ -n "$AI_QUOTAS_SH" ]] || { echo "ERROR: ai-quotas.sh not found (checked all three paths) — quota reporting unavailable" >&2; exit 1; }

STOP if the helper does not resolve: print that one line and end. Do not hand-roll a reader — a second caller of the provider APIs is how two answers start disagreeing, and reading a credential by hand is exactly what this design forbids.

Read the full file on GitHub · 266 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. 1mo ago Changed · +44 lines · +7 tokens per session 5bd6adf35ebe
  2. 1mo ago Changed · +90 lines · +12 tokens per session 7b276ea4cf4b
  3. 1mo ago Changed · +17 lines · +16 tokens per session ec93533910e8
  4. 1mo ago First seen · 115 lines · 72 tokens per session scan A 6c66592c3de8

Subscribe to this mod's changes

quotas is a skill published in the GitHub repository auerbachb/claude-code-config (5 stars, last pushed 2d ago), licensed MIT. It adds 107 tokens to every session and 3,995 once invoked, about $0.0004 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-09-09.

Related

Other skills, from other repositories

Review Comment Triage (No-Code-Fix Mode)

A review workflow for sorting existing pull-request comments by severity, status, and next action without changing the code.

s977043/river-review · 46 tokens

OpenSourceManagement

Triages open issues, pull requests and GitHub Discussions across the principal's own open-source repos (the list in Config.md) via the gh CLI, ranks what needs attention with suggested replies, posts edit-in-place marker comments, diffs new Ollama library models against a local model box, and takes a private repo…

danielmiessler/LifeOS · 212 tokens

recipe-front-review

Reviews completed frontend implementation for governing-source compliance, scope economy, repository quality, and security, then applies user-approved React corrections.

shinpr/claude-code-workflows · 29 tokens

referee

Final arbiter for Bug Hunter. Independently verifies behavioral findings, resolves Skeptic challenges, and calibrates severity and confidence.

codexstar69/bug-hunter · 28 tokens

output-eval-error-analysis

Systematically review workflow traces to identify failure modes before building evaluators. Use when starting an eval project, after significant pipeline changes, or when production quality drops.

growthxai/output · 38 tokens

pr-description-writer

Redacta una descripción de pull request clara y estructurada a partir de un diff de git, resumen de rama o lista de commits. Úsalo cuando te pidan escribir una descripción de PR, redactar una solicitud de cambios o documentar cambios de código. Produce una descripción con resumen, motivación, cambios realizados, pasos…

mohitagw15856/pm-claude-skills · 80 tokens