Skip to content
Skill

Principle explain the number

Checks that a measured number reflects the intended work before you trust it

Principle explain the number is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
5.1K
Last commit
License
MIT
Listing updated

Similar skills

About Principle explain the number

This skill guides an agent through the reasoning that should happen before a measured figure such as a speedup, latency, throughput or eval score is reported or acted on. It asks the agent to write down the decision a result would drive, along with the noise floor, and to stop when run-to-run variation outweighs the effect being measured.

The workflow centres on finding the resource or code path that limits the result, backed by a profile or counters captured during the run rather than an assumption from reading code. It also lists alternative explanations for a number, such as errors, skipped or cached work, code that never executed, an untuned comparison side, or a component too small to matter, and asks the agent to rule each one out with evidence. The run count, spread and identified limiter should travel with the reported figure.

For performance numbers the skill points to a companion benchmark-checklist skill. For eval results it asks whether every run actually completed the task, whether the gap holds across trials and models, and whether the scenario is relevant. No scripts are included, and the skill runs as a non-user-invocable principle that Claude Code loads when a measurement is in play.

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (1 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the pstack plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude

Or copy only this skill to ~/.claude/skills/principle-explain-the-number:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/principle-explain-the-number &&
cp -R "$tmp/plugins/pstack/skills/principle-explain-the-number" ~/.claude/skills/principle-explain-the-number &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/principle-explain-the-number inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/principle-explain-the-number to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/principle-explain-the-number &&
cp -R "$tmp/plugins/pstack/skills/principle-explain-the-number" ~/.agents/skills/principle-explain-the-number &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/principle-explain-the-number inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/principle-explain-the-number to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/principle-explain-the-number &&
cp -R "$tmp/plugins/pstack/skills/principle-explain-the-number" ~/.cursor/skills/principle-explain-the-number &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/principle-explain-the-number inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/principle-explain-the-number

Or copy the folder to ~/.gemini/skills/principle-explain-the-number yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/principle-explain-the-number:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/principle-explain-the-number &&
cp -R "$tmp/plugins/pstack/skills/principle-explain-the-number" ~/.copilot/skills/principle-explain-the-number &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/principle-explain-the-number inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git

Then copy pstack-claude/plugins/pstack/skills/principle-explain-the-number into your agent's skills folder as principle-explain-the-number. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Decide before running
Records the outcome that would change the decision and the noise floor before any measurement starts.
Identify the limiter
Asks what resource or code path bounds the result, supported by profiles or counters from the run.
Rule out alternative causes
Checks whether the number might reflect errors, cached or skipped work, dead code or noise instead of the intended work.
Keep context with results
Requires run count, spread and limiter to be reported alongside the figure.
Eval result checks
Asks whether every run completed the task and whether gaps hold across trials, models and scenarios.

Good for

  • Verify that a claimed speedup is real before reporting it
  • Check whether a latency regression is noise or a true change
  • Confirm an eval score reflects tasks that were actually completed
  • Explain why a throughput number stops improving at a certain level
  • Review a benchmark result before merging a performance change

Principle explain the number FAQ

When does Principle explain the number apply?

It applies before measuring, and before trusting, reporting or acting on a measured number such as a speedup, regression, throughput, latency or eval result.

Does Principle explain the number run any scripts?

No. The skill contains no scripts and consists of a SKILL.md with guidance and one reference link.

What does Principle explain the number recommend for performance benchmarks?

For performance numbers it directs the agent to the benchmark-checklist skill.

Can users invoke Principle explain the number directly?

No. It is marked as not user-invocable, so the agent loads it when a task matches.

How do I install Principle explain the number in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/principle-explain-the-number to use it in all your projects, or to .claude/skills/principle-explain-the-number in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.

Does Principle explain the number run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Principle explain the number?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Principle explain the number?

The closest alternatives to Principle explain the number are Benchmark checklist, Performance reasoning, Performance, Optimize and Benchmark optimization loop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from michael-denyer/pstack-claude

  1. Makes the agent read pstack's poteto-mode skill first and follow its routing

    • Open source
    • 5.1K GitHub stars
    • Developer tools
  2. Has the agent restate your goals and the problem you're solving in its own words

    • Open source
    • 5.1K GitHub stars
    • Productivity
  3. Sketches types, signatures and module layout before the agent writes code

    • Open source
    • 5.1K GitHub stars
    • Developer tools
  4. Runs parallel candidate attempts at a task, then merges the best parts into one artifact

    • Open source
    • 5.1K GitHub stars
    • Developer tools
  5. Drafts a personal working-style skill from your past agent conversations

    • Open source
    • 5.1K GitHub stars
    • Developer tools