본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크