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 raisedadead/claude-code-plugins --skill tdd-cyclegit clone --depth 1 https://github.com/raisedadead/claude-code-pluginsWrote 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/raisedadead/claude-code-plugins/tdd-cycle)<a href="https://agentmods.dev/skills/raisedadead/claude-code-plugins/tdd-cycle"><img src="https://agentmods.dev/badge/skills/raisedadead/claude-code-plugins/tdd-cycle/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/raisedadead/claude-code-plugins/tdd-cycle"><img src="https://agentmods.dev/badge/skills/raisedadead/claude-code-plugins/tdd-cycle.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.00092 | $0.00840 |
| Opus 5.5 | $0.00037 | $0.00336 |
| Sonnet 5.5 | $0.00018 | $0.00168 |
| Haiku 4.5 | $0.00009 | $0.00084 |
Grade A, and why
tdd-cycle 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 15d 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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tdd-cycle — one slice, red before green
Test-first for ad-hoc work that no ledger is driving. Agree the seam, watch the test fail, make it pass, keep the suite green. Refactoring is a separate pass.
When to use
- Adding a feature or fixing a bug where the test should define "done".
- Any behaviour-bearing edit outside a
dossier:buildcovenant. Under a covenant,dossier:builddrives WHEN and WHAT and composes this skill'srun-sliceas its RED/GREEN proof (dossier ADAPTERS §whetstone); the §T row already fixes the seam, so the interview is skipped. One ledger drives one edit.
The seam (agree it first)
Before the first assertion, name the seam: the public boundary you test through — a function signature, an HTTP route, a CLI. Get the user's agreement on it. Assert behaviour through that boundary, so the test survives a refactor and fails when the behaviour is wrong. A wrong seam buys tests that pass over broken behaviour, or break on every rename. Highest-value moment in the loop; spend it.
The loop (one slice at a time)
-
RED — write one failing test. Then prove it fails for the right reason:
run-slice red --expect '<text the failure must print>' <test-command>run-slice redexits non-zero when the test passed — a test that never failed characterises nothing. With--expect, it also exits non-zero when the output does not match the pattern (an extended regex), so a failure from a typo or a missing import does not count as RED. Check the test againstreference/anti-patterns.mdandreference/examples.mdbefore running it; mock only wherereference/mocking.mdallows. -
GREEN — minimum code to pass:
run-slice green <test-command>Just enough for this one test.
-
Full-suite gate:
run-slice full <suite-command>The slice leaves everything else green.
-
Next slice — one seam, one test, one implementation per cycle. Repeat from RED.
A test that fails, then passes on a rerun with no change, is a flake signal. Measure it before any fix:
What ships with it
4 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.
- 15d ago Changed 88fb04371bc7
- 17d ago Changed · +8 lines · +1 tokens per session 79cd2ce0a4b5
- 1mo ago Changed d5ac4ce97006
- 2mo ago Changed 5926110d2acd
- 3mo ago First seen · 58 lines · 91 tokens per session scan A ce4a6d2f4abc
tdd-cycle is a skill published in the GitHub repository raisedadead/claude-code-plugins (3 stars, last pushed 4d ago), licensed ISC. It adds 92 tokens to every session and 840 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-08-31.
tdd-cycle compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-cycleraisedadead/claude-code-plugins | Skill | 3 | 4d ago | ISC | A | 92 | Claude Code |
| engram-testing-coverageGentleman-Programming/engram | Skill | 8.4k | 7d ago | MIT | A | 25 | Claude Code, Codex |
| iterative-developmentalinaqi/maggy | Skill | 713 | 4d ago | MIT | A | 24 | Claude Code |
| tddglebis/claude-skills | Skill | 417 | today | MIT | A | 92 | Claude Code |
| mobiai-mobile-tddArisGuimera/MobiAI-Core | Skill | 496 | yesterday | MIT | A | 38 | Claude Code |
| nw-leanux-methodologynWave-ai/nWave | Skill | 636 | 12d ago | MIT | A | 37 | Claude Code |
| nw-ddd-eventsourcingnWave-ai/nWave | Skill | 636 | 12d ago | MIT | A | 38 | Claude Code |