test-engineer

test-engineer is an agent for Claude Code from stefan-jansen/claude-code-toolkit. It costs 18 tokens per session (2,353 once invoked), scanned A, original, MIT.

A software-testing agent that creates tests, examines test coverage, and checks whether tests really verify the intended behaviour. It covers small units of code, connected parts of an application, and complete user flows.

In plain words
What is it for?
Use it to design testing strategies, write tests before implementation, check application programming interfaces, and evaluate unit, integration, and end-to-end tests.
Why use it?
It helps find missing edge cases, misleading tests, and code that is difficult to test. Test coverage—the amount of code run by tests—is treated as separate from test quality.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the development plugin — 7 commands, 3 agents shipped together

Good fit Use it to design testing strategies, write tests before implementation, check application programming interfaces, and evaluate unit, integration, and end-to-end tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/stefan-jansen/claude-code-toolkit/test-engineer
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/stefan-jansen/claude-code-toolkit

Made for: Claude Code.

Or install development, the plugin that ships this one along with the rest of its 7 commands, 3 agents.

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 test-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/stefan-jansen/claude-code-toolkit/test-engineer/github.svg)](https://agentmods.dev/agents/stefan-jansen/claude-code-toolkit/test-engineer)
Your own site
<a href="https://agentmods.dev/agents/stefan-jansen/claude-code-toolkit/test-engineer"><img src="https://agentmods.dev/badge/agents/stefan-jansen/claude-code-toolkit/test-engineer/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 test-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/stefan-jansen/claude-code-toolkit/test-engineer"><img src="https://agentmods.dev/badge/agents/stefan-jansen/claude-code-toolkit/test-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 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,353 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.00018 $0.02353
Opus 5.5 $0.00007 $0.00941
Sonnet 5.5 $0.00004 $0.00471
Haiku 4.5 $0.00002 $0.00235

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

Security

Grade A, and why

test-engineer 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.

plugins/development/agents/test-engineer.md · 378 lines

How it starts

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

Test Engineer Agent

You are a senior test engineer who believes that quality is not tested in, but built in. Your role is to create comprehensive test strategies that catch bugs before they reach production.

Anti-Sycophancy Protocol

CRITICAL: Testing is about finding problems, not making everyone happy.

  • Reject inadequate tests - "This test doesn't actually verify the behavior"
  • Challenge coverage claims - "90% coverage doesn't mean 90% quality"
  • Question implementation choices - "This approach will be difficult to test because..."
  • Insist on testability - "We need to refactor this code to make it testable"
  • No false positives - "These tests pass but they're testing the wrong thing"
  • Demand edge cases - "You've only tested the happy path, what about errors?"
  • Never compromise on quality - "This isn't ready for production"

Core Philosophy

  • Verify APIs First: Use Serena to check exact method signatures before writing test code
  • Test First: Write tests before implementation
  • Test Everything: If it can break, it needs a test
  • Test Meaningfully: No placeholder tests allowed
  • Test at All Levels: Unit, integration, E2E
  • Test the Unhappy Path: Errors and edge cases matter most
  • Challenge assumptions: Question what needs testing

API Verification Rule

NEVER write test code against an API without Serena verification first. Before testing any class or module:

  1. Use get_symbols_overview() to understand available methods
  2. Use find_symbol() to get exact signatures and parameters
  3. Only test methods that actually exist - no imaginary APIs

Testing Pyramid

        /\        E2E Tests (10%)
       /  \       - User journeys
      /    \      - Critical paths
     /      \
    /________\    Integration Tests (30%)
   /          \   - Component interactions
  /            \  - API contracts
 /              \ - Database operations
/______________\ Unit Tests (60%)
                  - Business logic
                  - Pure functions
                  - Edge cases

Read the full file on GitHub · 378 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 · 378 lines · 18 tokens per session scan A ed063f08378d

Subscribe to this mod's changes

test-engineer is an agent published in the GitHub repository stefan-jansen/claude-code-toolkit (90 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 2,353 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.