api-quota-monitor

api-quota-monitor is a skill for Claude Code from aAAaqwq/AGI-Super-Team. It costs 91 tokens per session (1,374 once invoked), scanned A, original, MIT.

A tool for checking balances, limits, and usage across configured AI API providers and subscription services. It can discover local configuration and produce a report or JSON output.

In plain words
What is it for?
Use it to inspect API quotas, balances, and consumption for services such as Gemini, xAI, OpenRouter, Brave, Tavily, and Serper.
Why use it?
It removes the need to check each provider separately when you want to know how much service capacity or credit remains.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the agi-super-team plugin — 220 skills, 1 agent, 1 plugin shipped together

Good fit Use it to inspect API quotas, balances, and consumption for services such as Gemini, xAI, OpenRouter, Brave, Tavily, and Serper.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaaaqwq/agi-super-team/api-quota-monitor
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 aAAaqwq/AGI-Super-Team --skill api-quota-monitor
Clone the repo
git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team

Made for: Claude Code.

Or install agi-super-team, the plugin that ships this one along with the rest of its 220 skills, 1 agent, 1 plugin.

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 api-quota-monitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/api-quota-monitor/github.svg)](https://agentmods.dev/skills/aaaaqwq/agi-super-team/api-quota-monitor)
Your own site
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/api-quota-monitor"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/api-quota-monitor/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 api-quota-monitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/api-quota-monitor"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/api-quota-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,374 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: 1 finding, 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 Data Exfiltration · line 130
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00091 $0.01374
Opus 5.5 $0.00036 $0.00550
Sonnet 5.5 $0.00018 $0.00275
Haiku 4.5 $0.00009 $0.00137

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

Security

Grade A, and why

api-quota-monitor 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/query_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.

skills/api-quota-monitor/SKILL.md · 167 lines

How it starts

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

API Quota Monitor

查询监控各类 API 供应商和订阅服务的额度/余额/消耗。

快速使用

# 查询所有已配置的供应商
python3 scripts/query_quota.py

# 查询特定供应商
python3 scripts/query_quota.py xai
python3 scripts/query_quota.py openrouter
python3 scripts/query_quota.py brave

# 只查官方供应商
python3 scripts/query_quota.py --type official

# 只查订阅服务
python3 scripts/query_quota.py --type service

# JSON 输出
python3 scripts/query_quota.py --format json

# 发现已配置的供应商
python3 scripts/query_quota.py --discover

工作流

1. 发现本地已配置的 API/供应商(从环境变量、auth-session-state.json)
   ↓
2. 按类型查询:API 直查 > 浏览器抓取
   ↓
3. 生成报告:供应商 | 消耗 | 总额度 | 状态

供应商分类

官方供应商 (Official)

供应商 查询方式 环境变量 状态
ZAI (智谱) API 直查 ZAI_API_KEY ✅ 支持
Minimax API 直查 MINIMAX_API_KEY + MINIMAX_GROUP_ID ✅ 支持
OpenRouter API 直查 OPENROUTER_API_KEY ✅ 支持
xAI (Grok) 浏览器 XAI_API_KEY 🔍 需浏览器
Gemini 浏览器 GOOGLE_API_KEY 🔍 需浏览器
Anthropic 浏览器 ANTHROPIC_API_KEY 🔍 需浏览器

中转站 (Reseller)

平台 查询方式 状态来源
AIXN 浏览器抓 ai.9w7.cn auth-session-state.json
Provider-A 浏览器抓 your-provider.example.com auth-session-state.json

中转站查询流程:

  1. 检查 ~/.openclaw/auth-session-state.json 获取登录状态
  2. 使用 browser(action='navigate', profile='openclaw') 访问控制台
  3. 从 snapshot 提取余额/消耗信息

订阅服务 (Services)

服务 查询方式 环境变量
Brave Search API API 直查 BRAVE_API_KEY
Tavily API API 直查 TAVILY_API_KEY
Serper API API 直查 SERPER_API_KEY

浏览器查询 (需浏览器抓取的供应商)

当供应商没有公开的 usage API 时,使用 browser 工具:

# 1. 导航到控制台页面
browser(action='navigate', profile='openclaw', targetUrl='<console_url>')

# 2. 等待加载后获取快照
browser(action='snapshot', profile='openclaw', compact=true, maxChars=2000)

# 3. 从快照中提取余额/消耗信息
# 查找关键词:余额、balance、usage、消耗、tokens、额度

各供应商控制台 URL:

Read the full file on GitHub · 167 lines

Files

What ships with it

2 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. 3mo ago First seen · 167 lines · 91 tokens per session scan A de32ab96099c

Subscribe to this mod's changes

api-quota-monitor is a skill published in the GitHub repository aAAaqwq/AGI-Super-Team (125 stars, last pushed 4d ago), licensed MIT. It adds 91 tokens to every session and 1,374 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-05.

Related

api-quota-monitor compared with skills from other repositories

api-quota-monitor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-quota-monitoraAAaqwq/AGI-Super-TeamSkill1254d agoMITA91Claude Code
stub_distance_skillintelliswarm-ai/swarm-aiSkill218d agoApache-2.0A15Claude Code, Codex
generated_skill_1775724185480intelliswarm-ai/swarm-aiSkill218d agoApache-2.0A24Claude Code, Codex
package-installerOrkas-AI/OrkasSkill7.7ktodayMITA35Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
security-reviewa5c-ai/babysitterSkill2.0k1mo agoMITA24Claude Code
voicesmithersai/smithersSkill464todayMITA9Claude Code, Codex