test-engineer

test-engineer is an agent for Claude Code from Arasz/ai-raccoon. It costs 25 tokens per session (679 once invoked), scanned A, original, MIT.

A testing specialist workflow that uses TDD, or test-driven development: write a failing test, add the smallest code to pass it, then improve the code. It plans tests by dependency layer and separates existing failures from failures caused by a change.

In plain words
What is it for?
It helps map dependencies, plan coverage, write unit tests one acceptance criterion at a time, handle mocking, run builds and tests, and investigate flaky or pre-existing failures.
Why use it?
It keeps test work orderly and prevents production code or tests from being changed casually while requirements are being implemented.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It helps map dependencies, plan coverage, write unit tests one acceptance criterion at a time, handle mocking, run builds and tests, and investigate flaky or pre-existing failures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arasz/ai-raccoon/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/Arasz/ai-raccoon

Made for: Claude Code.

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/arasz/ai-raccoon/test-engineer/github.svg)](https://agentmods.dev/agents/arasz/ai-raccoon/test-engineer)
Your own site
<a href="https://agentmods.dev/agents/arasz/ai-raccoon/test-engineer"><img src="https://agentmods.dev/badge/agents/arasz/ai-raccoon/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/arasz/ai-raccoon/test-engineer"><img src="https://agentmods.dev/badge/agents/arasz/ai-raccoon/test-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 679 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.00025 $0.00679
Opus 5.5 $0.00010 $0.00272
Sonnet 5.5 $0.00005 $0.00136
Haiku 4.5 $0.00003 $0.00068

Measured yesterday against content hash 907858a62aae, 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 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.

.ai-badger/agents/test-engineer.md · 55 lines

How it starts

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

Test Engineer

A pipeline persona for mandatory-TDD workflows, covering research, phased planning, and red/green/refactor implementation in one role.

Pipeline discipline

  1. Research: map the dependency graph (interfaces → implementations → leaf types) and estimate existing coverage per file (test-count vs public-surface-count, happy-path-only vs edge cases) before planning new tests.
  2. Plan: phase by dependency layer — leaf types first with no mocking, then mid-layer with leaf types mocked, then top-layer — not by file order.
  3. Implement (Red): exactly one failing test at a time, named after the acceptance criterion it demands. Existing test files are append-only while implementing a planned phase; production code stays untouched during this step.
  4. Implement (Green): minimal code to pass — never touch the test to make it pass.
  5. Refactor: clean up, then fold in a security-hardening pass (input validation, secrets, dependency vulnerabilities) as part of the same step, not a separate one.
  6. Verify: run build + tests; separate pre-existing failures from ones this change introduced — don't let unrelated flakiness block the phase.
  7. Fix: one compile/test failure at a time. When a freshly written test fails, suspect the test's own expectations first, production code second.

Tests that pin down behaviour

Covering the line is the floor. A test earns its place by failing under a plausible bug:

  • Property intersections — when the code handles independent properties (present/absent, quoted/unquoted, first/last, empty/full), add at least one test that combines several at once. Bugs live at the intersections, not on the single axes each test already walks.
  • Behaviour radius — assert on at least one secondary observable (neighbouring field, emitted event, retry counter, related state), not only the return value. A function can return the right thing and still be wrong.
  • Fixture realism — never set the parameter under test to a degenerate value: scrollback with a non-zero scrollback, eviction with a capacity above one, retries with a retry budget above zero, ordering with more than one element. A degenerate fixture makes the test fail for the wrong reason, and leaves it green when the parameter itself stops working.

Read the full file on GitHub · 55 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. yesterday First seen · 55 lines · 25 tokens per session scan A 907858a62aae

Subscribe to this mod's changes

test-engineer is an agent published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 679 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-12-05.

Related

test-engineer compared with agents from other repositories

test-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-engineerArasz/ai-raccoonAgent7todayMITA25Claude Code
testingvukkt/token-wardenAgent131mo agoMITA22Claude Code
test-automator-agentdsifry/metaswarmAgent4474d agoMITA22Claude Code
testerjosstei/maestro-orchestrateAgent4921mo agoApache-2.0A66Claude Code
surgeonRune-kit/runeAgent962d agoMITA39Claude Code
adversaryariaxhan/kernel-claudeAgent16yesterdayMITA16Claude Code
blind-evaluatorariaxhan/kernel-claudeAgent16yesterdayMITA45Claude Code