LaunchKit · 2026
Back to Skills

cacheforge-ops

CacheForge operations — check balance, top up, manage upstream, API keys.

0
0 downloads
by @tkuehnl

Setup & Installation

openclaw skills install @tkuehnl/cacheforge-ops

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

npx clawhub install cacheforge-ops

What This Skill Does

Manages CacheForge account operations through a command-line script. Covers balance checks, credit top-ups via Stripe or crypto, auto top-up configuration, upstream LLM provider management, and API key lifecycle. Includes an autonomous billing protocol that handles 402 errors without manual intervention.

Agents can detect and recover from 402 Payment Required errors on their own by checking the balance and generating a payment link without interrupting the user's workflow.

When to use it

  • Checking remaining CacheForge credits before a long agent run
  • Generating a Stripe payment link to refill credits
  • Enabling auto top-up to prevent 402 errors during automated workflows
  • Switching the upstream LLM provider to OpenRouter
  • Creating or revoking API keys for different projects

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: My agent hit a 402 error, fix it

AGENT
  1. 1Runs `ops.py balance` to check current account balance
  2. 2Detects balance is $0 or negative
  3. 3Runs `ops.py topup --amount 10` to generate a payment link
  4. 4Returns the payment URL to the user
OUTPUT

A Stripe or crypto payment link for $10 in CacheForge credits

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

CACHEFORGE_API_KEY environment variableCacheForge account at app.anvil-ai.io