performance-regression-verification

performance-regression-verification is a skill for Claude Code, Codex from andrewsrigom/agent-skills. It costs 49 tokens per session (433 once invoked), scanned A, original, MIT.

A method for checking whether a code change genuinely improves or harms application speed. It compares the same user scenario before and after the change using a relevant measurement.

In plain words
What is it for?
Use it to verify optimizations, investigate regressions, choose useful performance measurements, and report how reliable the comparison is.
Why use it?
It separates real, user-visible improvements from machine-specific results, random benchmark variation, and changes that make one path faster while harming correctness or stability.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to verify optimizations, investigate regressions, choose useful performance measurements, and report how reliable the comparison is.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewsrigom/agent-skills/performance-regression-verification
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add andrewsrigom/agent-skills --skill performance-regression-verification
Clone the repo
git clone --depth 1 https://github.com/andrewsrigom/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for performance-regression-verification

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewsrigom/agent-skills/performance-regression-verification/github.svg)](https://agentmods.dev/skills/andrewsrigom/agent-skills/performance-regression-verification)
Your own site
<a href="https://agentmods.dev/skills/andrewsrigom/agent-skills/performance-regression-verification"><img src="https://agentmods.dev/badge/skills/andrewsrigom/agent-skills/performance-regression-verification/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for performance-regression-verification

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrewsrigom/agent-skills/performance-regression-verification"><img src="https://agentmods.dev/badge/skills/andrewsrigom/agent-skills/performance-regression-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 433 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00433
Opus 5 $0.00024 $0.00217
Sonnet 5 $0.00010 $0.00087
Haiku 4.5 $0.00005 $0.00043

Measured 8d ago against content hash c5acae6c3926, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

performance-regression-verification scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

performance/performance-regression-verification/SKILL.md · 67 lines

What it actually says

Performance Regression Verification

Use this skill when the job is proving performance got better, stayed stable, or regressed in a meaningful way.

Scope

  • before and after comparison
  • guarding against accidental slowdowns
  • verifying optimizations before shipping
  • choosing the right metric and acceptance bar
  • separating real improvement from benchmark noise

Default path

  1. Name the scenario being protected.
  2. Choose the metric that matters for that scenario.
  3. Compare the same path before and after.
  4. Check both user-visible improvement and correctness.
  5. Report confidence and residual risk instead of pretending performance is binary.

When to deviate

  • Use percentile data when tail latency matters more than averages.
  • Use smoke thresholds rather than exact equality when CI noise is unavoidable.
  • Prefer field telemetry over lab checks when synthetic runs miss the real pain.

Guardrails

  • Compare the same scenario, environment, and data shape when possible.
  • Do not call a change “faster” without saying what metric improved.
  • Do not treat tiny wins as meaningful if the user-visible bottleneck remains.
  • Keep correctness, stability, and resource usage in the verification story.

Avoid

  • “feels faster” as the only evidence
  • comparing different inputs or environments
  • only reporting averages when tail latency is the real issue
  • dropping regression checks once the optimization ships

Verification checklist

  • the protected scenario is explicit
  • before and after use the same metric
  • correctness was checked alongside speed
  • the improvement or regression is stated with confidence level
  • residual noise or risk is named

Output Shape

When answering with this skill, prefer:

  • scenario under test
  • metric and threshold
  • before vs after result
  • confidence level
  • ship / hold recommendation

References

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 67 lines · 49 tokens per session scan A c5acae6c3926

Subscribe to this mod's changes

performance-regression-verification is a skill published in the GitHub repository andrewsrigom/agent-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 49 tokens to every session and 433 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens