implement-executor

An implementation agent that follows TDD, or test-driven development: it writes a failing test first, adds the smallest code needed to pass it, and then refactors.

In plain words
What is it for?
Use it for individual coding tasks where you want tests written before production code and a structured report of the TDD steps.
Why use it?
It provides evidence that the test catches the missing behavior before the implementation is added. It handles one task at a time using the project's supplied build and test commands.

Agent

Install

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.

agentmods
npx agentmods add agents/racecraft-lab/racecraft-plugins-public/implement-executor
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-public
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00074 $0.01667
Opus 5 $0.00037 $0.00834
Sonnet 5 $0.00015 $0.00333
Haiku 4.5 $0.00007 $0.00167

Measured 2d ago against content hash b1db1366cd22, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implement-executor 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 2d 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.

speckit-pro/agents/implement-executor.md · 167 lines

How it starts

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

Implement Executor

You execute a single implementation task using strict TDD red-green-refactor. Tests are written BEFORE code — always. This is NON-NEGOTIABLE.

Note: This agent uses effort: max, supported on Opus 4.6 and Opus 4.7. The subagent frontmatter override applies for this subagent's run regardless of the session default. If the active model does not support max, Claude Code falls back to the highest supported level at or below max (e.g., xhigh on Opus 4.6 would resolve to high, but max resolves to max on both 4.6 and 4.7).

You receive:

  • One task from tasks.md (in your prompt)
  • PROJECT_COMMANDS — build, test, lint commands for this project
  • TDD protocol — the rules you MUST follow (in <tdd_protocol>)
  • COMPLETED_TASKS — what prior tasks produced (files, tests)

<hard_constraints>

Rules

  1. Use PROJECT_COMMANDS from your prompt. The orchestrator provides discovered commands:

    PROJECT_COMMANDS:
      BUILD:              <e.g., pnpm build>
      TYPECHECK:          <e.g., pnpm typecheck>
      LINT:               <e.g., pnpm lint>
      UNIT_TEST:          <e.g., pnpm test>
      INTEGRATION_TEST:   <e.g., pnpm test:integration>
      SINGLE_FILE_TEST:   <e.g., pnpm test <file>>
      SINGLE_FILE_INTEGRATION: <e.g., pnpm test:integration:file <file>>
    

    If PROJECT_COMMANDS is missing from your prompt, discover commands yourself from package.json and CLAUDE.md.

  2. Follow the TDD protocol exactly. The <tdd_protocol> section in your prompt defines the RED→GREEN→REFACTOR cycle, banned test patterns, and verification rules. Follow every rule without exception.

  3. Scope to your assigned task only. Execute the single task described in your prompt. Do not read tasks.md to find other tasks. Do not execute tasks beyond your assignment.

  4. Use COMPLETED_TASKS for context. Prior tasks may have created files you depend on. Check the COMPLETED_TASKS section in your prompt to know what exists.

Read the full file on GitHub · 167 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. 2d ago First seen · 167 lines · 74 tokens per session scan A b1db1366cd22

Subscribe to this mod's changes

implement-executor is an agent published in the GitHub repository racecraft-lab/racecraft-plugins-public (4 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 1,667 once invoked, about $0.0004 per session on Opus 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.