ai-quota-dashboard
Real-time multi-provider AI quota dashboard: model limits, token balances, subscription reset timers. Secure local token management (owner-only files, domain…
от synthet1x635 установок в других каталогах
Установить ai-quota-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AI Quotas & Subscription Limits Dashboard
Real-time telemetry, monitoring, and automated tracking for AI model quotas, subscription reset times, and API token balances across cloud and self-hosted providers (Google Antigravity, ElevenLabs, OpenRouter, xAI/Grok, Anthropic, OpenAI, Perplexity, LiteLLM, Ollama, and custom gateways).
1. Zero-Leakage Credential Standard (Mandatory Security)
To pass automated security audits (skillspector, llm, vt) and safeguard user privacy, all credential operations must strictly follow these rules:
Zero Process Argument Leakage (
[TT5]):- Never pass API keys, tokens, or headers via command-line arguments (
argv). CLI arguments are visible tops aux, process accounting daemons, and system audit logs. - Credentials must be read strictly from isolated configuration files or environment variables.
- Never pass API keys, tokens, or headers via command-line arguments (
Strict Filesystem Isolation (
[PE3]):- All credentials files must reside in dedicated directories with restrictive permissions (
chmod 700 ~/.config/ai-quota-dashboardandchmod 600 config.json). - Collector scripts must audit permissions AND ownership on the opened file descriptor (fstat, bound to the read — no TOCTOU window) and refuse execution if files are world-readable or not owned by the current user.
- Telemetry output is written atomically (temp + rename) with
0600permissions; symlink output targets are refused.
- All credentials files must reside in dedicated directories with restrictive permissions (
Strict Origin Domain Pinning (
[SQP-2],[E1]):- Outbound HTTP requests bearing authorization headers must enforce strict HTTPS and validate that the request target matches the pinned official provider domain. Requests to mismatched hosts or unverified proxies are rejected.
- Redirects are refused outright: credential headers are never forwarded to a redirect target (the collector installs a no-redirect handler), so pinning cannot be bypassed by a 3xx chain.
Official Developer Credentials & Service Tokens:
- Always prioritize official developer API keys or read-only service tokens configured in your provider/gateway dashboard.
- Do not scrape or extract third-party browser session cookies.
For complete specifications and audit scripts, see references/security-cookie-guide.md.
2. Telemetry Ingestion & No-Limit Fallback Strategies
When integrating an AI provider without public quota countdown documentation:
Standard Telemetry Ingestion:
- Query documented developer endpoints (e.g., OpenRouter
/api/v1/credits, ElevenLabs/v1/user/subscription, Ollama/api/tags). - Map response fields to standard telemetry:
used,limit,percent_used,unit, andresets_at(ISO 8601 UTC).
- Query documented developer endpoints (e.g., OpenRouter
When Endpoints Lack Explicit Limit Numbers:
- Unit Economics (Reverse Calculation): When only account balance is returned (e.g. pay-as-you-go APIs), calculate remaining capacity by dividing balance by unit request price (
remaining = balance / unit_price). - Rolling Window Timers: When limits operate on rolling intervals (e.g. 50 requests per 3 hours), track the cycle start timestamp locally and display an active countdown timer to reset.
- Local Usage Telemetry: For self-hosted gateways without billing endpoints, aggregate runtime token usage statistics locally.
- Session Validity Heartbeat: For flat-rate or unlimited tiers, verify endpoint availability via lightweight status ping (200 OK) and display an active pulse badge.
- Unit Economics (Reverse Calculation): When only account balance is returned (e.g. pay-as-you-go APIs), calculate remaining capacity by dividing balance by unit request price (
Pick the window that actually consumes (multi-bucket providers):
- Some providers return several quota windows for the same model. Google Antigravity's
fetchAvailableModelsreturns only the 5-hourquotaInfo— short and self-resetting, so it reads ~100% even under heavy use, and a dashboard built on it looks frozen at full while usage is real. - The real consumption lives in a separate endpoint:
POST /v1internal:retrieveUserQuotaSummaryreturnsgroups[].buckets[]withbucketIdgemini-weekly(the weekly limit — the one that moves) andgemini-5h. Collect both and render them as two labelled bars, so a full short window and a draining weekly window are not confused. - Treat a never-moving percentage as a wrong-source symptom before suspecting the provider. Verify by reading the raw bucket values, not the rendered card.
- Network hiccups on the quota call must retry (3 attempts) before falling back to cache: a silent cache fallback reproduces the same frozen 100% and hides the real value.
- Some providers return several quota windows for the same model. Google Antigravity's
For full architecture details, see references/api-reverse-engineering.md.
3. Collector Scalability & Zero-Flapping Standards
When monitoring expanding multi-account pools (e.g. 6+ Google accounts, multiple ElevenLabs keys) through outbound proxies:
- Subprocess Lifetime Budget:
- Sequential proxy handshakes scale with pool size. Set daemon runner timeout (
subprocess.run(timeout=...)) to at le
- Sequential proxy handshakes scale with pool size. Set daemon runner timeout (
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
exec - 02
read - 03
write
FAQ
Что делает скилл ai-quota-dashboard?
Real-time multi-provider AI quota dashboard: model limits, token balances, subscription reset timers. Secure local token management (owner-only files, domain pinning, zero argv leakage) and a deployment/telemetry guide. Trigger phrases: quota dashboard, AI limits, token balance, subscription resets.
Как установить скилл ai-quota-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-quota-dashboard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…