api-provider-status

api-provider-status is a skill for Claude Code from aAAaqwq/AGI-Super-Team. It costs 31 tokens per session (1,694 once invoked), scanned A, original, MIT.

A monitoring skill that checks balances, usage, request counts, and availability for several AI API providers. It can query provider pages through a browser or Playwright, a tool for controlling web browsers, and produce reports or scheduled checks.

In plain words
What is it for?
Use it to inspect API spending and quotas, review usage statistics, check provider availability, and run regular status reports.
Why use it?
It avoids checking each provider dashboard by hand and puts usage information in one report. It also shows which providers are unavailable or require a particular login method.

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 — 193 skills, 1 agent shipped together

Good fit Use it to inspect API spending and quotas, review usage statistics, check provider availability, and run regular status reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaaaqwq/agi-super-team/api-provider-status
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-provider-status
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 193 skills, 1 agent.

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-provider-status

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaaaqwq/agi-super-team/api-provider-status"><img src="https://agentmods.dev/badge/skills/aaaaqwq/agi-super-team/api-provider-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,694 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 pass 7 Sept 2026
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.00031 $0.01694
Opus 5 $0.00015 $0.00847
Sonnet 5 $0.00006 $0.00339
Haiku 4.5 $0.00003 $0.00169

Measured 4d ago against content hash 6c97c3671976, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

api-provider-status 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 4d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (balance_checker.py, scripts/query_balance.py, usage_tracker.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-provider-status/SKILL.md · 228 lines

How it starts

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

API Provider Status Skill

API 供应商状态查询与余额监控。

功能

  • 查询各 API 供应商的余额/用量
  • 生成统计报告
  • 支持定时自动查询

支持的供应商

供应商 查询方式 登录状态存储 状态
Anapi (Claude) API 直接查询 - ❌ 已废弃
Provider-B Playwright / Browser Tool ~/.playwright-data/provider-b ✅ 可用
GitHub Copilot Playwright 抓取 ~/.playwright-data/github ✅ 可用
Provider-A (your-provider) Playwright 抓取 ~/.playwright-data/your-provider ✅ 可用
OpenRouter VIP API 暂不支持 -
ZAI (智谱) 无公开 API,不查询 - ⏭️ 跳过

查询方法详解

1. Provider-B

方式: Browser Tool 或 Playwright 抓取

查询页面: https://ai.9w7.cn/console

登录状态: ~/.playwright-data/<provider>/model

抓取数据:

  • 当前余额 (¥)
  • 历史消耗 (¥)
  • 请求次数
  • 统计 Tokens
  • 统计额度 (¥)
  • 平均 RPM / TPM

使用 Browser Tool 查询:

  1. 打开 https://ai.9w7.cn/console(openclaw browser 已保存登录状态)
  2. 从页面 snapshot 中提取数据看板信息

2. GitHub Copilot Pro

方式: Playwright 抓取(需要先登录)

查询页面: https://github.com/settings/copilot

登录流程:

from playwright.sync_api import sync_playwright
import os

user_data_dir = os.path.expanduser('~/.playwright-data/github')
os.makedirs(user_data_dir, exist_ok=True)

with sync_playwright() as p:
    context = p.chromium.launch_persistent_context(
        user_data_dir,
        headless=False,  # 显示浏览器让用户登录
    )
    page = context.pages[0] if context.pages else context.new_page()
    page.goto('https://github.com/settings/copilot')
    # 用户手动登录后,登录状态会保存到 user_data_dir

抓取数据:

  • Premium requests 用量百分比
  • 订阅状态 (Active/Inactive)

正则匹配:

import re
usage_match = re.search(r'Premium requests\s*([\d.]+)%', text)
is_active = 'Copilot Pro is active' in text

3. Provider-A (your-provider)

方式: Playwright 抓取(需要先登录)

查询页面: https://your-provider.example.com/console

登录流程:

user_data_dir = os.path.expanduser('~/.playwright-data/your-provider')
# 同上,使用 launch_persistent_context

抓取数据:

  • 当前余额
  • 历史消耗
  • 请求次数
  • 总 Tokens

Read the full file on GitHub · 228 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. 4d ago First seen · 228 lines · 31 tokens per session scan A 6c97c3671976

Subscribe to this mod's changes

api-provider-status is a skill published in the GitHub repository aAAaqwq/AGI-Super-Team (91 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 1,694 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

deslop

The optimization pass, defined - delete before you add, one smell class per pass, behaviour pinned by a test that ran BEFORE the edit. Lints a SKILL.md and prose by the same instinct. Use for the per-story optimization pass or when code has grown noisy without growing capable.

jjanczur/tyran · 58 tokens

root-cause

Find the mechanism behind a failure instead of patching its symptom - reproduce first, one variable per experiment with the prediction written before the run, exit by naming the mechanism and pinning it with a failing test. Use for a bug, an unexplained red test, or a failure that will not reproduce.

jjanczur/tyran · 61 tokens

guidance

Add, edit, or audit guidance docs. Default writes guidance for Claude (.claude/guidance/, Markdown, moflo universal rules). -h writes for human readers (docs/, lighter ruleset). --html emits HTML with a minimal default stylesheet instead of Markdown. -a audits the .claude/guidance/ directory.

eric-cielo/moflo · 70 tokens

eldar

Consult the Eldar — audit a project's moflo + Claude Code setup for portable, high-leverage gaps and guide remediation. Default mode is read-only audit with severity-ranked findings; --fix presents an interactive triage menu and walks the user through each chosen fix (healer, missing CLAUDE.md, sparse guidance…

eric-cielo/moflo · 115 tokens

aigon-next

Suggest the most likely next workflow action based on current context.

jayvee/aigon · 15 tokens

review-deep

Drive the deep-review phase of an automated PR review. Consumes the walkthrough, runs the deterministic deep-review workflow (parallel lenses → adversarial validation → code-enforced threshold/caps), drafts the surviving findings, and completes the review run.

ShreyPaharia/octomux · 52 tokens