Overview
- Skill Key
- franciscobuiltdat/api-credits-lite
- Author
- franciscobuiltdat
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/franciscobuiltdat/api-credits-lite
- Latest Commit SHA
- 5035a160fa829fb48d5ce3a5a9b2bd9bc2d29016
Display API credit balances for 5 core providers (Anthropic, OpenAI, OpenRouter, Mistral, Groq) with video game style health bars. API auto-checks and manual sync.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 api-credits-lite 技能。 若已安装,则直接安装 api-credits-lite 技能。
# API Credits Lite Use this skill when the user asks about API credits, balances, spending, or wants to update their credit info for Anthropic, OpenAI, OpenRouter, Mistral, or Groq. ## When to Use ✅ **USE this skill when the user asks:** - "How much credit do I have left?" / "What's my balance?" - "Show my API credits" / "Check my credits" - "Update my [provider] balance to $X" - "I topped up [provider] by $X" - "Am I running low on [provider]?" ❌ **DON'T use when:** - The user needs 16+ providers, JSONL auto-tracking, cloud SDKs, or heartbeat integration → use **api-credits-pro** ## How to Use You run the scripts internally — the user never types `python3`. Respond naturally and present health bar output conversationally. The skill root is at: `~/.openclaw/workspace/skills/api-credits-lite/` Run scripts with: `python3 <skill-root>/scripts/<script>.py <args>` --- ## Show Credit Balances **Triggers:** "show my credits", "how much do I have left", "check my API balance" ```bash python3 scripts/show_credits.py ``` Displays retro health bars for all configured providers. Colors: 🟩 >75% · 🟨 50–75% · 🟧 25–50% · 🟥 <25% --- ## Manual Balance Sync **Triggers:** "set my Anthropic balance to $X", "update my OpenAI credits to $X", "I have $X left on [provider]" ```bash python3 scripts/sync_provider.py <provider> <balance> # With max: python3 scripts/sync_provider.py <provider> <balance> <max_credits> # Examples: python3 scripts/sync_provider.py anthropic 22.97 python3 scripts/sync_provider.py openai 95.00 100.00 ``` Supported providers: `anthropic`, `openai`, `openrouter`, `mistral`, `groq` Where to find balances: - **Anthropic** → console.anthropic.com - **OpenAI** → platform.openai.com/usage - **OpenRouter** → openrouter.ai/activity - **Mistral** → console.mistral.ai/billing - **Groq** → console.groq.com/settings/billing --- ## Auto-Check Balance via API **Triggers:** "check my OpenAI balance automatically", "pull my OpenRouter credits" For prov...
# API Credits Lite [](https://opensource.org/licenses/MIT) An **OpenClaw agent skill** — track and display API credit balances across 5 core providers with retro video game health bars. Just ask your agent to check your credits. ## What It Does - 🎮 **Visual health bars** — at-a-glance credit status for all your providers - 📊 **5 providers** — Anthropic, OpenAI, OpenRouter, Mistral, Groq - 🔄 **API auto-check** — automated balance pulls for OpenAI, OpenRouter, Vercel - 📋 **Manual sync** — update balances from any provider console - ⚠️ **Low credit alerts** — warning and critical thresholds - 💰 **Top-up tracking** — record when you add credits ## How to Use Once installed, just talk to your agent naturally: > *"How much credit do I have left?"* > *"Show my API balances"* > *"Update my Anthropic balance to $42.50"* > *"I topped up OpenRouter by $20"* > *"Am I running low on anything?"* Your agent handles everything — no commands needed. ## Example Output ``` 💰 API Credit Health ━━━━━━━━━━━━━━━━━━━━━ Anthropic 🟧 [████░░░░░░] 42% ($22.97/$54.94) ↳ Last sync: 2m ago OpenAI 🟩 [██████████] 100% ($100.00/$100.00) OpenRouter 🟨 [██████░░░░] 60% ($60.00/$100.00) ━━━━━━━━━━━━━━━━━━━━━ ⚠️ Anthropic is getting low ``` **Health bar colors:** 🟩 >75% · 🟨 50–75% · 🟧 25–50% · 🟥 <25% ## Installation Install via [ClawHub](https://clawhub.ai) or clone manually: ```bash git clone https://github.com/FranciscoBuiltDat/openclaw-api-credits-lite.git ``` Optional: install `requests` for API auto-checks: ```bash pip install requests ``` ## Supported Providers | Provider | Auto-check | Manual sync | Console URL | |----------|-----------|-------------|-------------| | Anthropic | ❌ | ✅ | console.anthropic.com | | OpenAI | ✅ `OPENAI_API_KEY` | ✅ | platform.openai.com/usage | | OpenRouter | ✅ `OPENROUTER_API_KEY` | ✅ | openrouter.ai/activity | | Vercel AI | ✅ `VERCEL_AI_GATEWAY_KEY`...
0xnyk
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
jackculpan
Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.
openclaw-trade
openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime monitoring and news research, gather info from private insiders and many other! Using Hyperliquid API.
xquik-dev
X (Twitter) automation skill for AI coding agents. Tweet search, user lookup, follower/following extraction, media download, reply/retweet/quote extraction, 40+ tools, account monitoring & trending topics. REST API, MCP server, HMAC webhooks. Works with Claude Code, Cursor, Codex, Copilot, Windsurf & 40+ agents.
mohsinkhadim59
Step-by-step guides for installing and running OpenClaw, an open-source AI agent, on Mac, Linux VPS, and AWS covering setup, security, messaging channels, Google integration, skills, and monitoring.