cacheforge-ops
CacheForge operations — check balance, top up, manage upstream, API keys. Pay-as-you-go with Stripe or crypto.
- License 许可
- MIT
- 最近更新
- 2026-05-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cacheforge-ops
- tags
- [ "cacheforge", "billing", "operations", "ai-agents", "token-optimization", "llm", "api-keys", "discord", "discord-v2" ]
- author
- CacheForge
- license
- MIT
- version
- 1.0.0
- homepage
- https://app.anvil-ai.io
- metadata
- { "openclaw": { "emoji": "💰", "homepage": "https://app.anvil-ai.io", "requires": { "env": [ "CACHEFORGE_API_KEY" ], "bins": [ "python3" ] }, "primaryEnv": "CACHEFORGE_API_KEY" } }
- description
- CacheForge operations — check balance, top up, manage upstream, API keys. Pay-as-you-go with Stripe or crypto.
- user-invocable
- true
02 资源文件 6
- 参考文档_meta.json459 B
- 参考文档CHANGELOG.md159 B
- 脚本ops.py13.7 KB
- 参考文档README.md1.4 KB
- 参考文档SECURITY.md404 B
- 参考文档TESTING.md302 B
03 SKILL.md 正文
When to use this skill
Use this skill when the user wants to:
- Check their CacheForge balance
- Top up credits (Stripe or crypto)
- Enable/configure auto top-up
- View or change upstream provider
- Manage API keys
- Handle 402 Payment Required errors
Autonomous Billing Protocol
When you encounter a 402 error from CacheForge:
- Run
ops.py balanceto check current balance - If balance is $0 or negative, run
ops.py topup --amount 10to create a payment link - Share the payment URL with the user
- After payment, retry the original request
Commands
# Check balance and billing status
python3 skills/cacheforge-ops/ops.py balance
# Create a top-up payment link ($10 USD)
python3 skills/cacheforge-ops/ops.py topup --amount 10
# Enable auto top-up ($10 when balance drops below $2)
python3 skills/cacheforge-ops/ops.py auto-topup --enable --threshold 200 --amount 1000
# View upstream provider config
python3 skills/cacheforge-ops/ops.py upstream
# Set upstream provider
python3 skills/cacheforge-ops/ops.py upstream --set --kind openrouter --api-key sk-or-...
# List API keys
python3 skills/cacheforge-ops/ops.py keys
# Create a new API key
python3 skills/cacheforge-ops/ops.py keys --create
# View tenant info
python3 skills/cacheforge-ops/ops.py info
Environment Variables
CACHEFORGE_BASE_URL— CacheForge API base (default: https://app.anvil-ai.io)CACHEFORGE_API_KEY— Your CacheForge API key (required)
API Contract (current)
This skill uses:
GET /v1/account/billingPOST /v1/account/billing/topupPATCH /v1/account/billing/auto-topupGET /v1/account/infoGET /v1/account/upstream,POST /v1/account/upstreamGET /v1/account/keys,POST /v1/account/keys,POST /v1/account/keys/{keyID}/revoke
04 同仓库更多 Skills
zvukogram
Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.
zohomail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-recruit
Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows. Use this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-people
Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave. Use this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-mail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-inventory
Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments. Use this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.