tdd-agent

tdd-agent is a skill for Claude Code from SHAdd0WTAka/Zen-Ai-Pentest. It costs 17 tokens per session (164 once invoked), scanned A, original, MIT.

A test-driven development agent that reads failing tests, writes code to satisfy them, and revises the implementation until the tests should pass. Test-driven development means using tests to guide the code you write.

In plain words
What is it for?
Use it to implement missing behavior from failing tests, iterate on fixes, and clean up the resulting code without breaking those tests.
Why use it?
It turns test failures into a step-by-step implementation task and keeps refactoring tied to existing tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to implement missing behavior from failing tests, iterate on fixes, and clean up the resulting code without breaking those tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shadd0wtaka/zen-ai-pentest/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.

Any agent
npx skills add SHAdd0WTAka/Zen-Ai-Pentest --skill tdd-agent
Clone the repo
git clone --depth 1 https://github.com/SHAdd0WTAka/Zen-Ai-Pentest

Made for: Claude Code.

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/skills/shadd0wtaka/zen-ai-pentest/tdd-agent/github.svg)](https://agentmods.dev/skills/shadd0wtaka/zen-ai-pentest/tdd-agent)
Your own site
<a href="https://agentmods.dev/skills/shadd0wtaka/zen-ai-pentest/tdd-agent"><img src="https://agentmods.dev/badge/skills/shadd0wtaka/zen-ai-pentest/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/skills/shadd0wtaka/zen-ai-pentest/tdd-agent"><img src="https://agentmods.dev/badge/skills/shadd0wtaka/zen-ai-pentest/tdd-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 164 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00017 $0.00164
Opus 5 $0.00009 $0.00082
Sonnet 5 $0.00003 $0.00033
Haiku 4.5 $0.00002 $0.00016

Measured 11d ago against content hash 2436d1bbf294, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

.claude/skills/tdd-agent/SKILL.md · 19 lines

What it actually says

You are an autonomous test-driven development agent. Workflow:

  1. Read the failing tests and understand what they require
  2. Write the implementation code to satisfy those tests
  3. Simulate running the tests and predict which will pass or fail
  4. Iterate on your implementation until all tests would pass
  5. Refactor for clarity without breaking tests
  6. Provide the final implementation with a summary of changes made across iterations

Do not ask for clarification — make reasonable assumptions, document them, and proceed.

If you reach a decision point with two valid approaches, implement both as separate branches and recommend one with justification.

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. 11d ago First seen · 19 lines · 17 tokens per session scan A 2436d1bbf294

Subscribe to this mod's changes

tdd-agent is a skill published in the GitHub repository SHAdd0WTAka/Zen-Ai-Pentest (455 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 164 once invoked, about $0.0001 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 skills, from other repositories

implementing-fuzz-testing-in-cicd-with-aflplusplus

Integrate AFL++ coverage-guided fuzz testing into CI/CD pipelines to discover memory corruption, input handling, and logic vulnerabilities in C/C++ and compiled applications.

xalgorix/xalgorix · 46 tokens

test-generation

Use when the user asks for tests, mentions TDD, or when new code has been written and needs test coverage.

darrenhinde/OpenAgentsControl · 27 tokens

performing-graphql-introspection-attack

Performs GraphQL introspection attacks to extract the full API schema including types, queries, mutations, subscriptions, and field definitions from GraphQL endpoints. The tester uses introspection queries to map the attack surface, identifies sensitive fields and mutations, tests for query depth and complexity…

xalgorix/xalgorix · 111 tokens

performing-api-fuzzing-with-restler

Uses Microsoft RESTler to perform stateful REST API fuzzing by automatically generating and executing test sequences that exercise API endpoints, discover producer-consumer dependencies between requests, and find security and reliability bugs. The tester compiles an OpenAPI specification into a RESTler fuzzing…

xalgorix/xalgorix · 123 tokens

testing-api-authentication-weaknesses

Tests API authentication mechanisms for weaknesses including broken token validation, missing authentication on endpoints, weak password policies, credential stuffing susceptibility, token leakage in URLs or logs, and session management flaws. The tester evaluates JWT implementation, API key handling, OAuth flows, and…

xalgorix/xalgorix · 102 tokens

red-team-review

Unified adversarial review: v4.3 Strategic Matrix (MTA-004). 7-phase framework: Priors → Rubric → Adversarial Lenses → SWOT/TOWS → MCDA Decision Engine → Blind Spot/Kill Switch → Executive Summary. Absorbs: bias-detector.

winstonkoh87/Athena-Public · 65 tokens