gofer:tdd

gofer:tdd is a command for Claude Code from eai-support/eai-gofer. It costs 18 tokens per session (2,704 once invoked), scanned A, a copy of 10_gofer_cloud, Apache-2.0.

A command that guides test-driven development, or TDD: writing a failing test, making it pass, and then improving the code.

In plain words
What is it for?
Use it to build features through a red-green-refactor testing loop linked to stated requirements.
Why use it?
It ties implementation work to the feature’s acceptance criteria and provides a concrete way to check progress.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the eai-gofer plugin — 4 skills, 28 commands, 42 agents, 3 hooks, 1 MCP server shipped together

Good fit Use it to build features through a red-green-refactor testing loop linked to stated requirements.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eai-support/eai-gofer/gofer_tdd
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.

Clone the repo
git clone --depth 1 https://github.com/eai-support/eai-gofer

Made for: Claude Code.

Or install eai-gofer, the plugin that ships this one along with the rest of its 4 skills, 28 commands, 42 agents, 3 hooks, 1 MCP server.

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 gofer:tdd

README.md
[![agentmods](https://agentmods.dev/badge/commands/eai-support/eai-gofer/gofer_tdd.svg)](https://agentmods.dev/commands/eai-support/eai-gofer/gofer_tdd)
Your own site
<a href="https://agentmods.dev/commands/eai-support/eai-gofer/gofer_tdd"><img src="https://agentmods.dev/badge/commands/eai-support/eai-gofer/gofer_tdd.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,704 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 77% copy Near-identical to another mod 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.00018 $0.02704
Opus 5 $0.00009 $0.01352
Sonnet 5 $0.00004 $0.00541
Haiku 4.5 $0.00002 $0.00270

Measured 4d ago against content hash 3cb7af371d33, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

gofer:tdd 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 4d 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.

Origin

This is a copy

77% identical to 10_gofer_cloud — 602 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.specify/commands/gofer_tdd.md · 184 lines

How it starts

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

Gofer TDD

MVP Capability-Based Validation

Use .specify/references/mvp-capability-validation.md as the source of truth. Validate the work that the active feature specification requires now. Do not apply later delivery requirements to an early MVP.

  1. Create .specify/specs/{feature}/ before app or operator-tool source work.
  2. Keep spec.md, plan.md, tasks.md, traceability.md, and the validation scope aligned.
  3. Mark each relevant capability as not_applicable, planned, implemented, verified, or blocked.
  4. Require evidence only for an implemented capability or a capability required by the current delivery decision.
  5. Treat run.sh, run.bat, and run.ps1 as launch evidence only. They do not prove authentication, sessions, EAI access, or deployment readiness.
  6. For a user-facing change, store the local HTTP check, screenshot, and review outcome in the feature validation report.
  7. If browser validation is blocked, mark that user journey unverified. Do not call it complete.
  8. If the user changes scope, update the feature artifacts before continuing. Explain what changed, what remains valid, and what now needs evidence.
  9. Use truthful completion language. For example: The server runs. Authentication is not in the current MVP scope.
  10. When the feature claims a release or deployed outcome, create release-capability-ledger.md from .specify/templates/release-capability-ledger-template.md.
  11. Do not report a release complete or score 100% when a required capability is missing from traceability, remains on an open PR, is absent from the release branch, or lacks required deployed evidence.

Application Classification And EAI Preflight

Before any EAI CLI, login, tenant, template, or app-enrollment action:

  1. Classify the request as EAI app delivery or non-application work using the application signals in .specify/commands/0_gofer_start.md.
  2. Create .specify/specs/{feature}/ and record the active delivery scope before app or operator-tool source work.
  3. If the request is clearly non-app work, confirm once: "This looks like non-app work, so I will skip EAI tenant/app setup and continue the Gofer research/docs path. Is that right?"
  4. If the user confirms non-app, record the decision and mark app-only capabilities not_applicable. Do not run eai whoami, eai tenant select, eai init, or /gofer:eai-first-run.
  5. For local MVP app work, validate the implemented user journey, repo runner, and preview evidence. Do not require EAI setup, authentication, or deployment when the active specification does not require them.
  6. When the feature uses EAI Platform services, requires a tenant, or prepares deployment, run eai whoami and record the EAI readiness evidence in eai-preflight.md.
  7. When the feature creates, changes, or validates an EAI Platform app integration, run node .specify/scripts/node/eai-app-template-readiness.mjs --root . --json. A missing checker or status other than ready blocks that EAI capability. It does not block unrelated local MVP work.
  8. When authentication is implemented or required, validate provider, callback, sign-in, session, first protected API call, and safe denied access.
  9. When deployment is requested or claimed, require the relevant EAI template, security, configuration, and deployment evidence before completion.
  10. For durable app delivery, use EAI Platform first, Azure second, and every other stack only by explicit exception.
  11. If the user changes scope, update spec.md, plan.md, tasks.md, traceability.md, and validation scope before continuing. Explain the business effect and evidence change.
  12. Do not accept copied marker files, partial scaffolds, or custom templates as readiness evidence for an EAI capability.
  13. Do not write tokens, secrets, private tenant IDs, or local .env values into Gofer artifacts; record only product-safe readiness status and evidence.

Read the full file on GitHub · 184 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. 4d ago First seen · 184 lines · 18 tokens per session scan A 3cb7af371d33

Subscribe to this mod's changes

gofer:tdd is a command published in the GitHub repository eai-support/eai-gofer (1 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 2,704 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 77% identical to 10_gofer_cloud, differing in 602 lines, and is treated as a copy.