.agents/skills/quota-axi/SKILL.md
Report local agent-provider quota windows for routing-aware agents.
You do not need quota-axi installed globally - invoke it with npx -y quota-axi.
quota-axi is data only: it never routes, recommends, proxies, intercepts, logs in, imports browser cookies, or mutates provider state. It reads local provider auth sources and calls first-party provider quota, usage, billing, or entitlement endpoints; it never launches the Claude CLI, so it cannot spend the quota it measures.
Use quota-axi whenever you need local quota headroom before deciding whether it is safe to keep working on a provider, when the user asks about usage, rate limits, or remaining quota, or when comparing supported local provider headroom side by side.
npx -y quota-axi for compact TOON output covering supported providers' quota windows.--provider claude or to a subset with --provider cursor,copilot,grok.--json for the normalized machine-readable model instead of TOON.--full to include account identity and per-source attempt details.npx -y quota-axi auth to check local auth-source availability without printing
secret values.reason: keychain_access_required, tell your user to run
quota-axi --allow-keychain-prompt once and approve Keychain access ("Always Allow").
After that successful grant, plain quota-axi calls reuse the existing Keychain access
marker to refresh live Claude quota without requiring the flag.QUOTA_AXI_CODEX_BINARY to its absolute executable
path. quota-axi uses that exact executable for auth inspection and the read-only app-server
fallback, and fails closed if the override is invalid.usage: quota-axi [auth] [flags]
commands[2]:
(none)=quota, auth
flags[6]:
--provider <claude,codex,cursor,copilot,grok>, --json, --full, --allow-keychain-prompt, --help, -v/--version
examples:
quota-axi
quota-axi --provider claude
quota-axi --provider cursor,copilot,grok
quota-axi --json
quota-axi --full
quota-axi auth
--json only when you need
the normalized schema.--full output exposes the authoritative OAuth profile account.uuid as
account.accountId when Anthropic returns one; otherwise the account identity is explicitly
marked unverified rather than inferred.~/.cache/quota-axi/quotas.json only ever holds normalized
non-secret snapshots.
Fresh provider reports with no windows clear stale provider snapshots instead of caching
empty quota.
The Claude Keychain access marker lives alongside it and contains no credential values.