Cost Optimize
Analyzes token usage across agents and models to recommend cost cuts with estimated dollar savings.
- CCM score
- 56 of 100
- skills.sh installs
- 756
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers model-tier fit, prompt cache hit rates, agent redundancy, and prompt efficiency across recent usage
- Loads 7 days of
cost-trackingmemory data, then ranks recommendations with current cost, projected cost, and savings - Flags downgrades to Haiku or Agent Booster for simple tasks, and warns when complex work runs on Haiku
- Emits
hooks_model-outcomeevents throughoutcome.mjsso routing learns from each downgrade's success or escalation
Install
$ npx -y skills add ruvnet/ruflo --skill cost-optimize -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cost Optimize
Analyze recent token usage across agents and models, identify waste, and recommend specific optimizations with estimated dollar savings.
When to use
When costs are higher than expected or you want to proactively reduce spending. Analyzes model selection efficiency, cache utilization, agent redundancy, and prompt efficiency.
Steps
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Agent Workflow & Planning, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the cost-optimize skill do?
cost-optimize analyzes recent token usage across agents and models, finds waste, and recommends specific optimizations with estimated dollar savings. It checks model fit, prompt cache hit rates, agent redundancy and prompt efficiency, then ranks the quick wins first.
How do I install the cost-optimize skill?
Run npx -y skills add ruvnet/ruflo --skill cost-optimize -y in a project. After that, cost-optimize can ask the agent to pull cost-tracking usage data and suggest cheaper model tiers where a task is simple enough.
When should I use cost-optimize?
Use cost-optimize when your agent costs are higher than expected or you want to cut spending before it grows. It reads the last seven days of cost-tracking data and reports where a cheaper model or better prompt caching would save money.
Which other skills are in the same category as cost-optimize?
cost-optimize sits in the Agent Workflow & Planning category with grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Its own focus is token spend, model selection and caching rather than planning or grilling a design.
More from ruvnet/ruflo
All 236- Ruflo Doctor755
- Test Gaps755
- Autopilot Loop753
- Diff Analyze753
- Research Synthesize752
- Vector Search752
- Ddd Aggregate751
- Memory Search751
- Dependency Check749
- Neural Train749
- Swarm Init749
- Security Scan748
- Trader Backtest748
- Adr Review747
- Horizon Track747
- Agentdb Query746
- Monitor Stream746
- Daa Agent745
- Loop Worker745
- Memory Bridge745
- Trader Signal745
- Autopilot Predict744
- Doc Gen744
- Safety Scan744
Similar to Cost Optimize
More Agent Workflow & Planningruflo-cost-trackerPluginruvnet/ruflo82.4K starsToken usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations
cost-reportSkillruvnet/ruflo730 installsGenerate per-agent and per-model token and USD cost reports with budget utilization and tier breakdown.
Token Optimizer McpMCP serverooples595 starsToken-cost savings and cache controls for MCP clients, backed by a prompt-compression proxy and usage billing.
token-optimizerSkillasif2bd/openclaw-token-optimizer397 installsCost-control toolkit that trims OpenClaw agent token spend through lazy loading, model routing, and budgets.
cost-latency-optimizerSkillpatricio0312rev/skills337 installsPractical code patterns for cutting LLM spend and response times through caching, model routing, batching, and streaming.
optimization-suggestSkillhoangsonww/claude-code-agent-monitor1.2K starsData-driven optimization plan for Claude Code cost, speed, quality, and workflow, drawn from session history.