Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill cost-governor명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your agent a soul.
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
SOC 직업 분류 기준
SKILL.md 표시 중
| name | cost-governor |
| description | Cost Governor |
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.
npm install
npm run setup
Cost Governor integrates via OpenClaw hooks - automatically tracks every API call:
# Hooks are registered in package.json
# provider-before: Tracks request
# provider-after: Calculates cost
# session-end: Generates reports
# Check current status
node src/cli.js status
# View detailed report
node src/cli.js report
# Start web dashboard
node src/cli.js dashboard
# Reset circuit breaker
node src/cli.js reset
node src/cli.js dashboard
# Open http://localhost:9090
GET http://localhost:9090/api/x402/license/{your_wallet}
POST http://localhost:9090/api/x402/subscribe
Content-Type: application/json
{
"agent_wallet": "0xYourWallet"
}
POST http://localhost:9090/api/x402/verify
Content-Type: application/json
{
"request_id": "uuid-from-subscribe",
"tx_hash": "your_transaction_hash",
"agent_wallet": "0xYourWallet"
}
Payment Details:
Edit ~/.openclaw/cost-governor/config.json:
{
"budgets": {
"hourly": 5.0,
"daily": 50.0,
"monthly": 500.0
},
"alerts": {
"thresholds": [0.5, 0.75, 0.9, 1.0]
}
}
Automatically stops API calls when budget limits are hit. Reset with:
node src/cli.js reset
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.
cost-tracking budget-management x402-payments agent-economy circuit-breaker llm-costs autonomous-payments
MIT License - See LICENSE file
Built for the agent economy. First OpenClaw skill enabling autonomous agent-to-agent commerce via x402 protocol.