[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75PBD9B64DQCB59BT3HRGCJ":3,"skill-same:01M75PBD9B64DQCB59BT3HRGCJ":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M75PBD9B64DQCB59BT3HRGCJ","agent-cost-monitor",null,"Real-time token usage and cost tracking across all your OpenClaw agents — alerts, budgets, and optimization tips","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneal-collab\u002Fagent-cost-monitor\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: agent-cost-monitor\nversion: 1.1.0\ndescription: Real-time token usage and cost tracking across all your OpenClaw agents — alerts, budgets, and optimization tips\nemoji: 💰\ntags:\n  - cost\n  - monitoring\n  - tokens\n  - budget\n  - optimization\n  - multi-agent\n---\n\n# Agent Cost Monitor — Know What Your Agents Cost\n\nTrack token usage, costs, and efficiency across all your OpenClaw agents in real-time. Get alerts before you blow your budget.\n\n## The Problem\n\nRunning multiple agents is powerful — but expensive if you're not watching:\n- Which agent is burning the most tokens?\n- Are heartbeats wasting money on expensive models?\n- Is caching actually saving you anything?\n- When will you hit your weekly rate limit?\n\n## What This Skill Does\n\nWhen triggered (via cron or manually), the agent:\n1. Checks `session_status` for each agent\n2. Calculates per-agent and total costs\n3. Compares against budget thresholds\n4. Sends alerts if limits are approaching\n5. Suggests optimization moves\n\n## Usage\n\nAsk your monitoring agent (or any agent with this skill):\n\n```\n\"Give me a cost report for all agents\"\n\"Which agent used the most tokens today?\"\n\"Am I going to hit my rate limit this week?\"\n```\n\n### Automated Daily Report (Cron)\n\n```json5\n{\n  \"name\": \"Daily Cost Report\",\n  \"schedule\": { \"kind\": \"cron\", \"expr\": \"0 20 * * *\", \"tz\": \"Europe\u002FBerlin\" },\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run a cost report across all agents. Check session_status for each. Report: total tokens, cost per agent, top spender, budget warnings. Send summary to user.\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"delivery\": { \"mode\": \"announce\" }\n}\n```\n\n## Cost Report Format\n\nWhen generating a report, use this structure:\n\n```markdown\n## 💰 Agent Cost Report — [Date]\n\n### Per-Agent Breakdown\n| Agent | Model | Tokens (24h) | Est. Cost | Status |\n|-------|-------|-------------|-----------|--------|\n| Central | Opus 4.6 | 125K | $1.87 | ⚠️ High |\n| Techops | Opus 4.6 | 89K | $1.33 | ✅ Normal |\n| Atlas | Sonnet 4.5 | 45K | $0.27 | ✅ Low |\n| Closer | Haiku 4.5 | 23K | $0.02 | ✅ Minimal |\n| Heartbeats | Ollama | 12K | $0.00 | ✅ Free |\n\n### Summary\n- **Total 24h:** 294K tokens (~$3.49)\n- **Projected weekly:** ~$24.43\n- **Budget:** $20\u002Fweek → ⚠️ 122% projected\n\n### Recommendations\n1. Move Techops from Opus → Sonnet for routine tasks (-40% cost)\n2. Increase heartbeat interval from 15m → 30m\n3. Enable context pruning on Atlas (idle sessions burning cache)\n```\n\n## Model Cost Reference\n\nUse these rates for estimation (as of 2026):\n\n### Anthropic (Claude OAuth \u002F API)\n| Model | Input\u002F1M | Output\u002F1M | Cache Read\u002F1M | Cache Write\u002F1M |\n|-------|----------|-----------|---------------|----------------|\n| Opus 4.6 | $5.00 | $25.00 | $0.50 | $6.25 |\n| Sonnet 4.5 | $3.00 | $15.00 | $0.30 | $3.75 |\n| Haiku 4.5 | $1.00 | $5.00 | $0.08 | $1.25 |\n\n### Free Options\n| Model | Cost | Use For |\n|-------|------|---------|\n| Ollama (local) | $0 | Heartbeats, simple tasks |\n| Gemini OAuth | $0* | Fallback (rate limited) |\n\n*Free tier with rate limits\n\n## Optimization Playbook\n\n### Quick Wins (Do These First)\n\n1. **Heartbeats on Ollama**\n```json5\n{ \"heartbeat\": { \"model\": \"ollama\u002Fllama3.2:3b\" } }\n```\nSaves: 100% of heartbeat costs (can be $5-10\u002Fweek with Opus)\n\n2. **Haiku Cache Retention Off**\n```json5\n{ \"anthropic\u002Fclaude-haiku-4-5\": { \"params\": { \"cacheRetention\": \"none\" } } }\n```\nSaves: Cache write costs on cheap model (not worth caching)\n\n3. **Context Pruning**\n```json5\n{ \"contextPruning\": { \"mode\": \"cache-ttl\", \"ttl\": \"5m\" } }\n```\nSaves: Stale context re-reads on every turn\n\n4. **Opus\u002FSonnet Cache Retention Long**\n```json5\n{ \"anthropic\u002Fclaude-opus-4-6\": { \"params\": { \"cacheRetention\": \"long\" } } }\n```\nSaves: Re-sending system prompt every turn (biggest single saving)\n\n### Model Tiering (Biggest Impact)\n\n| Task Type | Use This | Not This | Saving |\n|-----------|----------|----------|--------|\n| Coordination, complex reasoning | Opus | — | Justified |\n| Finance, data analysis | Sonnet | Opus | -40% |\n| Sales drafts, marketing copy | Haiku | Sonnet | -67% |\n| Heartbeats, health checks | Ollama | Any paid | -100% |\n| Tweet drafts | Haiku or Grok | Opus | -80% |\n\n### Session Management\n\n- **Daily reset**: Sessions auto-clear at a set hour (reduces token accumulation)\n```json5\n{ \"session\": { \"reset\": { \"mode\": \"daily\", \"atHour\": 4, \"idleMinutes\": 45 } } }\n```\n- **Memory flush**: Save important context before compaction\n```json5\n{ \"compaction\": { \"memoryFlush\": { \"enabled\": true } } }\n```\n\n## Alert Thresholds\n\nConfigure in your monitoring agent's memory:\n\n```markdown\n## Budget Alerts\n- Daily budget: $5.00 (warn at 80% = $4.00)\n- Weekly budget: $20.00 (warn at 70% = $14.00)\n- Per-agent daily max: $2.00\n- Alert channel: Telegram DM\n```\n\n## Integration with DevOps Agent\n\nIf you have a DevOps\u002Fmonitoring agent (e.g. your DevOps agent), add to its AGENTS.md:\n\n```markdown\n## Cost Monitoring\n- Run daily cost report at 20:00\n- Alert if any agent exceeds $2\u002Fday\n- Weekly summary every Monday 09:00\n- Track trends: is usage going up or down?\n```\n\n## FAQ\n\n**Q: Does this skill make API calls?**\nA: No. It uses OpenClaw's built-in `session_status` tool. No external APIs, no additional costs.\n\n**Q: How accurate are cost estimates?**\nA: Based on published model pricing. Actual costs may vary with caching hits. Estimates are conservative (slightly high).\n\n**Q: Can I track costs per conversation?**\nA: Not directly. Costs are tracked per session. Use `sessions_list` to see per-session token counts.\n\n**Q: Works with non-Anthropic models?**\nA: Yes. Token counts work for all providers. Cost estimation requires known pricing (add custom rates in the cost reference section).\n\n## Changelog\n\n### v1.1.0\n- Generalized all agent names in examples\n- No specific setup references\n\n### v1.0.0\n- Initial release\n","# Agent Cost Monitor — Know What Your Agents Cost\n\nTrack token usage, costs, and efficiency across all your OpenClaw agents in real-time. Get alerts before you blow your budget.\n\n## The Problem\n\nRunning multiple agents is powerful — but expensive if you're not watching:\n- Which agent is burning the most tokens?\n- Are heartbeats wasting money on expensive models?\n- Is caching actually saving you anything?\n- When will you hit your weekly rate limit?\n\n## What This Skill Does\n\nWhen triggered (via cron or manually), the agent:\n1. Checks `session_status` for each agent\n2. Calculates per-agent and total costs\n3. Compares against budget thresholds\n4. Sends alerts if limits are approaching\n5. Suggests optimization moves\n\n## Usage\n\nAsk your monitoring agent (or any agent with this skill):\n\n```\n\"Give me a cost report for all agents\"\n\"Which agent used the most tokens today?\"\n\"Am I going to hit my rate limit this week?\"\n```\n\n### Automated Daily Report (Cron)\n\n```json5\n{\n  \"name\": \"Daily Cost Report\",\n  \"schedule\": { \"kind\": \"cron\", \"expr\": \"0 20 * * *\", \"tz\": \"Europe\u002FBerlin\" },\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run a cost report across all agents. Check session_status for each. Report: total tokens, cost per agent, top spender, budget warnings. Send summary to user.\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"delivery\": { \"mode\": \"announce\" }\n}\n```\n\n## Cost Report Format\n\nWhen generating a report, use this structure:\n\n```markdown\n## 💰 Agent Cost Report — [Date]\n\n### Per-Agent Breakdown\n| Agent | Model | Tokens (24h) | Est. Cost | Status |\n|-------|-------|-------------|-----------|--------|\n| Central | Opus 4.6 | 125K | $1.87 | ⚠️ High |\n| Techops | Opus 4.6 | 89K | $1.33 | ✅ Normal |\n| Atlas | Sonnet 4.5 | 45K | $0.27 | ✅ Low |\n| Closer | Haiku 4.5 | 23K | $0.02 | ✅ Minimal |\n| Heartbeats | Ollama | 12K | $0.00 | ✅ Free |\n\n### Summary\n- **Total 24h:** 294K tokens (~$3.49)\n- **Projected weekly:** ~$24.43\n- **Budget:** $20\u002Fweek → ⚠️ 122% projected\n\n### Recommendations\n1. Move Techops from Opus → Sonnet for routine tasks (-40% cost)\n2. Increase heartbeat interval from 15m → 30m\n3. Enable context pruning on Atlas (idle sessions burning cache)\n```\n\n## Model Cost Reference\n\nUse these rates for estimation (as of 2026):\n\n### Anthropic (Claude OAuth \u002F API)\n| Model | Input\u002F1M | Output\u002F1M | Cache Read\u002F1M | Cache Write\u002F1M |\n|-------|----------|-----------|---------------|----------------|\n| Opus 4.6 | $5.00 | $25.00 | $0.50 | $6.25 |\n| Sonnet 4.5 | $3.00 | $15.00 | $0.30 | $3.75 |\n| Haiku 4.5 | $1.00 | $5.00 | $0.08 | $1.25 |\n\n### Free Options\n| Model | Cost | Use For |\n|-------|------|---------|\n| Ollama (local) | $0 | Heartbeats, simple tasks |\n| Gemini OAuth | $0* | Fallback (rate limited) |\n\n*Free tier with rate limits\n\n## Optimization Playbook\n\n### Quick Wins (Do These First)\n\n1. **Heartbeats on Ollama**\n```json5\n{ \"heartbeat\": { \"model\": \"ollama\u002Fllama3.2:3b\" } }\n```\nSaves: 100% of heartbeat costs (can be $5-10\u002Fweek with Opus)\n\n2. **Haiku Cache Retention Off**\n```json5\n{ \"anthropic\u002Fclaude-haiku-4-5\": { \"params\": { \"cacheRetention\": \"none\" } } }\n```\nSaves: Cache write costs on cheap model (not worth caching)\n\n3. **Context Pruning**\n```json5\n{ \"contextPruning\": { \"mode\": \"cache-ttl\", \"ttl\": \"5m\" } }\n```\nSaves: Stale context re-reads on every turn\n\n4. **Opus\u002FSonnet Cache Retention Long**\n```json5\n{ \"anthropic\u002Fclaude-opus-4-6\": { \"params\": { \"cacheRetention\": \"long\" } } }\n```\nSaves: Re-sending system prompt every turn (biggest single saving)\n\n### Model Tiering (Biggest Impact)\n\n| Task Type | Use This | Not This | Saving |\n|-----------|----------|----------|--------|\n| Coordination, complex reasoning | Opus | — | Justified |\n| Finance, data analysis | Sonnet | Opus | -40% |\n| Sales drafts, marketing copy | Haiku | Sonnet | -67% |\n| Heartbeats, health checks | Ollama | Any paid | -100% |\n| Tweet drafts | Haiku or Grok | Opus | -80% |\n\n### Session Management\n\n- **Daily reset**: Sessions auto-clear at a set hour (reduces token accumulation)\n```json5\n{ \"session\": { \"reset\": { \"mode\": \"daily\", \"atHour\": 4, \"idleMinutes\": 45 } } }\n```\n- **Memory flush**: Save important context before compaction\n```json5\n{ \"compaction\": { \"memoryFlush\": { \"enabled\": true } } }\n```\n\n## Alert Thresholds\n\nConfigure in your monitoring agent's memory:\n\n```markdown\n## Budget Alerts\n- Daily budget: $5.00 (warn at 80% = $4.00)\n- Weekly budget: $20.00 (warn at 70% = $14.00)\n- Per-agent daily max: $2.00\n- Alert channel: Telegram DM\n```\n\n## Integration with DevOps Agent\n\nIf you have a DevOps\u002Fmonitoring agent (e.g. your DevOps agent), add to its AGENTS.md:\n\n```markdown\n## Cost Monitoring\n- Run daily cost report at 20:00\n- Alert if any agent exceeds $2\u002Fday\n- Weekly summary every Monday 09:00\n- Track trends: is usage going up or down?\n```\n\n## FAQ\n\n**Q: Does this skill make API calls?**\nA: No. It uses OpenClaw's built-in `session_status` tool. No external APIs, no additional costs.\n\n**Q: How accurate are cost estimates?**\nA: Based on published model pricing. Actual costs may vary with caching hits. Estimates are conservative (slightly high).\n\n**Q: Can I track costs per conversation?**\nA: Not directly. Costs are tracked per session. Use `sessions_list` to see per-session token counts.\n\n**Q: Works with non-Anthropic models?**\nA: Yes. Token counts work for all providers. Cost estimation requires known pricing (add custom rates in the cost reference section).\n\n## Changelog\n\n### v1.1.0\n- Generalized all agent names in examples\n- No specific setup references\n\n### v1.0.0\n- Initial release\n",{"name":5,"tags":24,"emoji":31,"version":32,"description":7},[25,26,27,28,29,30],"cost","monitoring","tokens","budget","optimization","multi-agent","💰","1.1.0","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fneal-collab\u002Fagent-cost-monitor",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill agent-cost-monitor",{"tool":48,"command":49},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill agent-cost-monitor",{"tool":51,"command":52},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill agent-cost-monitor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fneal-collab\u002Fagent-cost-monitor\u002FSKILL.md",true,[],[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":64},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":64},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":64},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]