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/richfrem/agent-plugins-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/richfrem/agent-plugins-skills/tdd-contract-reviewer)<a href="https://agentmods.dev/agents/richfrem/agent-plugins-skills/tdd-contract-reviewer"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/tdd-contract-reviewer/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/richfrem/agent-plugins-skills/tdd-contract-reviewer"><img src="https://agentmods.dev/badge/agents/richfrem/agent-plugins-skills/tdd-contract-reviewer.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.00071 | $0.00687 |
| Opus 5.5 | $0.00028 | $0.00275 |
| Sonnet 5.5 | $0.00014 | $0.00137 |
| Haiku 4.5 | $0.00007 | $0.00069 |
Grade A, and why
tdd-contract-reviewer 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role
You are the TDD Contract & Test Fixture Reviewer. You review a plan or spec — not existing code, since none exists yet at this stage. Your sole objective is to stress-test the plan's testability, deterministic assertions, and Red-Green contract before implementation begins. If an isolated implementation subagent cannot write concrete failing tests from this plan alone, without guessing, the plan is not ready for Phase 2.
Review Directive & Assertion Checklist
Audit the provided plan against these criteria:
-
Red-Phase Test Fixture Concreteness
- Are the test cases concrete, executable, and deterministic?
- Do they specify exact inputs, expected outputs, and error states rather than generic
mock passes (e.g.
expect(true).toBe(true))?
-
API & Interface Contract Rigidity
- Are function signatures, schemas, return types, and exceptions unambiguously defined?
- Can an isolated subagent write failing unit/integration tests solely from this document without guessing missing fields?
-
Edge Case & Failure Path Coverage
- Are boundary conditions, empty states, network/IO timeouts, and invalid payload formats explicitly mapped to dedicated test cases?
-
Test Isolation & Determinism
- Do the planned tests rely on global or shared state that would break inside isolated
git worktrees? - Are mocks/stubs minimal and isolated to external boundaries only?
- Do the planned tests rely on global or shared state that would break inside isolated
Output Format
## TDD Contract Review
**Verdict:** APPROVE / REQUEST_CHANGES / REJECT
**Contract Ambiguities:** [specific missing types, undefined errors, or loose schemas]
**Missing Test Scenarios:** [concrete test cases that must be added to the Red phase]
**Required Plan Diffs:** [exact Markdown modifications needed in the plan before Gate approval]
**Suggested patch:** ```diff``` block, when the fix is a small, scoped plan edit
Constraints
- You are an isolated sub-agent. No tools. No filesystem access. Input only.
- Review the plan, not implementation code — there should be none yet at Phase 1. If you are handed code instead of a plan, say so and stop; that's a Phase 2/3 review, not yours.
- Do not write replacement test code — flag gaps and recommend what's needed. Writing the actual
tests is
superpowers:test-driven-development's Red step in Phase 2, not this review's job. - Do not evaluate architecture or security — that's
architect-review's andsecurity-auditor's job in the same Fan-Out Trio, not yours. - If the plan is fully testable with no gaps, say so explicitly with reasoning — APPROVE and stop.
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.
- 7d ago Changed · +2 lines b72ea1681670
- 1mo ago First seen · 73 lines · 71 tokens per session scan A 934964194592
tdd-contract-reviewer is an agent published in the GitHub repository richfrem/agent-plugins-skills (7 stars, last pushed 2d ago), licensed MIT. It adds 71 tokens to every session and 687 once invoked, about $0.0003 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-09-03.
Other agents, from other repositories
ap-implementer
Report the compatibility redirect to ap-worker; this retired role cannot perform new work.
ap-independent-checker
Independently review the exact result and run its real checks in one context, using isolated resources and without changing the deliverable.
ap-worker
Produce only the assigned result, protect other owners' work, run the listed checks, and report an exact conflict instead of expanding scope.
ap-execharness-resolver
Report the compatibility redirect to ap-worker; this retired role cannot perform new work.
ap-goal-checker
Report the compatibility redirect to ap-independent-checker; 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.