Cost Benchmark
Runs a corpus benchmark comparing a local booster against optional LLM baselines and persists results.
- CCM score
- 71 of 100
- skills.sh installs
- 679
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the corpus benchmark run from
v3/, with booster-only, Gemini, and Sonnet/Opus baseline modes - Writes per-case and summary results to
docs/benchmarks/runs/, includinglatest.jsonand timestamped history files - Enforces a smoke gate of
winRateat or above 0.80 on Tier 1 cases, whileescalationRateis reported only - Designed for pre-release regression checks, corpus expansion, and verifying cost claims before publishing
Install
$ npx -y skills add ruvnet/ruflo --skill cost-benchmark -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cost Benchmark
Runs scripts/bench.mjs against the structural+adversarial corpus and writes per-case + summary results to docs/benchmarks/runs/. This is the verification gate that backs every measurable claim in cost-booster-edit / cost-booster-route.
When to use
- Before publishing a release — verify booster win rate didn't regress.
- After expanding
bench/booster-corpus.json— confirm new cases route correctly. - When auditing a "claimed upstream" tag — flip it to "verified" once the bench supports it.
- On a cost question ("is Sonnet 4.6 cheaper than Opus 4.7 for these tasks?") — re-run with
BENCH_ANTHROPIC=1.
Steps
-
Run the bench from
v3/(whereagent-boosterresolves):( cd v3 && node ../plugins/ruflo-cost-tracker/scripts/bench.mjs ) # booster only — free, ~85 ms ( cd v3 && BENCH_LLM_BASELINE=1 node ../plugins/ruflo-cost-tracker/scripts/bench.mjs ) # + Gemini 2.0 Flash (cheap) ( cd v3 && BENCH_LLM_BASELINE=1 BENCH_ANTHROPIC=1 \ node ../plugins/ruflo-cost-tracker/scripts/bench.mjs ) # + Sonnet 4.6 + Opus 4.7
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Agent Workflow & Planning, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the cost-benchmark skill do?
The cost-benchmark skill runs the scripts/bench.mjs corpus benchmark against the structural and adversarial corpus, with a local booster and optional Gemini, Sonnet and Opus baselines. It writes per-case and summary results to docs/benchmarks/runs/, serving as the verification gate for cost-booster-edit and cost-booster-route.
How do I install the cost-benchmark skill?
Run npx -y skills add ruvnet/ruflo --skill cost-benchmark -y in your project. After that, cost-benchmark lets the agent run the bench from v3 and read the markdown summary it prints.
What do I need to run the cost-benchmark skill with paid baselines?
Running cost-benchmark with Gemini or Anthropic baselines needs the BENCH_LLM_BASELINE or BENCH_ANTHROPIC flags set to 1. API keys are pulled from gcloud secrets (GOOGLE_AI_API_KEY and ANTHROPIC_API_KEY), or you can override them with BENCH_LLM_API_KEY and BENCH_ANTHROPIC_API_KEY.
Where does cost-benchmark store its results?
The cost-benchmark skill writes a pointer to the latest run at docs/benchmarks/runs/latest.json and a timestamped historical record in the same folder. Later skills such as cost-report read latest.json for live tier-spend numbers.
More from ruvnet/ruflo
All 236- Cost Booster Edit679
- Browser674
- Witness656
- Swarm Orchestration2.1K
- Agent Arch System Design1.4K
- Security Audit1.4K
- Agent Workflow1.4K
- Github Project Management1.4K
- Workflow Automation1.3K
- Github Code Review1.3K
- Agent Swarm1.3K
- Agent Spec Mobile React Native1.3K
- Agent Trading Predictor1.3K
- Github Workflow Automation1.3K
- Agent Analyze Code Quality1.2K
- Agent Ops Cicd Github1.2K
- Agent Workflow Automation1.2K
- Memory Management1.2K
- Agent Performance Optimizer1.2K
- Agent Architecture1.2K
- Github Multi Repo1.2K
- Agent Coordination1.2K
- Pair Programming1.2K
- Agent Payments1.2K
Similar to Cost Benchmark
More Agent Workflow & Planningcost-trendSkillruvnet/ruflo683 installsRead-only trend report over saved benchmark runs that flags win-rate and latency regressions the pass/fail gate misses.
cost-reportSkillruvnet/ruflo730 installsGenerate per-agent and per-model token and USD cost reports with budget utilization and tier breakdown.
explore-runSkilllllllllama/rigorpilot-skills365.2K installsBounded exploratory run planning for deep learning repos, with fair-comparison caveats and no-overclaim summaries.
llm-eval-harnessPlugindaymade/claude-code-skills1.6K starsTests/benchmarks a third-party LLM endpoint (OpenAI- or Anthropic-compatible): availability, fidelity, speed, concurrency, protocol compliance, quality regressi
model-evaluation-benchmarkSkillrysweet/amplihack164 installsOrchestrates end-to-end AI model benchmarks from execution through cleanup, following the Benchmark Suite V3 reference.