โ† All skills
Tencent SkillHub ยท Developer Tools

API Credit Health Bar Lite

Display API credit balances for 5 core providers (Anthropic, OpenAI, OpenRouter, Mistral, Groq) with video game style health bars. API auto-checks and manual...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Display API credit balances for 5 core providers (Anthropic, OpenAI, OpenRouter, Mistral, Groq) with video game style health bars. API auto-checks and manual...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
.gitignore, check_all_apis.py, check_openai.py, check_openrouter.py, check_vercel.py, config.example.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.2

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

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" 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]" 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 providers that expose a balance API (requires the relevant API key set as an env var): python3 scripts/check_openai.py # uses OPENAI_API_KEY python3 scripts/check_openrouter.py # uses OPENROUTER_API_KEY python3 scripts/check_vercel.py # uses VERCEL_AI_GATEWAY_KEY Anthropic, Mistral, and Groq don't have public balance APIs โ€” use manual sync for those.

Record a Top-Up

Triggers: "I added $X to my [provider] account", "I topped up $50 on OpenRouter" python3 scripts/topup.py <provider> <amount> # Example: python3 scripts/topup.py openrouter 20.00

Troubleshooting

If the display shows no providers, the config may be empty. Tell the user to run the first manual sync for each provider they use, or copy the example config: cp config.example.json config.json

Upgrading

Need 16+ providers, auto-tracking from session logs, cloud SDKs (AWS/Azure/GCP), or heartbeat integration? Suggest api-credits-pro.

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Scripts1 Config1 Files
  • check_all_apis.py Scripts
  • check_openai.py Scripts
  • check_openrouter.py Scripts
  • check_vercel.py Scripts
  • config.example.json Config
  • .gitignore Files