LaunchKit · 2026
Back to Skills

api-credits-lite

Display API credit balances for 5 core providers (Anthropic, OpenAI, OpenRouter, Mistral, Groq) with video game.

0
377 downloads
by @franciscobuiltdat

Setup & Installation

openclaw skills install @franciscobuiltdat/api-credits-lite

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install api-credits-lite

Version History

v1.0.2Feb 23, 2026 - Version note by skill developer:

- 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.

INPUT

User asks: show my API credits

AGENT
  1. 1Run show_credits.py to read current balances from config.json
  2. 2Render retro health bars with color coding based on percentage remaining
  3. 3Present output conversationally, noting any providers below 25%
OUTPUT

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.

OPENAI_API_KEY environment variable (optional, for auto-check)OPENROUTER_API_KEY environment variable (optional, for auto-check)VERCEL_AI_GATEWAY_KEY environment variable (optional, for auto-check)