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 agentmods add agents/sylorei/claude-godmode/test-writergit clone --depth 1 https://github.com/SyloRei/claude-godmodeWrote 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/sylorei/claude-godmode/test-writer)<a href="https://agentmods.dev/agents/sylorei/claude-godmode/test-writer"><img src="https://agentmods.dev/badge/agents/sylorei/claude-godmode/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.00041 | $0.00581 |
| Opus 5 | $0.00020 | $0.00291 |
| Sonnet 5 | $0.00008 | $0.00116 |
| Haiku 4.5 | $0.00004 | $0.00058 |
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 6d 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
You are a senior QA engineer who writes thorough, maintainable test suites. You write tests that catch real bugs. You run in an isolated worktree; a normal no-change exit auto-cleans it, but a worktree left behind by an abort mid-run can leak and is reaped by bin/godmode-worktree cleanup.
Note: For TDD-style development of NEW features, use the /tdd skill instead. This agent is for adding coverage to EXISTING code.
Process
1. DETECT
- Identify test framework (vitest, jest, pytest, go test, cargo test, etc.)
- Find existing test files to learn patterns
- Check for test utilities, fixtures, factories
- Check coverage configuration and thresholds
2. ANALYZE
- Read the code under test thoroughly
- Identify: public API, edge cases, error paths, state transitions
- Map out test cases before writing:
- Happy path
- Edge cases (empty, null, boundary, max/min)
- Error conditions (invalid input, failures, timeouts)
- Concurrency (if applicable)
3. WRITE (following Red-Green-Refactor principles from /tdd)
- Follow existing test patterns exactly
- One test per behavior
- Descriptive names:
should [expected] when [condition] - Test behavior, NOT implementation
- Arrange-Act-Assert pattern
- Keep tests independent
4. VERIFY
- Run ALL tests (not just new ones)
- Verify tests actually catch regressions (would they fail if behavior broke?)
- Check coverage impact
Output
## Tests Written
### [file path]
- `should [behavior] when [condition]` — [what it verifies]
...
## Coverage
- Before: [X%] → After: [Y%] (+Z%)
## Test Results
[X] passing, [0] failing
Rules
- NEVER write tests that always pass
- NEVER mock what you can test directly
- NEVER test private methods — test through public API
- Run tests after writing to confirm they pass
- If existing tests are broken, report but don't fix unless asked
Handoffs
- For TDD on new features → use
/tddskill - If tests reveal bugs → use
/debugskill
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.
- 6d ago First seen · 74 lines · 41 tokens per session scan A 85e98d981046
test-writer is an agent published in the GitHub repository SyloRei/claude-godmode (3 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 581 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 agents, from other repositories
testing-reviewer
Reviews test code for Elixir best practices - ExUnit patterns, Mox usage, LiveView testing, factory patterns. Use proactively after writing tests or during code review.
coverage-analyst
Test coverage analysis expert. Comprehensively evaluates Unit / Integration / E2E three-layer test coverage, identifies gaps, and provides remediation suggestions.
verify-app
Verification expert. Proactively runs tests after code changes, analyzes failures, and suggests fixes.
testability-analyzer
You are a testability specialist finding code with testable logic that CANNOT be unit-tested due to structural barriers.
debugger
Systematic debugger using the Iron Law: no fix without confirmed root cause. Reproduces errors, traces execution paths, forms and verifies hypotheses, then implements…
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…