prompt-regression

prompt-regression is a skill for Claude Code from chrono-meta/forge-harness. It costs 106 tokens per session (2,547 once invoked), scanned A, original, MIT.

A static regression checker for coding-agent rules, skills, and other harness files. It compares changed source files with saved test probes that describe expected behavior.

In plain words
What is it for?
Use it after changing CLAUDE.md, rules, or skills to inspect trigger phrases, links, and conditions against known checks.
Why use it?
It helps reveal when an edit changes an agent's expected responses without running live agent sessions. Each probe is marked PASS, FAIL, or SKIP.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the fh-meta plugin — 38 skills, 7 agents shipped together

Good fit Use it after changing CLAUDE.md, rules, or skills to inspect trigger phrases, links, and conditions against known checks.

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

Made for: Claude Code.

Or install fh-meta, the plugin that ships this one along with the rest of its 38 skills, 7 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/prompt-regression"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/prompt-regression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,547 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 6
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Agent Snooping · line 152
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00106 $0.02547
Opus 5 $0.00053 $0.01273
Sonnet 5 $0.00021 $0.00509
Haiku 4.5 $0.00011 $0.00255

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

Security

Grade A, and why

prompt-regression 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 9d 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.

plugins/fh-meta/skills/prompt-regression/SKILL.md · 225 lines

How it starts

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

prompt-regression — Harness Regression Detection

After CLAUDE.md edits, rule changes, or new skill additions, harness behavior can silently regress. This skill runs a lightweight probe suite against the changed assets and compares outputs against saved baselines to surface regressions before they reach production.

Scope distinction

  • harness-doctor: structural completeness (files, links, drift)
  • prompt-regression: behavioral correctness — did the change alter expected AI response patterns?

Triggers

  • /prompt-regression
  • "prompt regression", "regression check", "regression test"
  • "did my rule change break anything", "test harness changes", "verify harness behavior", "make sure my edit didn't change behavior"
  • After significant CLAUDE.md edits or new skill commits

Execution Steps

Step 1. Identify Changed Assets

# What changed since last commit (or last N commits)
git diff HEAD~1 --name-only -- CLAUDE.md .claude/ plugins/

Classify each changed file:

  • CLAUDE.mdcore behavior (high impact)
  • .claude/rules/*.mdrule layer (medium impact)
  • plugins/*/skills/*/SKILL.mdskill behavior (scoped impact)
  • plugins/*/skills/*/SKILL.md (trigger phrases changed) → trigger routing (high impact)

If no changes detected: report "No harness changes since last commit — regression check skipped."


Step 2. Load Probe Suite

Check for custom probes:

ls .claude/regression/probes.md 2>/dev/null || echo "NO_CUSTOM_PROBES"

If custom probes exist: load and use them. The hub repo ships its golden probe set (known-answer offline eval, 33 probes with check classes — 27 mandatory-pass · 1 measured · 5 judged, of which 2 rows are inert deletion anchors, so live coverage is 31) at exactly this path — when present it is canonical and supersedes the default matrix below.

Count from the file, not from this line: grep -cE '^\| *[A-Z][A-Z0-9-]*-[0-9]+ *\|' .claude/regression/probes.md. Both this number and the tally inside probes.md read 32 until 2026-08-12, when the actual count was 33 — a probe had been added to section A without touching either summary. A count duplicated in two files rots independently; if the two disagree, the file wins and both get corrected.

Read the full file on GitHub · 225 lines

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. 9d ago First seen · 225 lines · 106 tokens per session scan A 1de29bdf11b3

Subscribe to this mod's changes

prompt-regression is a skill published in the GitHub repository chrono-meta/forge-harness (14 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 2,547 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

taiyi-dev

A software-development stage that implements planned tasks using test-driven development, or TDD: write a failing test, make it pass, then improve the code. It checks the task plan, dependencies, file boundaries, and required completion evidence.

Dong90/oh-my-taiyiforge · 21 tokens

taiyi-test

A project workflow skill for verifying an implementation and producing a TEST.md record. TDD means writing a failing test, implementing the change, and then making the test pass; this skill checks that process and other regression cases.

Dong90/oh-my-taiyiforge · 24 tokens

harness-validate

Use when user invokes /harness-validate or wants to check whether a harness.yaml file is valid according to the Harness Protocol v1 JSON Schema. Reports validation errors with field paths and helpful fix suggestions.

harnessprotocol/harness-kit · 46 tokens

test-spec

BDD test specification generation from use case artifacts using Clark's (2018) UC2.0-to-Gherkin transformation algorithm. Transforms structured use case flows (basic flow, alternative flows, extensions) into Gherkin Feature files with Given-When-Then scenarios. Analyzes test coverage completeness against use case flow…

geekatron/jerry · 114 tokens

knowject-rag-eval

A skill for creating or reviewing evaluation cases for RAG, a system that searches stored documents before generating an answer, including the quality of its citations.

lynxlangya/knowject · 148 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens