Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
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.
User asks: My agent hit a 402 error, fix it
- 1Runs `ops.py balance` to check current account balance
- 2Detects balance is $0 or negative
- 3Runs `ops.py topup --amount 10` to generate a payment link
- 4Returns the payment URL to the user
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.