ruvnet avatar

Cost Optimize

This analyzes your token usage patterns across the last week and tells you exactly where you're bleeding money. It looks for agents running Sonnet when they could use Haiku, poor cache hit rates (should be above 60%), and redundant agents doing overlapping work. For each issue it calculates actual dollar savings, not just percentages. The clever bit is step 8: it auto-generates the commands to feed outcomes back into the routing system so the cost recommendations actually improve over time. If you're running a multi-agent setup and costs feel higher than they should be, this gives you a prioritized hit list with real numbers attached.

skills.sh installs
747
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/ruvnet/ruflo
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs