testing

testing is a skill for Claude Code, Codex from IT-HUSET/andthen. It costs 61 tokens per session (2,309 once invoked), scanned A, original, MIT.

A skill for planning tests, assessing coverage, writing tests, and following test-first development. Test-first development means writing a failing test, making it pass, and then improving the code.

In plain words
What is it for?
Use it to write unit or integration tests, map scenarios to tests, assess coverage, or handle bug fixes with a prove-it workflow.
Why use it?
It helps turn expected behaviour and bug reports into checks that show whether code works and stays working.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present.

Part of the andthen plugin — 21 skills shipped together

Good fit Use it to write unit or integration tests, map scenarios to tests, assess coverage, or handle bug fixes with a prove-it workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/it-huset/andthen/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 IT-HUSET/andthen --skill testing
Clone the repo
git clone --depth 1 https://github.com/IT-HUSET/andthen

Made for: Claude Code, Codex.

Or install andthen, the plugin that ships this one along with the rest of its 21 skills.

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/it-huset/andthen/testing/github.svg)](https://agentmods.dev/skills/it-huset/andthen/testing)
Your own site
<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.

agentmods 80×15 button for testing

Your own site · 80×15
<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>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,309 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.00061 $0.02309
Opus 5.5 $0.00024 $0.00924
Sonnet 5.5 $0.00012 $0.00462
Haiku 4.5 $0.00006 $0.00231

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

Security

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.

plugin/skills/testing/SKILL.md · 88 lines

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's Testing Strategy document. It writes no tests.

Read and follow:

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 Strategy document requires test-first, each test runs red, failing because the behavior it proves is missing, before the code that turns it green.
  • The Testing Strategy document (default docs/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.md names 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.
  • 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 Proof or Verify names, 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 the Testing Strategy document. 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 FIS Proof runs 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 a spec-stale DRIFT line naming the test.

Read the full file on GitHub · 88 lines

Files

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.

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. 2d ago Changed · +6 lines 165b2d5d6348
  2. 29d ago Changed · -13 lines · -21 tokens per session 0ac3814d0842
  3. 3mo ago First seen · 95 lines · 82 tokens per session scan A 5d3d688600da

Subscribe to this mod's changes

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.

Related

testing compared with skills from other repositories

testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testingIT-HUSET/andthenSkill4todayMITA61Claude Code, Codex
rust-testingaffaan-m/ECCSkill317k3d agoMITA31Claude Code, Kiro
cpp-testingaffaan-m/ECCSkill317k3d agoMITA34Claude Code, Kiro
write-vibe-testsmistralai/mistral-vibeSkill5.6kyesterdayApache-2.0A80Claude Code, Codex
composing-matchersonsi/gomegaSkill2.4k2d agoMITA136Claude Code
nw-fp-haskellnWave-ai/nWaveSkill63816d agoMITA22Claude Code
spec-driven-teststldraw/tldrawSkill52ktodaynoneA63Claude Code, Codex