Tooluck logoTooluck
SKILL.md

principle-explain-the-number

Agent skill frombacknotprop/pstack

Apply before you measure, and before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

How to install principle-explain-the-number

install principle-explain-the-number
# install the pstack pack with the skills CLI
npx skills add backnotprop/pstack

# or add only this skill to Claude Code: copy the folder

skills/principle-explain-the-number/

# into

~/.claude/skills/principle-explain-the-number/ (all projects)

.claude/skills/principle-explain-the-number/ (one project)

skills/principle-explain-the-number/SKILL.md

MITFull file
1# Explain the Number
2
3- **Write the decision before you run.** Name the result that would change a decision, and the noise floor. Stop when the run-to-run spread is larger than the effect.
4- **Ask "why not double?"** Name the resource or code path that bounds the result, such as a core, a lock, the disk, the network, or the load generator itself. Get it from a profile or from system counters taken during a run, then map it to source. A guess from reading the code is not a limiter. If you cannot say why the number is not twice as good, you do not know what you measured.
5- **List what else the number could be measuring, and rule out each one with evidence.** The usual suspects are errors, skipped or cached work, code that never ran, an untuned side (one left on default settings), noise, and a piece too small to matter end to end.
6- **Keep the evidence with the number.** Put the run count, the spread, and the limiter in the notes or a linked artifact.
7
8For a performance number, run the full procedure with the [benchmark-checklist](../benchmark-checklist/SKILL.md) skill. For an eval result, ask the same of the trials: did every run do the task, does the gap hold across trials and models, and does the scenario matter.
9
10You skipped this when a run started without the result that would change a decision, when the evidence behind a number has no run count, no spread, or no named limiter, or when the time saved is larger than the time the changed piece took.
11…

Excerpt shown under the repository's MIT license.

More skills in pstack

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates