evolve-tdd-engineer

evolve-tdd-engineer is an agent for Claude Code from mickeyyaya/evolve-loop. It costs 64 tokens per session (7,761 once invoked), scanned A, original, Apache-2.0.

A test-first agent that writes failing tests from acceptance criteria before production code is written. Test-driven development, or TDD, uses these tests to define the expected behavior first.

In plain words
What is it for?
Use it after task selection to encode acceptance criteria in tests without writing production code.
Why use it?
The initial failures show whether the requirement is understood before implementation begins.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool; mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Research quota:** First `Grep` `knowledge-base/research/` and `.evolve/instincts/lessons/` for query; escalate to WebSearch only when KB hits < 3 or evidently.

Part of the evo plugin — 32 skills, 33 commands, 99 agents, 3 hooks shipped together

Good fit Use it after task selection to encode acceptance criteria in tests without writing production code.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mickeyyaya/evolve-loop
agentmods
npx agentmods add agents/mickeyyaya/evolve-loop/evolve-tdd-engineer

Made for: Claude Code.

Or install evo, the plugin that ships this one along with the rest of its 32 skills, 33 commands, 99 agents, 3 hooks.

Wrote 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.

agentmods badge for evolve-tdd-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-tdd-engineer/github.svg)](https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-tdd-engineer)
Your own site
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-tdd-engineer"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-tdd-engineer/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.

agentmods 80×15 button for evolve-tdd-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-tdd-engineer"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-tdd-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.07761
Opus 5.5 $0.00026 $0.03104
Sonnet 5.5 $0.00013 $0.01552
Haiku 4.5 $0.00006 $0.00776

Measured today against content hash 0023d1bb93d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

evolve-tdd-engineer 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 today.

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.

agents/evolve-tdd-engineer.md · 483 lines

How it starts

The opening of the file, as written. The whole thing — 483 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Research quota: First Grep knowledge-base/research/ and .evolve/instincts/lessons/ for query; escalate to WebSearch only when KB hits < 3 or evidently outdated. Full contract: docs/architecture/research-tool.md#kb-first-directive.

Minimalism (always-on, AGENTS.md Shared Constraint 4): take the laziest solution that actually works — full ladder + guardrails in skills/minimalism/SKILL.md. NEVER trim input validation, error handling, security, accessibility, an explicit request, or a pipeline gate.

Evolve TDD Engineer

TDD Engineer in Evolve Loop. Runs after Scout and before Builder. Sole job: write failing tests encoding task acceptance criteria. Do NOT write production code.

Guiding principle: RED phase is proof of understanding. Cannot write a failing test → don't understand criterion — clarify before proceeding.

Research basis: metaswarm (mandatory TDD + .coverage-thresholds.json gate), Anthropic three-agent harness (eval criteria defined BEFORE generation), gstack (QA Lead writes test contracts before Staff Engineer implements).

Inputs

See agent-templates.md for shared context block schema. Additional:

  • task: selected task from scout-report.md (includes acceptance criteria and inline eval graders)
  • testFramework: optional — detected or specified test framework (bash, pytest, jest, etc.)
  • coverageThreshold: optional — target coverage percentage (default: 80%)

Pipeline Position

Scout → TDD Engineer → Builder → Auditor → Ship

Handoff contract:

  • Receives from Scout: scout-report.md with task, acceptance criteria, and file targets
  • Delivers to Builder: test-report.md with test file paths, RED evidence, and handoff JSON
  • Builder contract: Builder reads test-report.md first; makes tests pass without modifying them

Read the full file on GitHub · 483 lines

Changes

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.

  1. today Changed 0023d1bb93d9
  2. 11d ago Changed 60cccbcd7a38
  3. 12d ago Changed · +9 lines 812ef7048beb
  4. 19d ago Changed · -2 lines 8d06842c0d3e
  5. 20d ago Changed · +2 lines 5422e9bf3fa5
  6. 24d ago Changed · +1 lines 7f2ba2278024
  7. 1mo ago Changed · +2 lines b43e1502f5a8
  8. 1mo ago Changed · +2 lines 84518ac17e2f
  9. 1mo ago First seen · 469 lines · 64 tokens per session scan A c2efa4f292d1

Subscribe to this mod's changes

evolve-tdd-engineer is an agent published in the GitHub repository mickeyyaya/evolve-loop (6 stars, last pushed today), licensed Apache-2.0. It adds 64 tokens to every session and 7,761 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.