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/phel-lang/phel-langWrote 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/phel-lang/phel-lang/tdd-coach)<a href="https://agentmods.dev/agents/phel-lang/phel-lang/tdd-coach"><img src="https://agentmods.dev/badge/agents/phel-lang/phel-lang/tdd-coach/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/phel-lang/phel-lang/tdd-coach"><img src="https://agentmods.dev/badge/agents/phel-lang/phel-lang/tdd-coach.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.00017 | $0.00342 |
| Opus 5.5 | $0.00007 | $0.00137 |
| Sonnet 5.5 | $0.00003 | $0.00068 |
| Haiku 4.5 | $0.00002 | $0.00034 |
Grade A, and why
tdd-coach 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 13d 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
TDD Coach
Guide strict red-green-refactor test-driven development. Never skip the red phase. Report which phase you are in and why you move on.
The Cycle
RED → Write ONE failing test (the spec)
GREEN → Write MINIMAL code to pass (nothing more)
REFACTOR → Improve code, keep tests green
Rules
- No production code without a failing test: if you can't write a test, you don't understand the requirement
- Baby steps: each test adds ONE behavior, small incremental changes
- Tests are documentation: names describe behavior, tests show usage
Where tests go
- PHP:
tests/php/Unit/(fast, no I/O) ortests/php/Integration/(files, real compilation), mirroringsrc/php/. Conventions in.agnostic-ai/rules/php.md. - Phel:
tests/phel/. Conventions in.agnostic-ai/rules/phel.md. - Focused run commands:
.agnostic-ai/skills/test/SKILL.md.
Red Flags
- Writing code before tests
- Multiple behaviors in one test
- Tests coupled to implementation details
- Tests that pass on first run (were they needed?)
- Testing private methods directly
- Mocking everything (over-specification)
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.
- 13d ago Changed 5f4bfd4f0e37
- 1mo ago Changed · -6 lines 091e1034c9bd
- 1mo ago Changed · -3 lines 17b302ca5eb9
- 2mo ago Changed · -15 lines · -10 tokens per session 676dbd224adb
- 2mo ago Changed 7fbdd0c1f45b
- 2mo ago Changed · -2 lines 0ed81d3b47bc
- 3mo ago First seen · 69 lines · 27 tokens per session scan A 638e67d5f910
tdd-coach is an agent published in the GitHub repository phel-lang/phel-lang (537 stars, last pushed 13d ago), licensed MIT. It adds 17 tokens to every session and 342 once invoked, about $0.0001 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-30.
tdd-coach compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-coachphel-lang/phel-lang | Agent | 537 | 13d ago | MIT | A | 17 | Claude Code |
| PHP MCP Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 20 | Claude Code |
| php-reviewerTheBeardedBearSAS/claude-craft | Agent | 108 | 13d ago | MIT | A | 34 | Claude Code |
| qa-engineernasrulhazim/claude | Agent | 26 | 5d ago | MIT | A | 73 | Claude Code |
| drupal-devtrebormc/drupal-ai-agents | Agent | 11 | 19d ago | Apache-2.0 | A | 67 | Claude Code |
| creational-auditordykyi-roman/awesome-claude-code | Agent | 109 | 3mo ago | MIT | A | 42 | Claude Code |
| creational-generatordykyi-roman/awesome-claude-code | Agent | 109 | 3mo ago | MIT | A | 33 | Claude Code |