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 morodomi/tdd-skills --skill tdd-initgit clone --depth 1 https://github.com/morodomi/tdd-skillsWrote 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/morodomi/tdd-skills/tdd-init)<a href="https://agentmods.dev/skills/morodomi/tdd-skills/tdd-init"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-init/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/morodomi/tdd-skills/tdd-init"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-init.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.00032 | $0.00757 |
| Opus 5 | $0.00016 | $0.00378 |
| Sonnet 5 | $0.00006 | $0.00151 |
| Haiku 4.5 | $0.00003 | $0.00076 |
Grade A, and why
tdd-init 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 9d 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TDD INIT Phase
Start a new TDD cycle and create a Cycle doc.
Progress Checklist
INIT Progress:
- [ ] STATUS確認 → 環境収集 → 既存cycle確認
- [ ] 実装内容確認 → リスク評価 → スコープ確認
- [ ] Cycle doc作成 → tdd-plan自動実行
Restrictions
- No detailed implementation planning (done in PLAN)
- No test code (done in RED)
- No implementation code (done in GREEN)
Workflow
Step 1: Check Project Status
cat docs/STATUS.md 2>/dev/null
If not found, recommend tdd-onboard. Also check hooks: reference.md
Step 2: Collect Environment Info
Collect language versions and key packages for Cycle doc Environment section. Details: reference.md
Step 3: Check Existing Cycles
ls -t docs/cycles/*.md 2>/dev/null | head -1
If an active cycle exists, recommend continuing it.
Step 4: Ask What to Implement
Ask "What feature do you want to implement?" e.g., login, CSV export.
Step 4.5: Risk Score Assessment
Calculate risk score (0-100) from user input:
| Score | Result | Action |
|---|---|---|
| 0-29 | PASS | Show confirmation, auto-proceed |
| 30-59 | WARN | Quick questions (Step 4.6), then Step 5 |
| 60-100 | BLOCK | Brainstorm & risk questions (Step 4.7) |
Keyword scores: reference.md
Record Risk: [score] ([result]) in Cycle doc.
Step 4.6: Quick Questions (WARN only)
Ask 2 lightweight questions. Templates: reference.md
Step 4.7: Brainstorm & Risk Questions (BLOCK only)
Templates: reference.md. Bug keywords detected → Skill(tdd-core:tdd-diagnose).
Step 5: Scope (Layer) Confirmation
Use AskUserQuestion to confirm scope:
| Layer | Description | Plugin |
|---|---|---|
| Backend | PHP/Python etc. | tdd-php, tdd-python, tdd-flask |
| Frontend | JavaScript/TypeScript | tdd-js, tdd-ts |
| Both | Full stack | Multiple plugins |
Details: reference.md
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.
- 9d ago First seen · 101 lines · 32 tokens per session scan A dce7a9ae5cfa
tdd-init is a skill published in the GitHub repository morodomi/tdd-skills (8 stars, last pushed 6mo ago), licensed MIT. It adds 32 tokens to every session and 757 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.
Other skills, from other repositories
engram-testing-coverage
TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.
iterative-development
TDD iteration loops using Claude Code Stop hooks - runs tests after each response, feeds failures back automatically.
python
Python development with ruff, mypy, pytest - TDD and type safety.
nw-fp-clojure
Clojure language-specific patterns, data-first modeling, REPL-driven development, and spec.
strict-tdd
Strict RED->GREEN->REFACTOR test-driven development with enforcement. Never write production code before a failing test. Atomic commits per TDD cycle.
mobiai-mobile-tdd
You MUST use this before writing any implementation code for a mobile feature, bug fix, refactor, or behavior change. Tests come before implementation — no exceptions.