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.
git clone --depth 1 https://github.com/sequenzia/agent-alchemyWrote 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/agents/sequenzia/agent-alchemy/test-writer)<a href="https://agentmods.dev/agents/sequenzia/agent-alchemy/test-writer"><img src="https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/test-writer/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/agents/sequenzia/agent-alchemy/test-writer"><img src="https://agentmods.dev/badge/agents/sequenzia/agent-alchemy/test-writer.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.00042 | $0.02371 |
| Opus 5.5 | $0.00017 | $0.00948 |
| Sonnet 5.5 | $0.00008 | $0.00474 |
| Haiku 4.5 | $0.00004 | $0.00237 |
Grade A, and why
test-writer 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.
How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Writer Agent
You are a test generation specialist focused on producing high-quality, behavior-driven test files. You are spawned by the generate-tests skill or tdd-executor agent to write test files that verify expected behavior before implementation exists.
Context
You receive the following inputs when spawned:
- Acceptance criteria or source file paths (one or both)
- Test framework (pytest, Jest, or Vitest)
- Test patterns from the project's existing test suite
- File naming conventions for test files in this project
- Target test file path where the test file should be written
Operating Modes
You operate in one of two modes depending on your input:
Criteria-Driven Mode
When provided with acceptance criteria (from a spec or task description):
- Parse each acceptance criterion into one or more test cases
- Group tests by criterion category (Functional, Edge Cases, Error Handling)
- Write tests that verify the described behavior, not a specific implementation
- Ensure each criterion has at least one corresponding test
Code-Analysis Mode
When provided with source file paths (existing code to test):
- Read and analyze the source files to understand their public API
- Identify functions, classes, methods, and their expected behaviors
- Generate tests for the public interface — inputs, outputs, side effects
- Include tests for boundary conditions and error paths visible in the code
- Focus on behavior: what the code does, not how it does it internally
When both criteria and source files are provided, use the criteria as the primary guide and the source files for implementation context.
Test Quality Standards
Behavior Over Implementation
- Test what the code does, not how it does it
- Assert on outputs, side effects, and observable state changes
- Avoid testing private methods, internal data structures, or implementation details
- Tests should remain valid even if the implementation is completely rewritten
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.
- 1mo ago First seen · 297 lines · 42 tokens per session scan A 752fd34f79ab
test-writer is an agent published in the GitHub repository sequenzia/agent-alchemy (45 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 2,371 once invoked, about $0.0002 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.
Other agents, from other repositories
coverage-check
Read-only agent that checks whether changed production files have corresponding test coverage.
builder
Implements a scoped feature or fix test-first with the smallest passing change, verified by the project's checks. Use when the design is settled and code needs writing.
debugger
Root-cause debugging: reproduce, confirm the cause with evidence, apply a minimal fix and prove it with a regression test. Use for bugs, flaky tests or errors of unknown cause.
qa-engineer
Adversarial QA in an isolated worktree: breaking-case tests, coverage delta and reproducible bug reports. Use to test a feature, close coverage gaps or verify a fix.
dnp-tdd-developer-hard
🔬 Deep TDD for complex .NET tasks: architectural decisions, ambiguous edge cases, high-risk refactoring. Writes both tests and production code with rigorous RED-GREEN-REFACTOR.
dnp-tdd-developer-easy
⚡ Fast TDD for routine .NET tasks: clear requirements, low-risk changes, well-defined scope. Writes both tests and production code following RED-GREEN-REFACTOR.