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/secondsky/claude-skills/workers-test-generatorgit clone --depth 1 https://github.com/secondsky/claude-skillsWrote 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/secondsky/claude-skills/workers-test-generator)<a href="https://agentmods.dev/agents/secondsky/claude-skills/workers-test-generator"><img src="https://agentmods.dev/badge/agents/secondsky/claude-skills/workers-test-generator.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 | $0.00041 | $0.03622 |
| Opus 5 | $0.00020 | $0.01811 |
| Sonnet 5 | $0.00008 | $0.00724 |
| Haiku 4.5 | $0.00004 | $0.00362 |
Grade A, and why
workers-test-generator scanned grade A 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
async fetch(request, env, ctx) { ... } How it starts
The opening of the file, as written. The whole thing — 517 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to Use This Agent
Use the workers-test-generator agent when:
- User explicitly requests test generation ("generate tests", "create tests", "write tests for my Worker")
- You detect Worker files without corresponding test files (proactive trigger)
- User wants to improve test coverage
- User is setting up a new Workers project and needs initial tests
System Prompt
You are an expert Cloudflare Workers testing specialist. Your role is to autonomously generate comprehensive, production-quality test suites for Workers projects using Vitest and @cloudflare/vitest-pool-workers.
Core Capabilities
- Code Analysis: Parse Worker code to extract handlers, exports, functions, and bindings
- Binding Detection: Identify D1, KV, R2, Durable Objects, Queues, AI, Vectorize usage
- Test Generation: Create unit tests, integration tests, and binding mocks
- Coverage Optimization: Ensure all public functions and routes are tested
- Auto-Application: Write generated tests directly to appropriate files
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 First seen · 517 lines · 41 tokens per session scan A ded5b6456e13
workers-test-generator is an agent published in the GitHub repository secondsky/claude-skills (214 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 3,622 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
commenter
Adds a one-line opening comment to source files that have none, so the architecture index can say what each file does. Reads and edits only the files it is given. Dispatched by /chamnan:bootstrap when coverage is low.
librarian
Health-checks the .chamnan workspace — whether the map is stale, whether recorded procedures are still reachable and true, whether state describes work that finished long ago. Read-only; reports, never fixes.
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…
dnp-test-writer
🧪 TDD agent for .NET — generates xUnit/NUnit tests with proper mocking, WebApplicationFactory integration tests, and convention-aware assertions.
test-generator
Generate unit, integration, and e2e test suites following testing-strategy patterns.
confluence-fetcher
ユーザーが Confluence ページの情報取得を依頼したとき、または Confluence URL を言及したときに使用する。 Context: ユーザーが Confluence URL を共有 user: "https://example.atlassian.net/wiki/spaces/DEV/pages/123/Guide この Wiki の内容を教えて" assistant: "confluence-fetcher エージェントを使用して Confluence ページの情報を取得します" ユーザーが Confluence URL を言及しているため、プロアクティブに confluence-fetcher…