prompt-regression-testing

prompt-regression-testing is a skill for Codex from jeremylongworth-source/AgentSkills. It costs 46 tokens per session (291 once invoked), scanned A, original, MIT.

A set of repeatable checks for prompts used with coding-agent skills and workflows. It tests whether the agent still behaves as intended after changes.

In plain words
What is it for?
It helps create normal, edge, and failure-case prompts with expected behavior, acceptance rules, and instructions for when to rerun them.
Why use it?
It helps catch regressions, such as missed cases, unsafe actions, or skills triggering when they should not.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit It helps create normal, edge, and failure-case prompts with expected behavior, acceptance rules, and instructions for when to rerun them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeremylongworth-source/agentskills/prompt-regression-testing
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 jeremylongworth-source/AgentSkills --skill prompt-regression-testing
Clone the repo
git clone --depth 1 https://github.com/jeremylongworth-source/AgentSkills

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 prompt-regression-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeremylongworth-source/agentskills/prompt-regression-testing/github.svg)](https://agentmods.dev/skills/jeremylongworth-source/agentskills/prompt-regression-testing)
Your own site
<a href="https://agentmods.dev/skills/jeremylongworth-source/agentskills/prompt-regression-testing"><img src="https://agentmods.dev/badge/skills/jeremylongworth-source/agentskills/prompt-regression-testing/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 prompt-regression-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeremylongworth-source/agentskills/prompt-regression-testing"><img src="https://agentmods.dev/badge/skills/jeremylongworth-source/agentskills/prompt-regression-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 291 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.00046 $0.00291
Opus 5.5 $0.00018 $0.00116
Sonnet 5.5 $0.00009 $0.00058
Haiku 4.5 $0.00005 $0.00029

Measured 1mo ago against content hash 766857596ffd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prompt-regression-testing 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 1mo 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.

skills/prompt-regression-testing/SKILL.md · 42 lines

What it actually says

Prompt Regression Testing

Core Workflow

  1. Identify the behavior that must not regress and the artifact it affects.
  2. Create compact prompts for normal, edge, and known-failure cases.
  3. Define expected invariants rather than brittle exact wording.
  4. Pair each prompt with acceptance criteria and expected routing.
  5. Add negative cases for over-triggering, unsafe actions, or missing context.
  6. Record when the prompt should be re-run: before release, after skill edits, after host behavior changes, or after incidents.

Safety Rules

  • Do not include secrets, real customer data, or sensitive incidents in committed prompt tests.
  • Do not make tests depend on exact prose unless exact language is the product.
  • Do not rely only on happy-path prompts for high-risk skills.

Deliverable Shape

For prompt regression plans, provide:

  • Behavior under protection
  • Prompt set
  • Expected routing
  • Acceptance criteria and invariants
  • Negative cases
  • Re-run trigger
  • Validation command or review path

References

  • Read references/prompt-regression-testing-checklist.md when designing prompt regression coverage.
Files

What ships with it

2 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. 1mo ago First seen · 42 lines · 46 tokens per session scan A 766857596ffd

Subscribe to this mod's changes

prompt-regression-testing is a skill published in the GitHub repository jeremylongworth-source/AgentSkills (1 stars, last pushed 17d ago), licensed MIT. It adds 46 tokens to every session and 291 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

Other skills, from other repositories

tester

Run end-to-end web quality audits with Playwright and Lighthouse using existing project scripts first. Use when the user says /tester, e2e test, smoke test, Playwright audit, Lighthouse audit, performance audit, accessibility audit, dark mode audit, mobile audit, or asks for 100/100 Lighthouse improvement guidance.

erikfiala/e2e-tester · 67 tokens

data-validation-contracts

Use when data crosses a boundary into your code (file, API, warehouse table, upload, model input or output), when a join or cleaning step can change row counts, or when adding pandera, Great Expectations, Pydantic or dbt checks.

makifbaysal/tasktrooper · 56 tokens

retest-after-revision

Use when the task came back to QA after needrevision - what to re-run, what may carry over, and how to keep old passes from approving new code.

makifbaysal/tasktrooper · 38 tokens

dotnet-testing-advanced-tunit-advanced

A guide for advanced TUnit testing in .NET. TUnit is a testing framework; the guide covers tests driven by data, dependency injection, integration tests, retries, time limits, and filtering.

kevintsengtw/dotnet-testing-agent-skills · 156 tokens

dotnet-testing-private-internal-testing

A guide to testing private and internal members in .NET, including design changes, friend-assembly access, and reflection. Private members are available only inside their class; internal members are limited to the same project.

kevintsengtw/dotnet-testing-agent-skills · 144 tokens

wicked-garden-repo-learn

Learn an unfamiliar repo the way a senior engineer does: follow where the code actually churns, find what that churn touches that the rest of the system leans on, read the load-bearing code for real, then write down BOTH what you learned (knowledge) and what should hold (policies) — as inert estate proposals a human…

mikeparcewski/wicked-garden · 253 tokens