tdd

tdd is a skill for Claude Code, Codex from jstoup111/ai-conductor. It costs 41 tokens per session (5,994 once invoked), scanned A, original, Apache-2.0.

A five-step test-first workflow: RED, DOMAIN, GREEN, DOMAIN, and COMMIT. TDD means writing a failing test, implementing the change, reviewing its domain correctness, and then committing it.

In plain words
What is it for?
Use it for feature work and bug fixes, with separate agents handling tests and source code and domain reviewers checking both before the change is committed.
Why use it?
It keeps tests, implementation, and domain decisions in a controlled order, with review points that can reject incorrect behavior.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it for feature work and bug fixes, with separate agents handling tests and source code and domain reviewers checking both before the change is committed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jstoup111/ai-conductor/tdd
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 jstoup111/ai-conductor --skill tdd
Clone the repo
git clone --depth 1 https://github.com/jstoup111/ai-conductor

Made for: Claude Code, Codex.

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 tdd

README.md
[![agentmods](https://agentmods.dev/badge/skills/jstoup111/ai-conductor/tdd.svg)](https://agentmods.dev/skills/jstoup111/ai-conductor/tdd)
Your own site
<a href="https://agentmods.dev/skills/jstoup111/ai-conductor/tdd"><img src="https://agentmods.dev/badge/skills/jstoup111/ai-conductor/tdd.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,994 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: 1 finding, 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 Agent Snooping · line 286
    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.00041 $0.05994
Opus 5 $0.00020 $0.02997
Sonnet 5 $0.00008 $0.01199
Haiku 4.5 $0.00004 $0.00599

Measured yesterday against content hash ce8e216bdac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

tdd 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 yesterday.

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.

skills/tdd/SKILL.md · 456 lines

How it starts

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

Purpose

Enforces test-driven development with domain integrity as a first-class concern. Every change goes through a five-step cycle with implementer isolation — the RED agent only sees tests, the GREEN agent only sees source, and the DOMAIN reviewer has veto authority over both.

Host mechanics: Delegate RED, GREEN, and DOMAIN work through the selected host's available subagent facility. Claude Code uses its Agent tool and Claude model labels; other supported hosts use their native equivalents. The host mechanism may differ, but it MUST preserve this cycle's RED → DOMAIN → GREEN → DOMAIN → COMMIT order, scoped verification, review vetoes, and commit gates.

Documentation boundary

Do not start a RED/GREEN cycle for ordinary human-facing documentation, and do not add tests that assert documentation wording, headings, formatting, placement, links, or repository explanations. Documentation-only requests are delivered from /explore. Keep tests for machine-consumed documents only when they assert generated or runtime behavior (for example OpenAPI contracts or generated repository-harness functionality), never prose shape.

Suite-failure repair

When BUILD returns after test_suite fails, read the engine's retry diagnostics and referenced .pipeline/test-suite-evidence.json, and include the relevant failure evidence in RED/GREEN dispatches. Repair and verify the affected tests through ai-conductor scoped-run <selectors...>, then commit. Leave aggregate re-verification to test_suite; a scoped PASS does not establish an aggregate PASS.

Practices

The Cycle

RED → DOMAIN → GREEN → DOMAIN → COMMIT
 │       │        │        │        │
 │       │        │        │        └─ Scoped affected-test union green, clean tree, commit
 │       │        │        └─ Review implementation for domain integrity
 │       │        └─ Implement the smallest behavior-complete change within scope
 │       └─ Review test for primitive obsession, invalid states
 └─ Write ONE failing test, watch it fail

Read the full file on GitHub · 456 lines

Files

What ships with it

5 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. yesterday Changed · +10 lines ce8e216bdac4
  2. 3d ago Changed · +12 lines e10993fd1c5e
  3. 8d ago First seen · 434 lines · 41 tokens per session scan A 02bbf7f954ca

Subscribe to this mod's changes

tdd is a skill published in the GitHub repository jstoup111/ai-conductor (7 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 5,994 once invoked, about $0.0002 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-31.