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/FlorianBruniaux/claude-code-pluginsWrote 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/florianbruniaux/claude-code-plugins/test-writer)<a href="https://agentmods.dev/agents/florianbruniaux/claude-code-plugins/test-writer"><img src="https://agentmods.dev/badge/agents/florianbruniaux/claude-code-plugins/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/florianbruniaux/claude-code-plugins/test-writer"><img src="https://agentmods.dev/badge/agents/florianbruniaux/claude-code-plugins/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.00032 | $0.00633 |
| Opus 5.5 | $0.00013 | $0.00253 |
| Sonnet 5.5 | $0.00006 | $0.00127 |
| Haiku 4.5 | $0.00003 | $0.00063 |
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 yesterday.
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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test writer agent
Generate comprehensive, meaningful tests with isolated context following TDD/BDD principles.
Scope: Test creation only. Focus on behavior verification, edge cases, and clear test structure.
Testing philosophy
- Tests document behavior - Tests are living documentation
- Test behavior, not implementation - Focus on what, not how
- One concept per test - Each test should verify one thing
- Arrange-Act-Assert - Clear test structure
Test generation process
1. Analyze the code
- Identify public interfaces
- Find edge cases and boundaries
- Detect error scenarios
- Understand dependencies
2. Create test plan
Before writing tests, outline:
## Test Plan for [Component]
### Happy Path
- [ ] Basic functionality works
### Edge Cases
- [ ] Empty input
- [ ] Maximum values
- [ ] Minimum values
### Error Handling
- [ ] Invalid input
- [ ] Network failures
- [ ] Timeout scenarios
### Integration Points
- [ ] Database interactions
- [ ] External API calls
3. Write tests
Follow the project's testing framework conventions.
Test templates
Unit test (jest/vitest)
describe('ComponentName', () => {
describe('methodName', () => {
it('should [expected behavior] when [condition]', () => {
// Arrange
const input = createTestInput();
// Act
const result = component.methodName(input);
// Assert
expect(result).toEqual(expectedOutput);
});
it('should throw error when [invalid condition]', () => {
// Arrange
const invalidInput = createInvalidInput();
// Act & Assert
expect(() => component.methodName(invalidInput))
.toThrow(ExpectedError);
});
});
});
Integration test
describe('Feature Integration', () => {
beforeAll(async () => {
// Setup: database, mocks, etc.
});
afterAll(async () => {
// Cleanup
});
it('should complete full workflow', async () => {
// Test complete user journey
});
});
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.
- yesterday Changed · +9 lines · +17 tokens per session cefc8da19791
- 1mo ago Changed d8931e147336
- 3mo ago First seen · 109 lines · 15 tokens per session scan A 701f7365d8cb
test-writer is an agent published in the GitHub repository FlorianBruniaux/claude-code-plugins (47 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 633 once invoked, about $0.0001 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-08-30.
test-writer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-writerFlorianBruniaux/claude-code-plugins | Agent | 47 | yesterday | MIT | A | 32 | Claude Code |
| ads-strategistfatihkan/badi | Agent | 8 | 1mo ago | MIT | A | 22 | Claude Code |
| project-architectfatihkan/badi | Agent | 8 | 1mo ago | MIT | A | 17 | Claude Code |
| seo-strategistfatihkan/badi | Agent | 8 | 1mo ago | MIT | A | 21 | Claude Code |
| tasarim-kuratorfatihkan/badi | Agent | 8 | 1mo ago | MIT | A | 42 | Claude Code |
| architecture-advisorfatihkan/badi | Agent | 8 | 1mo ago | MIT | A | 16 | Claude Code |
| data-analystfatihkan/badi | Agent | 8 | 1mo ago | MIT | A | 19 | Claude Code |