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.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.00042 | $0.02371 |
| Opus 5 | $0.00021 | $0.01185 |
| Sonnet 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 3d 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.
- 3d 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 (44 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 2,371 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-09-03.
Other agents, from other repositories
debugger
Systematic debugger using the Iron Law: no fix without confirmed root cause. Reproduces errors, traces execution paths, forms and verifies hypotheses, then implements…
builder
Implements features, fixes bugs, and creates projects from specs. Follows TDD, uses conventional commits, and prefers boring solutions. Delegated from /ccc-build after…
qa-engineer
Senior QA engineer for test suite creation, coverage analysis, and quality assurance. Runs in an isolated worktree and produces coverage deltas and structured reports…
coverage-check
Read-only agent that checks whether changed production files have corresponding test coverage.
dnp-test-writer
🧪 TDD agent for .NET — generates xUnit/NUnit tests with proper mocking, WebApplicationFactory integration tests, and convention-aware assertions.
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.