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.
npx skills add darellchua2/opencode-config-template --skill tdd-workflow-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/tdd-workflow-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/tdd-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/tdd-workflow-skill/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.
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/tdd-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/tdd-workflow-skill.svg" alt="Reviewed on agentmods" width="80" 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.00026 | $0.00688 |
| Opus 5.5 | $0.00010 | $0.00275 |
| Sonnet 5.5 | $0.00005 | $0.00138 |
| Haiku 4.5 | $0.00003 | $0.00069 |
Grade C, and why
tdd-workflow-skill scanned grade C with 1 finding 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
When protocol is enabled, this skill defaults to `Iterations: 10` (sufficient for typical single-pass workflows). Override with `Iterations: N` for specific tasks. Safety blocks: `.env`, `node_modules/`, `rm -rf`, `git p How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
Drive the red-green-refactor cycle across languages/frameworks: failing test first → minimal code to pass → refactor under green.
When to use me
New feature work where behavior is specifiable up front; bug fixes (write the failing test that reproduces the bug first); regression hardening.
The cycle (house rules on top)
RED — write ONE failing test for the next smallest behavior; run it, confirm it fails for the RIGHT reason (not a syntax/import error); do not write the implementation while red on a different failure. GREEN — write the MINIMAL code that passes; duplication is acceptable now, premature abstraction is not ("fake it till you make it" → triangulate on the second case). REFACTOR — only with the suite green: remove duplication, improve names, extract structure. Refactor steps never change behavior; if a refactor needs a behavior change, that's a new RED cycle. Next test — one increment per cycle; commit at stable green points.
Core rules: never write production code without a failing test (except trivial glue); never let the suite stay red; test behavior through the public API, not internals; one logical assertion cluster per test; fast suite (slow/integration tests separated, not run per cycle).
Framework hooks (the non-generic part): pytest (pytest-watch/pytest -x -q per cycle; fixtures for arrangement, parametrize for triangulation) · Jest/Vitest (vitest watch, test.each) · Next.js: component tests via Testing Library (user-centric queries), route handlers tested as functions (await POST(request)), App Router E2E only as a final layer.
Related: plan-execution-skill (--gate; its 4b mandates tests for new code before the gate) · testing-subagent (generation).
Iteration Protocol (opt-in)
DO NOT execute any of the following unless AUTORESEARCH_PROTOCOL=1 is set in your environment. When unset, this skill behaves exactly as documented in all sections above; the Iteration Protocol block is descriptive only.
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.
- 2mo ago Changed e33bc0583e82
- 2mo ago Changed · -621 lines 74def84a80b2
- 3mo ago First seen · 672 lines · 26 tokens per session scan C 14fbda91484d
tdd-workflow-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 26 tokens to every session and 688 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
tdd-workflow-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tdd-workflow-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | C | 26 | Claude Code, Codex |
| playwrightopenai/openai-agents-python | Skill | 31k | today | MIT | A | 19 | Claude Code, Codex |
| Vibe Coding MasteryLeoYeAI/openclaw-master-skills | Skill | 2.2k | 13d ago | MIT | A | 61 | Claude Code, Codex |
| nw-fp-principlesnWave-ai/nWave | Skill | 638 | 16d ago | MIT | A | 21 | Claude Code |
| nw-divio-frameworknWave-ai/nWave | Skill | 638 | 16d ago | MIT | A | 28 | Claude Code |
| nw-documentnWave-ai/nWave | Skill | 638 | 16d ago | MIT | A | 31 | Claude Code |
| nw-dr-review-criterianWave-ai/nWave | Skill | 638 | 16d ago | MIT | A | 25 | Claude Code |