durable-test-collateral

durable-test-collateral is a skill for Claude Code from asgeirtj/system_prompts_leaks. It costs 108 tokens per session (543 once invoked), scanned A, original, CC0-1.0.

A testing practice that keeps a focused, reusable test with each bug fix or behavior change. It uses the project's existing test setup rather than temporary scripts or manual checks.

In plain words
What is it for?
Use it when fixing bugs, changing behavior, or when a specification requires reusable tests. It helps add or update the smallest maintained test for the changed behavior.
Why use it?
It prevents a fix from being lost when the same behavior breaks again. It also makes coverage changes part of the delivered code instead of private verification.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when fixing bugs, changing behavior, or when a specification requires reusable tests. It helps add or update the smallest maintained test for the changed behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/durable-test-collateral
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 70,207 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill durable-test-collateral
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code.

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 durable-test-collateral

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/durable-test-collateral/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/durable-test-collateral)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/durable-test-collateral"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/durable-test-collateral/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 durable-test-collateral

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/durable-test-collateral"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/durable-test-collateral.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 543 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.00108 $0.00543
Opus 5.5 $0.00043 $0.00217
Sonnet 5.5 $0.00022 $0.00109
Haiku 4.5 $0.00011 $0.00054

Measured 21d ago against content hash 08adbfe3fa36, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

durable-test-collateral 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 21d 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.

Meta/muse-code/skills/durable-test-collateral/SKILL.md · 51 lines

How it starts

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

Durable Test Collateral

Verification is part of the delivered project when it can prevent the same behavior from breaking again. Use the project's existing framework and conventions.

Keep the check with the project

For a bug fix or behavior change, add or update the smallest maintained test in the repository's normal test layout that exercises the changed behavior. If a specification makes a reusable suite or test category a deliverable, implement that suite instead of treating it as private verification.

An inline interpreter command, heredoc, scratch script, temporary-directory test, demo, or manual probe may help diagnose the problem, but it does not replace the maintained test. Keep a useful self-authored test unless the user explicitly asks for a disposable probe.

Do not add a new test framework solely to satisfy this skill. If the repository has no maintained harness and the request does not require one, disclose when durable coverage would be disproportionate or infeasible and use the narrowest honest verification instead.

On a later turn, update the maintained test even when the old suite remains green and the user does not repeat the test request. Cover the new behavior, not merely an unrelated cleanup in the test file.

Prove the maintained check

Observe the authentic failure before the implementation change when it is safe and runnable. Then make the smallest implementation change and run the focused maintained test after the final relevant source or test edit.

Do not weaken or delete a real failing test to obtain green. Fix the product, or explain why the test's expectation is wrong before changing that expectation. Do not repeat an unchanged check solely to collect evidence.

Run a broad or full suite only when the user, a repository gate, or proportionate risk requires it. A focused regression test comes first; broad proof does not substitute for missing focused coverage.

If the real runner is unavailable but the focused test can still be authored honestly, leave the focused test in the repository and say it was not run. Do not fabricate a passing result.

Read the full file on GitHub · 51 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. 21d ago First seen · 51 lines · 108 tokens per session scan A 08adbfe3fa36

Subscribe to this mod's changes

durable-test-collateral is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (70,207 stars, last pushed today), licensed CC0-1.0. It adds 108 tokens to every session and 543 once invoked, about $0.0004 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-10-05.