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-diagnosegit 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-diagnose)<a href="https://agentmods.dev/skills/morodomi/tdd-skills/tdd-diagnose"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-diagnose/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-diagnose"><img src="https://agentmods.dev/badge/skills/morodomi/tdd-skills/tdd-diagnose.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.00045 | $0.00786 |
| Opus 5.5 | $0.00018 | $0.00314 |
| Sonnet 5.5 | $0.00009 | $0.00157 |
| Haiku 4.5 | $0.00005 | $0.00079 |
Grade A, and why
tdd-diagnose 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 3mo 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- diagnose — 92% identical, 21 lines differ
What it actually says
TDD Diagnose Phase
複雑なバグに対し、複数の仮説を並行調査し根本原因を特定する。
Progress Checklist
DIAGNOSE Progress:
- [ ] バグ情報収集(カテゴリ・重要度・症状)
- [ ] 仮説生成(3つ以上)
- [ ] 調査実行(モード自動選択)
- [ ] 結果統合・分岐判定
- [ ] Cycle doc更新 → tdd-plan自動実行
Workflow
Step 1: バグ情報収集
1a. AskUserQuestion で構造化入力:
- バグカテゴリ: regression / new behavior / intermittent / performance degradation
- 重要度: blocking development / blocking users / workaround exists
1b. 続けて自然言語で質問:
- 「エラーメッセージやログを貼り付けてください」
- 「関連するファイルパスがあれば教えてください」
詳細: reference.md
Step 2: 仮説生成
収集した情報から原因候補を 3つ以上 リスト:
| # | 仮説 | 調査方針 |
|---|---|---|
| H1 | [原因候補1] | [検証方法] |
| H2 | [原因候補2] | [検証方法] |
| H3 | [原因候補3] | [検証方法] |
仮説テンプレート: reference.md
Step 3: 調査実行
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS 環境変数でモードを選択:
| 環境変数 | モード | 手順 |
|---|---|---|
有効 (1) |
討論型 (Agent Teams) | steps-teams.md |
| 無効 / 未設定 | 並行型 (Subagent) | steps-subagent.md |
Step 4: 調査結果統合
各仮説の検証結果を集約し、分岐判定:
根本原因が特定された場合 (Identified)
→ Cycle doc に根本原因を記録、Step 5 へ
2-3候補に絞込まれた場合 (Narrowed)
→ AskUserQuestion で候補からユーザーが選択、Step 5 へ
不明・全仮説否定の場合 (Inconclusive)
調査結果が不明確です。
1. 仮説を追加して再調査(最大2回まで)
2. 手動調査へエスカレート(現時点の発見事項を記録)
再調査2回で未解決の場合、選択肢2へ強制遷移。
Step 5: Cycle doc 更新 → tdd-plan 自動実行
調査結果を Cycle doc に記録し、Skill(tdd-core:tdd-plan) を自動実行。
Reference
- 詳細: 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.
- 3mo ago First seen · 82 lines · 45 tokens per session scan A 38c8b69cc7fc
tdd-diagnose is a skill published in the GitHub repository morodomi/tdd-skills (9 stars, last pushed 9mo ago), licensed MIT. It adds 45 tokens to every session and 786 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.
tdd-diagnose compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-diagnosemorodomi/tdd-skills | Skill | 9 | 9mo ago | MIT | A | 45 | Claude Code |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | yesterday | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 345 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | 4d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| loop-engineeringhuytieu/COG-second-brain | Skill | 1.6k | 2d ago | MIT | A | 63 | Claude Code |