Skip to content
ruvnet avatar

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
View on GitHub

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-tracking memory 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-outcome events through outcome.mjs so routing learns from each downgrade's success or escalation

Install

$ npx -y skills add ruvnet/ruflo --skill cost-optimize -y

Installs 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

Similar to Cost Optimize

More Agent Workflow & Planning