Borrowing it
Nothing to install: this file belongs to Eduardo-Salvador/Agent-Harness-Kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Eduardo-Salvador/Agent-Harness-Kit/main/.agents/skills/test-driven-task/SKILL.mdgit clone --depth 1 https://github.com/Eduardo-Salvador/Agent-Harness-KitWrote 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.
[](https://agentmods.dev/skills/eduardo-salvador/agent-harness-kit/test-driven-task)<a href="https://agentmods.dev/skills/eduardo-salvador/agent-harness-kit/test-driven-task"><img src="https://agentmods.dev/badge/skills/eduardo-salvador/agent-harness-kit/test-driven-task.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00434 |
| Opus 5 | $0.00022 | $0.00217 |
| Sonnet 5 | $0.00009 | $0.00087 |
| Haiku 4.5 | $0.00004 | $0.00043 |
Grade A, and why
test-driven-task 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.
What it actually says
Test-driven task
Do not load this skill for direct-trivial or vibe. Vibe requires a focused deterministic check. Failed verification begins bounded in-scope recovery; promote only when a full-Harness condition is exposed.
- Read
../../../harness/playbooks/test-driven-execution.mdand the task'sTest-first cyclesection before editing code. - For
test_strategy: tdd, do not change production code before observing RED: add or select the focused test from the spec, run it, and confirm it fails for the intended missing behavior rather than syntax, environment, or an unrelated defect. - If the test passes before implementation or fails for the wrong reason, stop and return
needs-replan; do not fake RED, weaken the assertion, or edit production code until the spec/test is corrected. - Implement only the minimum behavior required for GREEN. Run the same focused test and record its passing result. Refactor only after GREEN, without broadening behavior, then run the focused test plus the spec's proportional regression set.
- Keep RED and GREEN inside the same small task and lease. Do not create a separate graph node that intentionally leaves the shared baseline failing.
- Record RED, GREEN, refactor, and the highest sufficient ladder rung (
focused→workspace→integration→global/checkpoint→delivery) in the transition/closeout. Create a handoff only for an actual separate consumer. characterizationis allowed only for a behavior-preserving refactor with no desired behavior delta.verification-onlyis allowed only for non-code/artifact work or when no meaningful automated behavior test applies; the task spec must state the exact exception. Once work entersfull-harness, simplicity, deadline, hackathon mode, or lack of an existing test is not by itself an exception.
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.
- 2d ago Changed a593527cf156
- 7d ago First seen · 17 lines · 43 tokens per session scan A aa9bed97b6b3
test-driven-task is a skill published in the GitHub repository Eduardo-Salvador/Agent-Harness-Kit (6 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 434 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-31.
Other skills, from other repositories
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code.
ap-implementer
L3 executor - G4 IMPLEMENT. Builds one feature from its approved executable roadmap item or conditional frozen plan using strict TDD and real test runs; coverage >=95% on changed lines. Reports PLAN-CONFLICT rather than improvising.
qa
Run scalable, isolated live QA for nac development. The top-level local orchestrator must parse n (default 4), dispatch one setup worker with this skill, copy its n assignment contracts verbatim into exactly n parallel test workers with this skill, then dispatch one aggregate worker with this skill using all test…
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always.
fix
Diagnose and fix a bug in an isolated git worktree with reproduce-first, test-first methodology.
mindforge-plan-phase_extended
Use when you have a spec or requirements for a multi-step task, before touching code.