performance-regression-estimator

performance-regression-estimator is a skill for Codex from Eliyce/paqad-ai. It costs 29 tokens per session (912 once invoked), scanned A, original, MIT.

A planning review that looks for likely speed and cost problems in a proposed code change before implementation. It checks issues such as repeated database queries, missing pagination, and sequential network calls.

In plain words
What is it for?
Use it for changes involving data access, request handlers, scheduled jobs, or stated latency and throughput targets.
Why use it?
It helps catch slowdowns and higher operating costs during planning, before load testing or users expose them.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for changes involving data access, request handlers, scheduled jobs, or stated latency and throughput targets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eliyce/paqad-ai/performance-regression-estimator
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 Eliyce/paqad-ai --skill performance-regression-estimator
Clone the repo
git clone --depth 1 https://github.com/Eliyce/paqad-ai

Made for: 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-estimator

README.md
[![agentmods](https://agentmods.dev/badge/skills/eliyce/paqad-ai/performance-regression-estimator/github.svg)](https://agentmods.dev/skills/eliyce/paqad-ai/performance-regression-estimator)
Your own site
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/performance-regression-estimator"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/performance-regression-estimator/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-estimator

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliyce/paqad-ai/performance-regression-estimator"><img src="https://agentmods.dev/badge/skills/eliyce/paqad-ai/performance-regression-estimator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 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.00029 $0.00912
Opus 5 $0.00015 $0.00456
Sonnet 5 $0.00006 $0.00182
Haiku 4.5 $0.00003 $0.00091

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

Security

Grade A, and why

performance-regression-estimator 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/lint-output.sh, scripts/scan-perf-smells.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

runtime/base/skills/performance-regression-estimator/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What It Does

Reads a proposed implementation outline and the changed files, scans for known performance hazards (N+1 queries, sync-in-async, missing pagination, suspicious caching, sequential network calls, hot-path logging), and classifies each by severity and hot-path placement.

The point is to catch latency and cost regressions during planning, not after a load test or a customer-facing slowdown.

Use This When

Use this in the graduated and full lanes whenever the change touches data access, request handlers, scheduled jobs, or anything with a stated latency or throughput requirement. Skip when the change is purely structural (renames, moves) and exercises no new code paths.

Inputs

  • Read the proposed solution at proposed_solution_path first.
  • Read the changed-file list to scope hazards to code that is actually changing.
  • Read canonical module docs in module_doc_paths for declared latency budgets and throughput targets — a hazard on a hot path with a sub-100ms budget is much more severe than the same hazard on a daily batch job.
  • Read references/perf-hazards.md before classifying any hazard so the catalog and severity rubric stay consistent.

Procedure

  1. Enumerate code paths the change introduces/modifies (handlers, jobs, consumers, libs); mark each as hot-path or not based on canonical module docs.
  2. Run scripts/scan-perf-smells.sh <changed-files...> to surface candidate hazards (N+1, await-in-loop, async-map without Promise.all, deep-clone-via-JSON, log-in-hot-path, unbounded-pagination, cache-without-invalidation, sequential-fetch).
  3. Classify each detected hazard using assets/severity-rubric.txthigh only when on a hot path; medium on cold path with unbounded volume; low otherwise.
  4. For every high hazard, propose a concrete remediation tied to the same file:line.
  5. Format per assets/output.template.md; validate with scripts/lint-output.sh.

Output Contract

  • Return a heading named Performance Hazards.
  • Provide a Hazard Map table with columns #, Hazard, Path, On hot path?, Severity, Remediation.
  • Provide a Recommended Pre-Merge Actions ordered list of the high-severity hazards' remediations.
  • Provide an Open Questions section listing paths whose hot-path status could not be confirmed from the available docs.
  • When no hazards are detected, return Performance Hazards: none detected. exactly.

Read the full file on GitHub · 80 lines

Files

What ships with it

6 files 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. 12d ago First seen · 80 lines · 29 tokens per session scan A 44d4205d0410

Subscribe to this mod's changes

performance-regression-estimator is a skill published in the GitHub repository Eliyce/paqad-ai (8 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 912 once invoked, about $0.0001 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.