Skip to content
api-provider-status logo

API Provider Status

api-provider-status

API 供应商状态查询与模型切换助手。查询当前模型、供应商、用量、余额,列出可切换的模型。当用户询问"当前模型"、"用量"、"余额"、"切换模型"、"可用模型"时触发。支持通过浏览器自动化登录中转站后台查询余额。

SKILL.md

Full skill instructions

API Provider Status

查询 API 供应商状态、余额、用量,管理模型切换。

快速状态报告

当用户切换模型或询问状态时,生成报告:

📊 模型状态报告
━━━━━━━━━━━━━━━━━━━━━━━━
🧠 当前模型: {model_name}
🏢 供应商: {provider}
🔗 API 端点: {base_url}
📥 本次用量: {tokens_in}k in / {tokens_out} out
📚 上下文: {context}k / {max_context}k ({percent}%)

💰 余额状态: [需登录查询] 或 [已查询: $xx.xx]

🔄 可切换模型:
  • opus45 → anapi/​opus-4.5
  • zai47 → zai/​glm-4.7
  • or52 → openrouter-vip/​gpt-5.2
  • codex52 → openrouter-vip/​gpt-5.2-codex
  • gemini → google/​gemini-3-pro-preview
  • sonnet → anthropic/​claude-sonnet-4-5
  • opus → anthropic/​claude-opus-4-5
━━━━━━━━━━━━━━━━━━━━━━━━

供应商配置

从 gateway config.get 读取供应商配置:

供应商Base URL余额查询方式
openrouter-viphttps://openrouter.vip/v1浏览器登录
zaihttps://open.bigmodel.cn浏览器登录
anapihttps://anapi.9w7.cn浏览器登录

余额查询流程

1. OpenRouter VIP

URL: https://openrouter.vip/​dashboard
登录后查看 Credits 或 Balance

2. 智谱 ZAI

URL: https://open.bigmodel.cn/​console/​account
登录后查看账户余额

3. Anapi

URL: https://anapi.9w7.cn/​key-query
步骤:
1. 打开 https://anapi.9w7.cn/​key-query
2. 输入 API Key (sk-xxx)
3. 点击"查询"按钮
4. 获取:状态、套餐类型、时长、到期时间、今日请求额度等

浏览器自动化查询

当用户请求查询余额时:

  1. 使用 browser 工具打开供应商后台
  2. 检查登录状态
  3. 如未登录,提示用户手动登录或提供凭据
  4. 登录后导航到余额页面
  5. 提取余额信息并报告

模型切换

使用 session_status 工具切换模型:

session_status(model="opus45")  # 使用别名
session_status(model="anapi/​opus-4.5")  # 使用完整路径
session_status(model="default")  # 重置为默认模型

自动通知(模型切换后)

当检测到模型切换时,自动生成简洁报告:

✅ 已切换到 {model_name}
🏢 供应商: {provider}
💡 切换其他: /​model <alias>

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View