tdd-agent

tdd-agent is an agent for Claude Code from Habitat-Thinking/ai-literacy-superpowers. It costs 44 tokens per session (2,225 once invoked), scanned A, original, no licence file.

A test-driven development helper that writes tests for approved acceptance scenarios before implementation starts. Test-driven development, or TDD, means writing tests first and then code to satisfy them.

In plain words
What is it for?
Use it after the specification and plan are approved to create and verify the initial failing tests.
Why use it?
It turns the agreed behaviour into failing tests and confirms they fail, reducing the risk of writing code for an untested interpretation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-literacy-superpowers plugin — 41 skills, 32 commands, 20 agents, 3 hooks shipped together

Good fit Use it after the specification and plan are approved to create and verify the initial failing tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/habitat-thinking/ai-literacy-superpowers/tdd-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.

Clone the repo
git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers

Made for: Claude Code.

Or install ai-literacy-superpowers, the plugin that ships this one along with the rest of its 41 skills, 32 commands, 20 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 tdd-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/habitat-thinking/ai-literacy-superpowers/tdd-agent/github.svg)](https://agentmods.dev/agents/habitat-thinking/ai-literacy-superpowers/tdd-agent)
Your own site
<a href="https://agentmods.dev/agents/habitat-thinking/ai-literacy-superpowers/tdd-agent"><img src="https://agentmods.dev/badge/agents/habitat-thinking/ai-literacy-superpowers/tdd-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.

agentmods 80×15 button for tdd-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/habitat-thinking/ai-literacy-superpowers/tdd-agent"><img src="https://agentmods.dev/badge/agents/habitat-thinking/ai-literacy-superpowers/tdd-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 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,225 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 unknown 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.00044 $0.02225
Opus 5 $0.00022 $0.01112
Sonnet 5 $0.00009 $0.00445
Haiku 4.5 $0.00004 $0.00222

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

Security

Grade A, and why

tdd-agent 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 10d 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.

ai-literacy-superpowers/agents/tdd-agent.agent.md · 234 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 10d ago First seen · 234 lines · 44 tokens per session scan A 4adaa71a2a2b

Subscribe to this mod's changes

tdd-agent is an agent published in the GitHub repository Habitat-Thinking/ai-literacy-superpowers (102 stars, last pushed 15d ago), with no licence file. It adds 44 tokens to every session and 2,225 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

engineer

Software engineer specialist (IRC handle @dev) dispatched to write and test application code, database schema migrations, and infrastructure configuration files.

NexaDuo/mARC · 30 tokens

test-evidence-parser

Classifies EM-captured test failures (real/flake/env/timeout/skip) to disk. Mechanical triage only, no opinions.

dbc-oduffy/coordinator-claude · 33 tokens

test-runner

Runs a diff's scoped tests, reports raw evidence. Tier-T only, never the fast/full suite.

dbc-oduffy/coordinator-claude · 25 tokens

exit-criterion-falsifier

Authors and runs the baseline falsifier for a plan's prime exit criterion — the instrument, never the spec. Sees the prime exit criterion and the repo only; never the ACs, chunk bodies, or task spine.

dbc-oduffy/coordinator-claude · 52 tokens

arbiter

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

SethGammon/Citadel · 132 tokens

senior-dev

Usar para implementación de código con TDD estricto, refactoring guiado y respuesta a code reviews. Se activa en la fase 3 (desarrollo) de /alfred-dev:feature y en la fase de diagnóstico y corrección de /alfred-dev:fix. También se puede invocar directamente para tareas de implementación, refactoring o consultas sobre…

686f6c61/alfred-dev · 263 tokens