AGENT SKILL

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

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:

  1. Run ops.py balance to check current balance
  2. If balance is $0 or negative, run ops.py topup --amount 10 to create a payment link
  3. Share the payment URL with the user
  4. 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/billing
  • POST /v1/account/billing/topup
  • PATCH /v1/account/billing/auto-topup
  • GET /v1/account/info
  • GET /v1/account/upstream, POST /v1/account/upstream
  • GET /v1/account/keys, POST /v1/account/keys, POST /v1/account/keys/{keyID}/revoke

04 同仓库更多 Skills

meghal86
meghal86/stacksignal

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.

★ 0
meghal86
meghal86/stacksignal

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.

★ 0
meghal86
meghal86/stacksignal

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.

★ 0
meghal86
meghal86/stacksignal

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.

★ 0
meghal86
meghal86/stacksignal

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.

★ 0
meghal86
meghal86/stacksignal

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.

★ 0