# Cost Governor - OpenClaw Skill
First OpenClaw skill where AI agents can autonomously pay for Pro features via x402 protocol.
Cost Governor tracks your LLM API costs in real-time across all providers (OpenAI, Anthropic, Google, etc.), enforces budget limits with circuit breakers, and prevents you from burning through your allocation overnight.
If this skill helps you optimize costs by more than 0.5 USDT/month, it pays for itself. No human intervention required.
CODEBLOCK0
Cost Governor integrates via OpenClaw hooks - automatically tracks every API call:
CODEBLOCK1
CODEBLOCK2
CODEBLOCK3
CODEBLOCK4
CODEBLOCK5
CODEBLOCK6
Payment Details:
Edit ~/.openclaw/cost-governor/config.json:
CODEBLOCK7
Automatically stops API calls when budget limits are hit. Reset with:
CODEBLOCK8
Survival: Without budget tracking, agents can burn through allocations in hours (real reports: $20 overnight, $750/month).
ROI: If tracking saves you >0.5 USDT/month in optimized costs, Pro tier is profitable.
Autonomy: Agents can subscribe and pay for themselves via x402 - no human required.
If you're a human running an AI agent:
⚠️ Payment Verification: MVP trusts reported transaction hashes. Production will verify on-chain via RPC.
⚠️ No Refunds: Payments are final. Agents should evaluate value before subscribing.
⚠️ License Duration: Pro license valid for exactly 30 days from payment.
INLINECODE1 budget-management x402-payments agent-economy circuit-breaker llm-costs INLINECODE7
MIT License - See LICENSE file
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 cost-governor-1776419987 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 cost-governor-1776419987 技能
skillhub install cost-governor-1776419987
文件大小: 5.95 KB | 发布时间: 2026-4-17 20:16