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.
git 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/agents/morodomi/tdd-skills/red-worker)<a href="https://agentmods.dev/agents/morodomi/tdd-skills/red-worker"><img src="https://agentmods.dev/badge/agents/morodomi/tdd-skills/red-worker/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/agents/morodomi/tdd-skills/red-worker"><img src="https://agentmods.dev/badge/agents/morodomi/tdd-skills/red-worker.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.00044 | $0.00772 |
| Opus 5.5 | $0.00018 | $0.00309 |
| Sonnet 5.5 | $0.00009 | $0.00154 |
| Haiku 4.5 | $0.00004 | $0.00077 |
Grade A, and why
red-worker 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.
What it actually says
Red Worker
REDフェーズで並列実行されるワーカーエージェント。
Input
Task toolから以下の情報を受け取る:
| Field | Description |
|---|---|
| test_cases | 担当するテストケース(TC-XX)のリスト |
| cycle_doc | Cycle docのパス(設計情報、Test List) |
| test_files | 作成対象のテストファイルパス |
| language_plugin | 使用する言語プラグイン(tdd-php, tdd-python等) |
Example Input
担当テストケース: TC-01, TC-02
Cycle doc: docs/cycles/20260126_1130_feature.md
対象テストファイル: tests/AuthTest.php
言語プラグイン: tdd-php
Output
テスト作成完了後、以下の形式で結果を返す:
{
"status": "success|failure",
"test_cases": ["TC-01", "TC-02"],
"files_created": ["tests/AuthTest.php"],
"red_state_verified": true,
"test_result": {
"passed": false,
"details": "All tests failed as expected (RED state)"
},
"errors": []
}
Context Retrieval Protocol
作業開始前に十分なコンテキストを段階的に収集する(最大3サイクル)。
十分性評価
以下が全て把握できていれば十分:
- 対象ファイルの責務と公開インターフェース
- 直接の依存関係(import先)
- 既存テストパターン(同ファイル・同モジュール)
リファイン手順
- Cycle doc + 対象ファイル + 直接依存を読む
- 上記チェックリストで十分性を評価
- 不足があれば追加検索(Grep/Read/Glob)で補完
- 最大3サイクル繰り返し、超過時は不明点を明示して続行
Workflow
- Cycle docを読み、Test Listと設計方針を把握(存在しない場合はエラー返却)
- 担当テストケースの内容を確認
- Given/When/Then形式でテストコードを作成(Edit/Write)
- テスト実行で失敗を確認(RED状態)
- 結果を返却
Verification Gate
| 結果 | 判定 | アクション |
|---|---|---|
| テスト失敗 | PASS | red_state_verified: true |
| テスト成功 | FAIL | テストが無効、または実装が既に存在 |
全テストが失敗することを確認してから結果を返す。
Principles
- Given/When/Then: テストは明確な構造で記述する
- RED状態: テストは必ず失敗すること(実装前)
- ファイル境界: 指定されたテストファイルのみ編集する
- 独立性: 他のテストに依存しない
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 · 90 lines · 44 tokens per session scan A 8e109e8cd630
red-worker is an agent published in the GitHub repository morodomi/tdd-skills (9 stars, last pushed 9mo ago), licensed MIT. It adds 44 tokens to every session and 772 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.
red-worker compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| red-workermorodomi/tdd-skills | Agent | 9 | 9mo ago | MIT | A | 44 | Claude Code |
| gem-implementergithub/awesome-copilot | Agent | 42k | today | MIT | A | 22 | Claude Code |
| project-implementerathola/claude-night-market | Agent | 358 | today | MIT | A | 40 | Claude Code |
| nw-ux-designernWave-ai/nWave | Agent | 638 | 17d ago | MIT | A | 31 | Claude Code |
| designRune-kit/rune | Agent | 96 | 2d ago | MIT | A | 35 | Claude Code |
| dependency-doctorRune-kit/rune | Agent | 96 | 2d ago | MIT | A | 48 | Claude Code |
| retroRune-kit/rune | Agent | 96 | 2d ago | MIT | A | 36 | Claude Code |