Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Updated skill usage instructions to provide clear, conversational guidance for when and how to check, sync, or top up API credits. - Added explicit trigger examples for each feature, including manual and API-based balance updates. - Specified which providers support API auto-check (OpenAI, OpenRouter, Vercel) and which require manual sync. - Included troubleshooting tips for empty configuration and first-time setup. - Clarified upgrade path to api-credits-pro for advanced needs.
What This Skill Does
Tracks API credit balances for Anthropic, OpenAI, OpenRouter, Mistral, and Groq using retro health bars with color-coded levels. Supports both manual balance entry and automatic API-based checks for providers that expose a balance endpoint. Balances persist in a local config file.
Consolidates five separate billing dashboards into a single view without requiring any account integrations beyond optional API keys you likely already have.
When to use it
- Check remaining credits before starting a long batch job
- Update Anthropic balance after buying a credit pack
- See at a glance which providers are running low
- Record a top-up after adding funds to OpenRouter
- Auto-pull current OpenAI balance without leaving the terminal
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: show my API credits
- 1Run show_credits.py to read current balances from config.json
- 2Render retro health bars with color coding based on percentage remaining
- 3Present output conversationally, noting any providers below 25%
Health bar display showing each provider's balance, e.g. OpenAI at 🟩 95%, Anthropic at 🟧 30%, Groq at 🟥 12%
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.