Cost Optimizer
Description
> Save 60-80% on your AI token costs. Zero config required.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
π° Cost Optimizer
Save 60-80% on your AI token costs. Zero config required.
[](https://github.com/fullstackcrew-alpha/skill-cost-optimizer/stargazers) [](https://clawhub.ai/s/cost-optimizer) [](./openclaw.json) [](./LICENSE) [](#compatibility)
If you find this useful, please give it a star β it helps others discover it. [](https://nodejs.org)
The Problem
Running AI-powered dev tools with default settings is **shockingly expensive**:
| Metric | Default (all Opus) |
|---|---|
| Daily token usage | ~500K tokens |
| Daily cost | ~$13.50/day |
| Monthly cost | ~$405/month |
| Heartbeat alone | $50-100/month |
Most of that spend is wasted β heartbeat checks, file listings, and simple queries don't need a $27/M-token model.
The Solution
**Cost Optimizer** intelligently routes each task to the cheapest model that can handle it. With the `balanced` preset, you cut costs by **84%** β from $405/month down to ~$64/month.
Five subcommands. One skill. Massive savings.
Features
| Command | What it does |
|---|---|
/cost-route |
Classifies your prompt (P0-P4) and recommends the optimal model |
/cost-compress |
Compresses conversation context when it exceeds 50K tokens |
/cost-heartbeat |
Optimizes heartbeat interval, content, and model selection |
/cost-report |
Generates detailed cost reports with ASCII charts and trends |
/cost-config |
Generates optimized configuration with three preset tiers |
Quick Start
**Install:**
openclaw install cost-optimizer
**Use:**
# See your current spending
/cost-optimizer report
# Get a routing recommendation for your next prompt
/cost-optimizer route
# Generate optimized config (balanced preset)
/cost-optimizer config
That's it. No API keys, no setup, no config files needed.
Commands
`/cost-route` β Smart Model Routing
...
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
π₯ The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
βAI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.π― εε«δΏ‘ζ―θΏθ½½οΌδ½ η
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI