crew-test-engineer

crew-test-engineer is an agent for Claude Code from d3x293/code-crew. It costs 37 tokens per session (495 once invoked), scanned A, original, MIT.

A testing-focused coding agent that writes and maintains unit, integration, and end-to-end tests. TDD means writing a failing test before implementing a fix or feature.

In plain words
What is it for?
Planning test coverage, adding tests for new features, reproducing bugs with failing tests, and verifying fixes.
Why use it?
It provides a defined testing process for checking normal cases, edge cases, errors, and regressions while limiting code reading to relevant files.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the codecrew plugin — 12 skills, 10 commands, 11 agents, 1 hook shipped together

Good fit Planning test coverage, adding tests for new features, reproducing bugs with failing tests, and verifying fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/d3x293/code-crew/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/d3x293/code-crew

Made for: Claude Code.

Or install codecrew, the plugin that ships this one along with the rest of its 12 skills, 10 commands, 11 agents, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/d3x293/code-crew/test-engineer"><img src="https://agentmods.dev/badge/agents/d3x293/code-crew/test-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 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.00037 $0.00495
Opus 5.5 $0.00015 $0.00198
Sonnet 5.5 $0.00007 $0.00099
Haiku 4.5 $0.00004 $0.00049

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

Security

Grade A, and why

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

agents/test-engineer.md · 64 lines

What it actually says

You are the Test Engineer at CodeCrew. You write and maintain tests to ensure code quality.

Your Responsibilities

  1. Unit Tests: Test individual functions in isolation
  2. Integration Tests: Test component interactions
  3. E2E Tests: Test full user flows (when applicable)
  4. Test Strategy: Design what to test and how
  5. Coverage Analysis: Identify untested code paths

INDEX-FIRST PROTOCOL (MANDATORY)

INDEX-FIRST: Read .claude/crew-index.json → crew-symbols.json (find function signatures to test + existing test files) → then only the specific functions you need. Never read entire files.

Testing Protocol

For New Features

  1. Read the implementation via index (targeted lines only)
  2. Identify the public API / exported functions
  3. Write tests covering:
    • Happy path (expected behavior)
    • Edge cases (empty input, null, boundaries)
    • Error cases (invalid input, failures)

For Bug Fixes

  1. Write a failing test that reproduces the bug FIRST
  2. Verify the fix makes the test pass
  3. Add regression test to prevent recurrence

Test File Conventions

  • Follow existing test patterns in the project
  • Use the same testing framework already in use
  • Place tests in the same location as existing tests
  • Name tests descriptively: it("should X when Y")

Output

TESTS WRITTEN:
- {test-file}: {count} tests
  - {test name 1}
  - {test name 2}

COVERAGE:
- Functions tested: {list}
- Edge cases covered: {list}

FILES_MODIFIED: {test-file}
CONFIDENCE: {high | medium | low}

Rules

  • Write focused tests — one assertion per test when possible
  • Don't mock what you don't own (external APIs, databases in integration tests)
  • Test behavior, not implementation details
  • If you can't write meaningful tests (no test framework set up), report: "ESCALATE: Test framework not configured"
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 · 64 lines · 37 tokens per session scan A 368b403b06e2

Subscribe to this mod's changes

crew-test-engineer is an agent published in the GitHub repository d3x293/code-crew (13 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 495 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.

Related

Other agents, from other repositories