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.
npx skills add IT-HUSET/andthen --skill testinggit clone --depth 1 https://github.com/IT-HUSET/andthenWrote 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.
[](https://agentmods.dev/skills/it-huset/andthen/testing)<a href="https://agentmods.dev/skills/it-huset/andthen/testing"><img src="https://agentmods.dev/badge/skills/it-huset/andthen/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.
<a href="https://agentmods.dev/skills/it-huset/andthen/testing"><img src="https://agentmods.dev/badge/skills/it-huset/andthen/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.02309 |
| Opus 5.5 | $0.00024 | $0.00924 |
| Sonnet 5.5 | $0.00012 | $0.00462 |
| Haiku 4.5 | $0.00006 | $0.00231 |
Grade A, and why
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing
Prove each behavior where its caller acts, with no more tests than the proof needs.
Input
$ARGUMENTS minus flags is the target or scope. --mode strategy|prove-it picks the mode, else the request's wording does; with neither, or when unclear, the mode is write.
write(default) – author tests for behavior.prove-it– the bugfix flow: a failing test reproduces the defect before any production change.strategy– author the project'sTesting Strategydocument. It writes no tests.
Read and follow:
strategy:levels-and-strategy.md, and for a question it asked that no one answered,unattended-runs.md§ Recording an assumption.prove-it:prove-it-pattern.md.- Every mode, before choosing or binding a test command:
verification-evidence.md.
Rules
- Print each recommended skill invocation as a complete, paste-ready line in the host's syntax, including its target path or request and required arguments.
Testing Strategy and Key Dev Commands are Project Document Index entries.
- Prove-It before claiming a fix: a failing test that goes green is the only proof.
- Test-first where required: where the request or the
Testing Strategydocument requires test-first, each test runs red, failing because the behavior it proves is missing, before the code that turns it green. - The
Testing Strategydocument (defaultdocs/TESTING-STRATEGY.md) names this project's levels, fixtures, before-merge bar, and gotchas. A convention it states is never re-derived from general testing theory. - A missing document, or one silent on the level or convention in question, is named the way
verification-evidence.mdnames a missing command. Apply the defaults below, and wherever the test work is reported, say what was missing and that the defaults stood in, because silent defaults read to the next agent as this project's own decisions. - Falsifiability – removing the protected behavior makes its owning test fail. Before declaring coverage done, break the implementation and watch each test go red (a mutation tool the project already runs, scoped to the changed files, does this: each surviving mutant is a missing assertion); tests written after their code are where this slips most. Three shapes cause it:
- Tautological assertion – the expected value comes from the code under test: its output, its logic re-derived, or a stub's canned value asserted back. Take it from the requirement or a hand-worked example; a characterization test (
prove-it-pattern.md) pins current output on purpose and goes once the fix lands. - Vacuous assertion – it never runs (an un-awaited async test, a callback never called, a loop over an empty collection, a swallowed assertion error) or checks nothing a bug would change (a not-null where any value passes, an absence check on a fixture without the value).
- Success-only double – a mock or fake that only succeeds, so the caller's error paths never run. Give it the real dependency's failure modes – errors, timeouts, empty or partial results, constraint violations – or use the real dependency.
- Tautological assertion – the expected value comes from the code under test: its output, its logic re-derived, or a stub's canned value asserted back. Take it from the requirement or a hand-worked example; a characterization test (
- Scaffolding goes. A test this run wrote to drive or observe its implementation is scaffolding once a test entering where the caller acts catches the same break, because a suite of them reads as verification and catches nothing more.
Delete it before the work completes, while it is green and only after watching that covering test go red for the break, and name each deleted test with its covering test in the report.
A test a FIS
ProoforVerifynames, and a defect's regression test, is never scaffolding. - Anti-Cheat Invariant. Tests guard against agent-introduced regressions only while they keep telling the truth. Never delete a test except with the whole surface it covers, as scaffolding, or as a characterization test once its fix lands. Never disable it (
.skip,xit,@Disabled, equivalents) or pass by weakening assertions. A flaky test is reported, never skipped on your own call: quarantine happens only on a person's decision, per theTesting Strategydocument. A wrong test is rewritten – wrong against its requirement, never because the code disagrees – and a test whose subject was intentionally removed is replaced with a test for the new behavior. A test a FISProofruns changes its assertions only to match its scenario's text, quoting the clause, or to follow a scenario amendment or a decision that outranks the text, recorded as aspec-staleDRIFT line naming the test.
What ships with it
3 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.
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.
- 2d ago Changed · +6 lines 165b2d5d6348
- 29d ago Changed · -13 lines · -21 tokens per session 0ac3814d0842
- 3mo ago First seen · 95 lines · 82 tokens per session scan A 5d3d688600da
testing is a skill published in the GitHub repository IT-HUSET/andthen (4 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 2,309 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-08-31.
testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| testingIT-HUSET/andthen | Skill | 4 | today | MIT | A | 61 | Claude Code, Codex |
| rust-testingaffaan-m/ECC | Skill | 317k | 3d ago | MIT | A | 31 | Claude Code, Kiro |
| cpp-testingaffaan-m/ECC | Skill | 317k | 3d ago | MIT | A | 34 | Claude Code, Kiro |
| write-vibe-testsmistralai/mistral-vibe | Skill | 5.6k | yesterday | Apache-2.0 | A | 80 | Claude Code, Codex |
| composing-matchersonsi/gomega | Skill | 2.4k | 2d ago | MIT | A | 136 | Claude Code |
| nw-fp-haskellnWave-ai/nWave | Skill | 638 | 16d ago | MIT | A | 22 | Claude Code |
| spec-driven-teststldraw/tldraw | Skill | 52k | today | none | A | 63 | Claude Code, Codex |