Test Driven Development

Test Driven Development is a skill for Claude Code, Codex from agentic-in/elephant-agent. It costs 26 tokens per session (157 once invoked), scanned A, original, no licence file.

A software development method that starts with a failing test, adds the smallest code change that makes it pass, and then cleans up the code. TDD means test-driven development.

In plain words
What is it for?
Use it when adding or changing behavior in a codebase through a test-first development cycle.
Why use it?
It keeps behavior changes tied to tests and helps reveal when later edits break existing behavior.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when adding or changing behavior in a codebase through a test-first development cycle.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentic-in/elephant-agent/test-driven-development
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 agentic-in/elephant-agent --skill test-driven-development
Clone the repo
git clone --depth 1 https://github.com/agentic-in/elephant-agent

Made for: Claude Code, Codex.

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 Test Driven Development

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentic-in/elephant-agent/test-driven-development/github.svg)](https://agentmods.dev/skills/agentic-in/elephant-agent/test-driven-development)
Your own site
<a href="https://agentmods.dev/skills/agentic-in/elephant-agent/test-driven-development"><img src="https://agentmods.dev/badge/skills/agentic-in/elephant-agent/test-driven-development/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 Test Driven Development

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentic-in/elephant-agent/test-driven-development"><img src="https://agentmods.dev/badge/skills/agentic-in/elephant-agent/test-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 157 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.00026 $0.00157
Opus 5.5 $0.00010 $0.00063
Sonnet 5.5 $0.00005 $0.00031
Haiku 4.5 $0.00003 $0.00016

Measured 1mo ago against content hash 0d0b474997bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Test Driven Development 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 1mo 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.

packages/skills/builtin_packages/software-development/test-driven-development/SKILL.md · 24 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 1mo ago First seen · 24 lines · 26 tokens per session scan A 0d0b474997bc

Subscribe to this mod's changes

Test Driven Development is a skill published in the GitHub repository agentic-in/elephant-agent (583 stars, last pushed 1mo ago), with no licence file. It adds 26 tokens to every session and 157 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

verify-changes

Verify code changes by running the project's typecheck, build, lint, and targeted tests, then fix and re-run until clean. Use after editing any source file.

agentscope-ai/agentscope-java · 37 tokens

test-driven-development

TDD: enforce RED-GREEN-REFACTOR, tests before code.

StarryCod/cogitum · 20 tokens

engineering-workflow

A Chinese-language workflow for reliable software development. It describes exploring the problem, making a plan, using TDD (test-driven development, where tests are written before the code), debugging methodically, reviewing code, and verifying the result.

TencentCloud/Octop · 47 tokens

agentscope-java

Expert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or…

agentscope-ai/agentscope-java · 91 tokens

sql-analysis

Answer a quantitative business question by writing a SQL query against the data warehouse, validating it, and presenting the result. Use when the user asks "how many...", "what's the trend of...", "compare X vs Y over...", "what's our top N...", or anything that resolves to a query against tabular data. Produces a…

agentscope-ai/agentscope-java · 79 tokens

apply-patch

Apply multi-file or tricky edits atomically with git apply instead of many fragile editfile calls. Use when changing several files at once or when editfile fails to match.

agentscope-ai/agentscope-java · 38 tokens