कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

api-credits-lite

franciscobuiltdat द्वारा

Coding Agents & IDEs
377clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

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

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

User asks: show my API credits

एजेंट
  1. 1

    Run show_credits.py to read current balances from config.json

  2. 2

    Render retro health bars with color coding based on percentage remaining

  3. 3

    Present 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%

आवश्यकताएँ

  • 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)

इंस्टॉलेशन

clawhub install franciscobuiltdat/api-credits-lite

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक