flow-benchmark
Skill1 starsChanged 47 days agoMITView on GitHub
Performance measurement with a reproducible baseline and stated uncertainty. Use before optimizing, or to compare alternatives on speed, memory or size. Feeds `flow-work` or `flow-refactor` with evidence.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- flow-a11ySkill
- flow-adversarial-reviewSkill
- flow-animateSkill
- flow-apiSkill
- flow-brainstormSkill
- flow-commitSkill
- flow-data-migrateSkill
- flow-depsSkill
- flow-designSkill
- flow-diagnoseSkill
- flow-docsSkill
- flow-git-fixSkill
- flow-handoffSkill
- flow-migrateSkill
- flow-observeSkill
- flow-onboardSkill
- flow-orchestrateSkill
- flow-planSkill
- flow-pr-fixSkill
- flow-prototypeSkill
- flow-prune-agent-setupSkill
- flow-redesignSkill
- flow-refactorSkill
- flow-releaseSkill
- flow-repo-briefSkill
- flow-reviewSkill
- flow-shipSkill
- flow-simplifySkill
- flow-specializeSkill
- flow-stylesSkill
- flow-testSkill
- flow-triageSkill
- flow-uiSkill
- flow-verifySkill
- flow-workSkill
- flow-write-skillSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Run baseline and candidate under controlled conditions, changing one variable per experiment.
- Distinctive: line 26
Check tradeoffs in memory, CPU, responsiveness, bundle size and complexity.
- Very specific: line 44
Use flow-work or flow-refactor only for an optimization the evidence justifies.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Benchmark
Define what "better" means before measuring. Keep raw results and compare like with like; never report a single attractive timing.
Process
- State metric, workload, target and the decision it informs. Define the timing boundary and cache/process state: cold startup includes initialization; steady-state throughput may warm up. Keep cold and warm experiments separate.
- Record baseline revision, runtime/build settings, hardware/environment, fixtures, concurrency, sample unit and tool/version. Time setup only when it is part of the metric; never warm away the behavior under investigation.
- Run baseline and candidate under controlled conditions, changing one variable per experiment. Interleave A/B samples when drift matters; isolate data/state between samples.
- Collect enough observations for the claim. Report median, tails such as p95/p99 only when sample size supports them, variance, outliers and known noise. No false precision, no unexplained outlier removal.
- Check tradeoffs in memory, CPU, responsiveness, bundle size and complexity. Profile when the result needs an explanation. A lower score is not automatically a better user experience.
- Save the harness or command, raw results and comparison so others can rerun it. State whether the effect is large relative to noise.
Anti-patterns
- Warming a cold-start benchmark or excluding the initialization under investigation.
- Comparing development and production builds as if only the implementation changed.
- Reporting a best run or p99 from a handful of samples.
- Claiming causation from timing alone.
Done when
- Baseline and candidate share a relevant reproducible workload and timing boundary.
- Raw results, uncertainty and meaningful regressions are visible.
- The evidence supports an optimization decision or names what better measurement is needed.
Use flow-work or flow-refactor only for an optimization the evidence justifies.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

