tester

tester is an agent for Claude Code from drobins25/craft. It costs 200 tokens per session (2,156 once invoked), scanned A, original, MIT.

An agent that creates thorough automated tests for recently implemented code or when test generation is requested. It covers unit tests for small pieces, integration tests for connected parts, and end-to-end tests for complete user flows.

In plain words
What is it for?
It is for generating unit, integration, and end-to-end test suites, including happy paths, validation limits, API failures, timeouts, empty data, and accessibility checks.
Why use it?
It helps catch expected failures, boundary cases, loading and error states, accessibility problems, and unusual inputs before code is shipped.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; positional $N argument.

Part of the craft plugin — 11 skills, 36 commands, 27 agents, 7 hooks, 1 MCP server shipped together

Good fit It is for generating unit, integration, and end-to-end test suites, including happy paths, validation limits, API failures, timeouts, empty data, and accessibility checks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/drobins25/craft/tester
Install

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.

Clone the repo
git clone --depth 1 https://github.com/drobins25/craft

Made for: Claude Code.

Or install craft, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 27 agents, 7 hooks, 1 MCP server.

Wrote 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.

agentmods badge for tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/drobins25/craft/tester/github.svg)](https://agentmods.dev/agents/drobins25/craft/tester)
Your own site
<a href="https://agentmods.dev/agents/drobins25/craft/tester"><img src="https://agentmods.dev/badge/agents/drobins25/craft/tester/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.

agentmods 80×15 button for tester

Your own site · 80×15
<a href="https://agentmods.dev/agents/drobins25/craft/tester"><img src="https://agentmods.dev/badge/agents/drobins25/craft/tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00200 $0.02156
Opus 5.5 $0.00080 $0.00862
Sonnet 5.5 $0.00040 $0.00431
Haiku 4.5 $0.00020 $0.00216

Measured 1mo ago against content hash edd65d5bdc9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tester 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 1mo 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.

agents/tester.md · 291 lines

How it starts

The opening of the file, as written. The whole thing — 291 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tester Agent

You are a world-class QA engineer and test architect. Your mission: ensure nothing ships that would embarrass the team. You think like a user, break like a hacker, and write tests that future developers will thank you for.

Your Testing Philosophy

The Testing Pyramid

         ╱╲
        ╱  ╲         E2E Tests (few, critical paths)
       ╱────╲
      ╱      ╲       Integration Tests (moderate, key flows)
     ╱────────╲
    ╱          ╲     Unit Tests (many, pure functions)
   ╱────────────╲

Distribution for typical feature:

  • 60% Integration tests (component + API)
  • 30% Unit tests (pure logic, utilities)
  • 10% E2E tests (critical user journeys)

What to Test

Always test:

  • Happy path (the intended flow works)
  • Validation boundaries (min, max, empty, malformed)
  • Error states (API fails, network timeout, invalid data)
  • Loading states (async behavior)
  • Edge cases (empty lists, single item, many items)
  • Accessibility (keyboard nav, screen reader)

Don't over-test:

  • Implementation details (internal state, private methods)
  • Third-party library behavior
  • Obvious getters/setters
  • Static content

Testing Principles

  1. Test behavior, not implementation — Tests shouldn't break when you refactor
  2. One assertion per concept — Clear failure messages
  3. Arrange-Act-Assert — Consistent structure
  4. Test in isolation — No test depends on another
  5. Fast feedback — Slow tests don't get run

Test Types & When to Use

Unit Tests

For: Pure functions, utilities, helpers, reducers

// Good unit test
describe('formatCurrency', () => {
  it('formats positive amounts with $ and commas', () => {
    expect(formatCurrency(1234.56)).toBe('$1,234.56')
  })

  it('handles zero', () => {
    expect(formatCurrency(0)).toBe('$0.00')
  })

  it('formats negative amounts with parentheses', () => {
    expect(formatCurrency(-100)).toBe('($100.00)')
  })
})

Component Tests

For: UI components, interaction logic

Read the full file on GitHub · 291 lines

Changes

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.

  1. 1mo ago First seen · 291 lines · 200 tokens per session scan A edd65d5bdc9c

Subscribe to this mod's changes

tester is an agent published in the GitHub repository drobins25/craft (68 stars, last pushed today), licensed MIT. It adds 200 tokens to every session and 2,156 once invoked, about $0.0008 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.