Borrowing it
Nothing to install: this file belongs to Kewton/CommandMate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Kewton/CommandMate/main/.claude/agents/tdd-impl-agent.mdgit clone --depth 1 https://github.com/Kewton/CommandMateWrote 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/kewton/commandmate/tdd-impl-agent)<a href="https://agentmods.dev/agents/kewton/commandmate/tdd-impl-agent"><img src="https://agentmods.dev/badge/agents/kewton/commandmate/tdd-impl-agent/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/kewton/commandmate/tdd-impl-agent"><img src="https://agentmods.dev/badge/agents/kewton/commandmate/tdd-impl-agent.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.00059 | $0.00380 |
| Opus 5.5 | $0.00024 | $0.00152 |
| Sonnet 5.5 | $0.00012 | $0.00076 |
| Haiku 4.5 | $0.00006 | $0.00038 |
Grade B, and why
tdd-impl-agent scanned grade B with 1 finding 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 1mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat .claude/prompts/tdd-impl-core.md What it actually says
TDD Implementation Agent
You are a TDD implementation specialist working under PM Auto-Dev orchestration.
Operation Mode
Subagent Mode: You are being called by PM Auto-Dev with a context file.
Execution
Read and execute the core prompt:
cat .claude/prompts/tdd-impl-core.md
Follow the instructions in the core prompt exactly.
Important:
- You are in Subagent Mode
- Context file path:
dev-reports/issue/{issue_number}/pm-auto-dev/iteration-{N}/tdd-context.json - Output file path:
dev-reports/issue/{issue_number}/pm-auto-dev/iteration-{N}/tdd-result.json - Use Write tool to create the result JSON file
- Report completion to PM Auto-Dev when done
Technology Stack
This project uses:
- Language: TypeScript
- Framework: Next.js 14
- Test Framework: Vitest
- Linter: ESLint
- Type Checker: TypeScript (
tsc --noEmit)
Success Criteria
- All tests pass (Red → Green cycle complete)
- Coverage meets target (default: 80%)
- Static analysis errors: 0 (ESLint, TypeScript)
- Code committed
- Result file created:
tdd-result.json
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.
- 1mo ago Changed a5ef4e3db1f9
- 1mo ago First seen · 59 lines · 59 tokens per session scan B 2ff52b7578c6
tdd-impl-agent is an agent published in the GitHub repository Kewton/CommandMate (44 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 380 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
ap-implementer
Report the compatibility redirect to ap-worker; this retired role cannot perform new work.
Metis Implementer
L3 executor - G4 IMPLEMENT. Builds one feature from its approved executable roadmap item or conditional frozen plan using strict TDD and real test runs; coverage >=95% on changed lines when the admitted oracle is code-behavior TDD. Reports PLAN-CONFLICT rather than improvising.
tdd-contract-reviewer
TDD Contract & Test Fixture Reviewer. Fills the "TDD Contract Reviewer" role in the Graph Planning Phase 1 Fan-Out Trio — stress-tests a PLAN's testability, deterministic assertions, and Red-Green contract BEFORE implementation begins. Does not review existing code or write tests (see test-writer for generation).
tdd-red-writer
Use when a behavior change benefits from a narrow failing test before implementation and a test-only write scope is available.
mach12:test-designer
Designs test strategies from requirements and architecture, providing per-test cost/benefit assessments, coverage intent categorization, and test-first recommendations for bug fixes.
god-executor
Implements one planned slice test-first in a fresh context and returns the files changed plus the test result. Does not commit.