Benchmark Optimization Loop Skill
- Installs
- 8.2k
- Repo stars
- 315k
- Repo updated
- Dec 1, 2026
TL;DR
benchmark-optimization-loop is a Claude Code skill that converts vague speed requests into bounded, measured optimization loops for developers who need latency, throughput, or cost improvements with correctness preserved
Install if
Backend engineers optimizing latency, throughput, memory, or cost who need bounded benchmark loops instead of unmeasured rewrite attempts.
Skip if
Greenfield feature development with no performance baseline, UI-only polish work, or tasks where correctness testing infrastructure does not yet exist.
npx skills add https://github.com/affaan-m/ECC --skill benchmark-optimization-loopTry it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add the remote connector:
claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:affaan-m/ecc#benchmark-optimization-loop (Benchmark Optimization Loop) and follow it.Try it first through the Skillselion MCP - nothing to install, nothing on disk.
1. Add this URL as a custom connector (Claude.ai, ChatGPT or Cursor):
https://mcp.skillselion.com/mcp2. Ask your agent:
Use Skillselion load_skill to load skill:affaan-m/ecc#benchmark-optimization-loop (Benchmark Optimization Loop) and follow it.On this page
- What benchmark-optimization-loop covers
- benchmark-optimization-loop by the numbers
- What does the Benchmark Optimization Loop skill produce?
- What files ship with benchmark-optimization-loop?
- Which skills are related to benchmark-optimization-loop?
- What are the Benchmark Optimization Loop skill forks?
- Benchmark Optimization Loop skill FAQ
- More in this repo
What benchmark-optimization-loop covers
- Converts "make it 20x faster" or "try 50 recursive optimizations" into a measurable loop
- Requires baseline, correctness gate, chosen metric, and search budget before starting
- 8-step loop: measure baseline, identify bottlenecks, generate hypothesis-driven variants, run tests, reject unsafe ones,
- Maintains a Variant Table tracking hypothesis, command, time, correctness, and notes
- Hard gate: never optimize without existing operation, correctness test, metric, baseline, and bounded budget
benchmark-optimization-loop by the numbers
| All-time installs | 8,216 | skills.sh registry |
|---|---|---|
| Repo stars | ★ 315k | GitHub |
| Repo last updated | December 1, 2026 | GitHub |
| Repository | affaan-m/ECC ↗ | |
Data as of Dec 2, 2026 (Skillselion catalog sync)
What does the Benchmark Optimization Loop skill produce?
Benchmark baseline report, variant comparison results, and selected best implementation with measured metric improvements.
- Benchmark baseline
- Variant comparison table
- Selected optimized implementation
What files ship with benchmark-optimization-loop?
Benchmark Optimization Loop
Use this skill to convert "make it 20x faster" or "try 50 recursive optimizations" into a bounded measured loop that can actually improve a system.
Required Baseline
Do not optimize until these exist:
- the operation being optimized;
- the correctness gate that must stay green;
- the metric: wall time, p95 latency, rows/sec, cost/run, memory, error rate;
- the current baseline;
- the search budget: max variants, max time, max spend, max data impact.
If the user asks for an unrealistic target, keep the ambition but make the loop bounded and measurable.
Loop
- Measure the baseline.
- Identify bottlenecks from evidence.
- Generate variants that test one hypothesis each.
- Run variants with the same input shape.
- Reject variants that fail correctness, safety, or reproducibility.
- Promote the fastest safe variant.
- Codify the winning path in a script, command, test, config, or doc.
- Rerun the baseline and winner to confirm the delta.
Variant Table
Track variants like this:
Variant | Hypothesis | Command | Time | Correct? | Notes
baseline | current path | npm run job | 120s | yes | stable
batch-500 | fewer round trips | npm run job -- --batch 500 | 42s | yes | winner
parallel-8 | more workers | npm run job -- --workers 8 | 31s | no | rate limitedRecursive Search
For recursive or hyperparameter work:
- persist every run to a ledger;
- compare against the prior accepted winner, not only the previous run;
- keep a holdout or replay check;
- stop when improvement is within noise, correctness fails, cost exceeds the budget, or the search starts changing more variables than it can explain.
Use phrases like "best measured safe variant" instead of "global optimum" unless the search space was actually exhaustive.
Promotion Gate
A variant cannot become the new default until:
- correctness tests pass;
- the performance delta is repeated or explained;
- rollback is obvious;
- the change is encoded in source control or a durable runbook;
- the final summary includes exact commands and measurements.
Which skills are related to benchmark-optimization-loop?
What are the Benchmark Optimization Loop skill forks?
Benchmark Optimization Loop has 1 known copy in the catalog totaling 1.5k installs. They canonicalize to this original listing.
- affaan-m - 1.5k installs
Benchmark Optimization Loop skill FAQ
Who is the Benchmark Optimization Loop skill for?
Backend engineers optimizing latency, throughput, memory, or cost who need bounded benchmark loops instead of unmeasured rewrite attempts. Skip if: Greenfield feature development with no performance baseline, UI-only polish work, or tasks where correctness testing infrastructure does not yet exist.
When should I use benchmark-optimization-loop?
A developer asks to make something faster, benchmark latency or throughput, try optimization variants, or choose the best implementation by repeated measured tests.
What baseline is required before benchmark-optimization-loop runs?
benchmark-optimization-loop requires three prerequisites: the operation being optimized, a correctness gate that must stay green, and a chosen metric such as wall time, p95 latency, rows/sec, cost/run, or memory usage.
Which metrics does benchmark-optimization-loop track?
benchmark-optimization-loop supports wall time, p95 latency, rows per second, cost per run, and memory as optimization targets. Each variant is measured against the baseline while the correctness gate remains passing.
Add a benchmark-optimization-loop badge
Show developers this skill is listed on Skillselion. Paste this into your README.