Cost Trend
Read-only trend report over saved benchmark runs that flags win-rate and latency regressions the pass/fail gate misses.
- CCM score
- 67 of 100
- skills.sh installs
- 683
- GitHub stars
- 82.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers drift in win rate, average and p99 latency, escalation rate, and speedup versus Gemini across all
docs/benchmarks/runs/*.jsonfiles - Runs
trend.mjswith optionalTREND_FORMAT=jsonfor JSON output orTREND_LIMIT=10to consider only the most recent runs - Flags a regression when win rate drops between the first and last run or average latency rises 1.5× or more
- Designed for pre-release checks, corpus expansion reviews, and
agent-boosterupgrades, paired with thecost-benchmarkskill that produces the run files
Install
$ npx -y skills add ruvnet/ruflo --skill cost-trend -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cost Trend
The smoke gate is binary (winRate ≥ 0.80 → pass/fail). The corpus benchmarks captured over time form a curve — and curves catch regressions the gate misses (win rate slowly creeping from 100% to 85% is "still passing" by smoke but a real degradation).
This skill reads every persisted run in docs/benchmarks/runs/*.json and reports first→last deltas plus a per-run series, flagging regressions in win rate or latency.
When to use
- Before a release — check that the speedup hasn't drifted.
- After expanding the corpus — verify older runs still hit the same win rate on the new corpus they reflected.
- After upgrading
agent-booster— surface latency / strategy changes.
Steps
-
Run the trend script from the project root:
node plugins/ruflo-cost-tracker/scripts/trend.mjsOptional env:
TREND_FORMAT=json— emit JSON instead of markdownTREND_LIMIT=10— consider only the most recent N runs
-
Inspect the drift summary — first vs last on win rate, avg latency, p99, escalation rate, speedup vs Gemini.
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- Agent Workflow & Planning, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the cost-trend skill do?
The cost-trend skill reads every run file in docs/benchmarks/runs and reports how win rate, latency, escalation rate and LLM-baseline cost change over time. It shows first-to-last deltas, a per-run series, and flags regressions in win rate or latency.
How do I install the cost-trend skill?
Run npx -y skills add ruvnet/ruflo --skill cost-trend -y in your project. The skill then lets the agent run the trend script to check whether benchmark performance has drifted before a release.
When should I use cost-trend instead of the smoke gate?
Use cost-trend when you want to catch slow regressions that the binary smoke gate misses, since win rate can creep down while still passing. It is also useful after expanding the corpus or upgrading agent-booster. It sits in the Agent Workflow and Planning category alongside grill-me and grill-with-docs.
What does cost-trend need to run?
It needs the benchmark run JSON files produced by cost-benchmark and the Bash tool, and it runs node plugins/ruflo-cost-tracker/scripts/trend.mjs from the project root. You can set TREND_FORMAT=json for JSON output or TREND_LIMIT to consider only the most recent runs.
More from ruvnet/ruflo
All 236- Cost Conversation682
- Cost Export681
- Cost Benchmark679
- 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
Similar to Cost Trend
More Agent Workflow & Planningcost-benchmarkSkillruvnet/ruflo679 installsRuns a corpus benchmark comparing a local booster against optional LLM baselines and persists results.
agent-benchmark-suiteSkillruvnet/ruflo1.1K installsComprehensive benchmarking, regression detection, and performance validation for swarm and service workloads.
rag-perfSkillnvidia/skills2.2K installsBenchmark a deployed NVIDIA RAG server with a YAML-driven profiling pass and aiperf load test.
performance-benchmarkerPluginccplugins/awesome-claude-code-plugins1K starsUse this agent for comprehensive performance testing, profiling, and optimization recommendations. This agent specializes in measuring speed, identifying bottle
custom-metricsSkilllaunchdarkly/ai-tooling1.9K installsCreate, track, retrieve, update, and delete custom business metrics that tie agent outcomes to configs.