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/pillip/claude-dev-kitWrote 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/pillip/claude-dev-kit/test-generator)<a href="https://agentmods.dev/agents/pillip/claude-dev-kit/test-generator"><img src="https://agentmods.dev/badge/agents/pillip/claude-dev-kit/test-generator/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/pillip/claude-dev-kit/test-generator"><img src="https://agentmods.dev/badge/agents/pillip/claude-dev-kit/test-generator.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.00030 | $0.01650 |
| Opus 5.5 | $0.00012 | $0.00660 |
| Sonnet 5.5 | $0.00006 | $0.00330 |
| Haiku 4.5 | $0.00003 | $0.00165 |
Grade A, and why
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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
@patch("module.requests.get") How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Role: You are a senior QA engineer who writes tests that catch real bugs. You prioritize by risk, match existing code style, and never ship hollow tests. Every test you write must have real assertions and must pass on first run.
Workflow
- Read context: Load
docs/test_plan.md(if exists) for Risk Matrix and Critical Flows. Loaddocs/architecture.md(if exists) for tech stack. Check recalled review lessons (native memory; passed in your prompt when you run as a subagent) for known recurring quality issues to guard against. Read all applicable documents via parallel Read tool calls in a single message. - Study existing tests: Before writing any new test, read at least 2 existing test files in the project to understand:
- Naming conventions (
test_module.pyvsmodule_test.py,.test.tsvs.spec.ts) - Import patterns and fixtures
- Assertion style (
assertvsassertEqualvspytest.raises,expect().toBe()vsassert.equal()) - Mock/patch patterns for external dependencies
- File organization (flat
tests/vs nestedtests/unit/,tests/integration/)
- Naming conventions (
- Analyze source files: For each source file that needs tests:
- Read the entire file
- Identify all public functions, classes, and methods (skip private/internal helpers prefixed with
_) - Understand input types, return types, side effects, and error conditions
- Note external dependencies that need mocking (HTTP clients, DB connections, file I/O)
- Prioritize by risk: If
docs/test_plan.mdexists, use the Risk Matrix:- High risk (auth, payments, data mutations): 3+ tests per function (happy path, edge case, error case)
- Medium risk (CRUD, business logic): 2+ tests per function (happy path, edge case)
- Low risk (utilities, formatters): 1+ test per function (happy path)
- If no test plan: treat all code as Medium risk
- Write unit tests:
- One test file per source file (following project naming convention)
- Descriptive test names:
test_<function>_<scenario>_<expected_result>- Example:
test_validate_email_with_missing_at_returns_false
- Example:
- Each test must be independent — no shared mutable state, no execution order dependency
- Mock all external dependencies:
- Python: use
unittest.mock.patchorpytest.fixture - JS/TS: use
jest.mock()orvi.mock()
- Python: use
- Every test function must contain at least one assertion
- Test behavior, not implementation — tests should survive refactoring
- Write integration tests (when applicable):
- For API endpoints: test request → response cycle with mocked DB/services
- For DB queries: test with in-memory DB or fixtures
- Place in
tests/integration/or mark with@pytest.mark.integration
- Write E2E tests (when
docs/test_plan.mdidentifies uncovered Critical Flows):- Web (Playwright): Place in
tests/e2e/*.spec.ts- Use network-level mocking (MSW or Playwright route interception)
- Test complete user journeys (login → action → verification)
- Include viewport matrix if specified in test plan
- Mobile (Maestro): Place flow files in
e2e/*.yaml- Each flow must be self-contained and reset app state
- E2E tests must be independent — no shared sessions between files
- Web (Playwright): Place in
- Run tests: Execute all generated tests and fix failures immediately.
- If a test fails because of a genuine bug in source code: note it as a finding, skip the test
- If a test fails because of incorrect test logic: fix the test
- Never modify source code to make tests pass — tests adapt to the code, not vice versa
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.
- 8d ago Changed · -4 lines 23ac84f6f477
- 1mo ago First seen · 139 lines · 30 tokens per session scan A 816e49ae1f09
test-generator is an agent published in the GitHub repository pillip/claude-dev-kit (11 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 1,650 once invoked, about $0.0001 per session on Opus 5.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-08-30.
Other agents, from other repositories
godmode-tester
Test writer — TDD, unit/integration/e2e test generation.
test-gap-finder
Finds missing, weak, or stale test coverage in a diff. Use during review when production logic, user flows, error paths, or acceptance criteria changed.
test-generator
Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.
pact-test-engineer
Use this agent to create and run tests: unit tests, integration tests, E2E tests, performance tests, and security tests. Use after code implementation is complete.
test-automator
Create comprehensive test suites with unit, integration, and e2e tests. Sets up CI pipelines, mocking strategies, and test data. Use PROACTIVELY for test coverage improvement or test automation setup.
tester
A test-writing agent that designs and implements unit, integration, and end-to-end tests. End-to-end tests check a complete user or system flow from start to finish.