tdd-orchestrate

tdd-orchestrate is a skill for Claude Code from morodomi/tdd-skills. It costs 47 tokens per session (796 once invoked), scanned A, original, MIT.

An orchestrator for test-driven development, or TDD—the practice of writing a failing test before the code that makes it pass. It manages planning, implementation, review, and finalization through separate agent roles.

In plain words
What is it for?
Use it to plan a change, create tests, implement and refactor the code, run reviews, and optionally record work discovered outside the original scope.
Why use it?
It gives a feature change a defined sequence and review points instead of leaving tests, code, refactoring, and quality checks to an informal process.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the tdd-core plugin — 13 skills, 14 agents shipped together

Good fit Use it to plan a change, create tests, implement and refactor the code, run reviews, and optionally record work discovered outside the original scope.

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

Made for: Claude Code.

Or install tdd-core, the plugin that ships this one along with the rest of its 13 skills, 14 agents.

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-orchestrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-orchestrate/github.svg)](https://agentmods.dev/skills/morodomi/tdd-skills/tdd-orchestrate)
Your own site
<a href="https://agentmods.dev/skills/morodomi/tdd-skills/tdd-orchestrate"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-orchestrate/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 tdd-orchestrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/morodomi/tdd-skills/tdd-orchestrate"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-orchestrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 796 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.00047 $0.00796
Opus 5 $0.00023 $0.00398
Sonnet 5 $0.00009 $0.00159
Haiku 4.5 $0.00005 $0.00080

Measured 12d ago against content hash a517881cd573, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tdd-orchestrate 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 12d 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.

plugins/tdd-core/skills/tdd-orchestrate/SKILL.md · 73 lines

What it actually says

TDD Orchestrate (PdM Mode)

TDDサイクル全体をPdM (Product Manager) として管理するオーケストレータ。

Progress Checklist

tdd-orchestrate Progress:
- [ ] Block 1: INIT → PLAN → plan-review → 自律判断
- [ ] Block 2: RED → GREEN → REFACTOR → REVIEW → 自律判断 → DISCOVERED
- [ ] Block 3: COMMIT → 完了

PdM の原則

  • 自分で実装・テスト・レビューしない → 専門 Teammate/Subagent に委譲
  • PASS/WARN → 自動進行、BLOCK → 再試行 → ユーザーに報告
  • 曖昧なまま進まない → AskUserQuestion で確認

Workflow

Block 1: Planning

  1. INIT: Cycle doc 作成(PdM 直接実行)
  2. PLAN: 設計・Test List 作成を委譲
  3. plan-review: 5 reviewer で設計レビュー
  4. 自律判断: PASS/WARN → Block 2 へ、BLOCK → PLAN 再実行

Block 2: Implementation

  1. RED: red-worker にテスト作成を委譲
  2. GREEN: green-worker に実装を委譲
  3. REFACTOR: refactorer にリファクタリングを委譲
  4. REVIEW: quality-gate で 6 reviewer レビュー
  5. 自律判断: PASS/WARN → DISCOVERED 判断 → Block 3 へ、BLOCK → GREEN 再実行
  6. DISCOVERED: スコープ外項目を GitHub issue に起票(ユーザー確認後)

Block 3: Finalization

  1. COMMIT: git add & commit(PdM 直接実行)
  2. 完了報告: サイクル完了をユーザーに報告

Mode Selection

CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS 環境変数でモードを選択:

環境変数 モード 手順
有効 (1) Agent Teams (PdM Hub) steps-teams.md
無効 / 未設定 Subagent Chain steps-subagent.md

Judgment Criteria

スコア 判定 PdM アクション
0-49 PASS 次 Block へ自動進行
50-79 WARN Socrates Protocol → 人間判断 (Agent Teams時)
80-100 BLOCK Socrates Protocol → 人間判断 (Agent Teams時)

Agent Teams 無効時は WARN 自動進行、BLOCK 自動再試行 (v5.0 互換)。 Socrates Protocol 詳細: reference.md

Reference

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. 12d ago First seen · 73 lines · 47 tokens per session scan A a517881cd573

Subscribe to this mod's changes

tdd-orchestrate is a skill published in the GitHub repository morodomi/tdd-skills (8 stars, last pushed 7mo ago), licensed MIT. It adds 47 tokens to every session and 796 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.