[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77WTK4S4K0Y2Y6QHZ2EWQ7M":3,"skill-same:01M77WTK4S4K0Y2Y6QHZ2EWQ7M":67},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M77WTK4S4K0Y2Y6QHZ2EWQ7M","token-optimizer",null,"Reduce OpenClaw AI costs by 97%. Haiku model routing, free Ollama heartbeats, prompt caching, and budget controls. Go from $1,500\u002Fmonth to $50\u002Fmonth in 5 minutes.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftoken-optimizer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: token-optimizer\ndescription: Reduce OpenClaw AI costs by 97%. Haiku model routing, free Ollama heartbeats, prompt caching, and budget controls. Go from $1,500\u002Fmonth to $50\u002Fmonth in 5 minutes.\nhomepage: https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected\u002Fopenclaw-token-optimizer\ntriggers:\n  - too expensive\n  - costs too much\n  - burning tokens\n  - high token usage\n  - reduce costs\n  - save money\n  - optimize tokens\n  - budget exceeded\n  - token optimization\n  - cut api costs\n  - lower ai spend\n  - cheaper model\n  - cost savings\n  - api bill\n  - spending too much\n  - waste tokens\n  - token budget\n  - reduce token usage\n---\n\n# Token Optimizer for OpenClaw\n\nSlash your AI costs from $1,500+\u002Fmonth to under $50\u002Fmonth.\n\n## The Problem\n\nOpenClaw defaults prioritize capability over cost. You're burning expensive Sonnet\u002FOpus tokens on tasks Haiku handles perfectly, paying for API heartbeats that could run free locally, and loading 50KB of context when 8KB suffices.\n\n## The Solution\n\nFour core optimizations plus powerful tooling:\n\n### Model Routing (92% savings)\nHaiku by default, Sonnet\u002FOpus only when needed\n\n### Multi-Provider Heartbeats (100% savings)\nRoute heartbeats to Ollama, LM Studio, Groq, or disable entirely. Not locked to one provider.\n\n### Session Management (80% savings)\nLoad 8KB instead of 50KB context\n\n### Caching (90% savings)\nReuse prompts at 10% cost\n\n### New in v1.0.8\n- **Rollback** - List and restore config backups instantly\n- **Health Check** - Quick system status in one command\n- **Diff Preview** - See exactly what changes before applying\n- **--no-color** - CI\u002Fpipeline friendly output\n\n## Cost Comparison\n\n| Period | Before | After |\n|--------|--------|-------|\n| Daily | $2-3 | $0.10 |\n| Monthly | $70-90 | $3-5 |\n| Yearly | $800+ | $40-60 |\n\n## What's Included\n\n- One-command optimizer with diff preview\n- Multi-provider heartbeat (Ollama, LM Studio, Groq)\n- Config rollback and health check commands\n- Ready-to-use config templates\n- SOUL.md & USER.md templates\n- Optimization rules for agent prompts\n- Verification and savings reports\n\n## What This Tool Modifies\n\nAll changes are written under `~\u002F.openclaw\u002F`. A backup is created before any modification.\n\n| Path | Purpose |\n|------|---------|\n| `~\u002F.openclaw\u002Fopenclaw.json` | Main OpenClaw config (model routing, heartbeat, budgets) |\n| `~\u002F.openclaw\u002Fbackups\u002F` | Timestamped config backups (created automatically) |\n| `~\u002F.openclaw\u002Fworkspace\u002F` | Template files (SOUL.md, USER.md, IDENTITY.md) |\n| `~\u002F.openclaw\u002Fprompts\u002F` | Agent prompt optimization rules |\n| `~\u002F.openclaw\u002Ftoken-optimizer-stats.json` | Usage stats for savings reports |\n\n**Safe by default** - All commands run in dry-run (preview) mode. Pass `--apply` to write changes.\n\n## Quick Start\n\n```bash\n# Install\nclawhub install token-optimizer\n\n# Analyze current setup\npython cli.py analyze\n\n# Preview changes (dry-run by default)\npython cli.py optimize\n\n# Apply all optimizations\npython cli.py optimize --apply\n\n# Verify setup\npython cli.py verify\n\n# Quick health check\npython cli.py health\n\n# Configure heartbeat provider (preview)\npython cli.py setup-heartbeat --provider ollama\n\n# Configure heartbeat provider (apply)\npython cli.py setup-heartbeat --provider ollama --apply\n\n# List and restore backups\npython cli.py rollback --list\npython cli.py rollback --to \u003Cbackup-file>\n```\n\n## Configuration Generated\n\n```json\n{\n  \"agents\": {\n    \"defaults\": {\n      \"model\": { \"primary\": \"anthropic\u002Fclaude-haiku-4-5\" },\n      \"cache\": { \"enabled\": true, \"ttl\": \"5m\" }\n    }\n  },\n  \"heartbeat\": {\n    \"provider\": \"ollama\",\n    \"model\": \"ollama\u002Fllama3.2:3b\"\n  },\n  \"budgets\": {\n    \"daily\": 5.00,\n    \"monthly\": 200.00\n  }\n}\n```\n\n## Links\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected\u002Fopenclaw-token-optimizer\n- **Issues**: https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected\u002Fopenclaw-token-optimizer\u002Fissues\n\n## Author\n\n**Smart People Connected**\n- GitHub: [@smartpeopleconnected](https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected)\n- Email: smartpeopleconnected@gmail.com\n\n## License\n\nMIT License - Free to use, modify, and distribute.\n\n---\n\n*5 minutes to setup. 97% cost reduction. Stop burning tokens. Start building.*\n","# Token Optimizer for OpenClaw\n\nSlash your AI costs from $1,500+\u002Fmonth to under $50\u002Fmonth.\n\n## The Problem\n\nOpenClaw defaults prioritize capability over cost. You're burning expensive Sonnet\u002FOpus tokens on tasks Haiku handles perfectly, paying for API heartbeats that could run free locally, and loading 50KB of context when 8KB suffices.\n\n## The Solution\n\nFour core optimizations plus powerful tooling:\n\n### Model Routing (92% savings)\nHaiku by default, Sonnet\u002FOpus only when needed\n\n### Multi-Provider Heartbeats (100% savings)\nRoute heartbeats to Ollama, LM Studio, Groq, or disable entirely. Not locked to one provider.\n\n### Session Management (80% savings)\nLoad 8KB instead of 50KB context\n\n### Caching (90% savings)\nReuse prompts at 10% cost\n\n### New in v1.0.8\n- **Rollback** - List and restore config backups instantly\n- **Health Check** - Quick system status in one command\n- **Diff Preview** - See exactly what changes before applying\n- **--no-color** - CI\u002Fpipeline friendly output\n\n## Cost Comparison\n\n| Period | Before | After |\n|--------|--------|-------|\n| Daily | $2-3 | $0.10 |\n| Monthly | $70-90 | $3-5 |\n| Yearly | $800+ | $40-60 |\n\n## What's Included\n\n- One-command optimizer with diff preview\n- Multi-provider heartbeat (Ollama, LM Studio, Groq)\n- Config rollback and health check commands\n- Ready-to-use config templates\n- SOUL.md & USER.md templates\n- Optimization rules for agent prompts\n- Verification and savings reports\n\n## What This Tool Modifies\n\nAll changes are written under `~\u002F.openclaw\u002F`. A backup is created before any modification.\n\n| Path | Purpose |\n|------|---------|\n| `~\u002F.openclaw\u002Fopenclaw.json` | Main OpenClaw config (model routing, heartbeat, budgets) |\n| `~\u002F.openclaw\u002Fbackups\u002F` | Timestamped config backups (created automatically) |\n| `~\u002F.openclaw\u002Fworkspace\u002F` | Template files (SOUL.md, USER.md, IDENTITY.md) |\n| `~\u002F.openclaw\u002Fprompts\u002F` | Agent prompt optimization rules |\n| `~\u002F.openclaw\u002Ftoken-optimizer-stats.json` | Usage stats for savings reports |\n\n**Safe by default** - All commands run in dry-run (preview) mode. Pass `--apply` to write changes.\n\n## Quick Start\n\n```bash\n# Install\nclawhub install token-optimizer\n\n# Analyze current setup\npython cli.py analyze\n\n# Preview changes (dry-run by default)\npython cli.py optimize\n\n# Apply all optimizations\npython cli.py optimize --apply\n\n# Verify setup\npython cli.py verify\n\n# Quick health check\npython cli.py health\n\n# Configure heartbeat provider (preview)\npython cli.py setup-heartbeat --provider ollama\n\n# Configure heartbeat provider (apply)\npython cli.py setup-heartbeat --provider ollama --apply\n\n# List and restore backups\npython cli.py rollback --list\npython cli.py rollback --to \u003Cbackup-file>\n```\n\n## Configuration Generated\n\n```json\n{\n  \"agents\": {\n    \"defaults\": {\n      \"model\": { \"primary\": \"anthropic\u002Fclaude-haiku-4-5\" },\n      \"cache\": { \"enabled\": true, \"ttl\": \"5m\" }\n    }\n  },\n  \"heartbeat\": {\n    \"provider\": \"ollama\",\n    \"model\": \"ollama\u002Fllama3.2:3b\"\n  },\n  \"budgets\": {\n    \"daily\": 5.00,\n    \"monthly\": 200.00\n  }\n}\n```\n\n## Links\n\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected\u002Fopenclaw-token-optimizer\n- **Issues**: https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected\u002Fopenclaw-token-optimizer\u002Fissues\n\n## Author\n\n**Smart People Connected**\n- GitHub: [@smartpeopleconnected](https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected)\n- Email: smartpeopleconnected@gmail.com\n\n## License\n\nMIT License - Free to use, modify, and distribute.\n\n---\n\n*5 minutes to setup. 97% cost reduction. Stop burning tokens. Start building.*\n",{"name":5,"homepage":24,"triggers":25,"description":7},"https:\u002F\u002Fgithub.com\u002Fsmartpeopleconnected\u002Fopenclaw-token-optimizer",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"too expensive","costs too much","burning tokens","high token usage","reduce costs","save money","optimize tokens","budget exceeded","token optimization","cut api costs","lower ai spend","cheaper model","cost savings","api bill","spending too much","waste tokens","token budget","reduce token usage","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ft\u002Ftoken-optimizer",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill token-optimizer",{"tool":59,"command":60},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill token-optimizer",{"tool":62,"command":63},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill token-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ft\u002Ftoken-optimizer\u002FSKILL.md",true,[],[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]