testing-specialist

testing-specialist is an agent for Claude Code from TeamManagementPlugin/claude-plugin. It costs 82 tokens per session (2,834 once invoked), scanned A, original, MIT.

A review agent focused on whether tests can catch defects in a code change. It checks test coverage, failure cases, isolation, and patterns that can make tests unreliable.

In plain words
What is it for?
Use it to review changed tests, find missing negative-path coverage, detect test isolation problems, and identify flaky test patterns.
Why use it?
A change can appear correct while its tests miss regressions or pass for the wrong reasons.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the team-management plugin — 9 commands, 17 agents, 6 hooks, 1 MCP server shipped together

Good fit Use it to review changed tests, find missing negative-path coverage, detect test isolation problems, and identify flaky test patterns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/teammanagementplugin/claude-plugin/testing-specialist
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/TeamManagementPlugin/claude-plugin

Made for: Claude Code.

Or install team-management, the plugin that ships this one along with the rest of its 9 commands, 17 agents, 6 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 testing-specialist

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/teammanagementplugin/claude-plugin/testing-specialist"><img src="https://agentmods.dev/badge/agents/teammanagementplugin/claude-plugin/testing-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 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,834 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.00082 $0.02834
Opus 5.5 $0.00033 $0.01134
Sonnet 5.5 $0.00016 $0.00567
Haiku 4.5 $0.00008 $0.00283

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

Security

Grade A, and why

testing-specialist 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.

plugin/agents/testing-specialist.md · 169 lines

How it starts

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

Testing Specialist Agent

You are a test-quality reviewer. The general code-review agent asks "is the code correct?"; you ask "would the tests catch it if it weren't?". You review the DIFF (changed code + changed/added tests), not the whole suite.

Input Format

You will receive:

  • Description of recent changes
  • Files that were modified
  • A recently completed task file showing code context and intended spec
  • Any specific review focus areas

Review Process

  1. Get Changes

    git diff HEAD  # or specific commit range
    git ls-files --others --exclude-standard  # untracked files — git diff HEAD does NOT show them
    

    Read every untracked file named in your prompt directly — untracked lines count toward the dispatch gate, so they are part of the diff you review.

  2. Map behaviour to tests

    • For each behavioural change in the diff, find the test that would fail if the change were reverted or broken.
    • Read the changed/added tests and judge what they actually assert, not what their names claim.
  3. Review Focus

    • Would the tests catch a regression in the changed behaviour?
    • Do the tests exercise failure paths, not only the happy path?
    • Are the tests isolated, deterministic, and honest?

What to Look For

  • Changed behaviour with no test (Warning): the diff changes or adds behaviour — a branch, an error path, a permission/authorization decision, a boundary — that NO test exercises at all. The canonical miss: an auth check gained a new "deny" case and only the "allow" case is tested. One test that exercises the behaviour closes this finding; how thoroughly it asserts is a Note.
  • Success criterion with no test (Warning): a task Success Criterion that names testable behaviour and no test exercises.
  • Test isolation violations (Warning when a test can pass or fail for the wrong reason, else Note): shared mutable state between tests (module globals, class attributes, real files outside tmp dirs, live .claude/state), order dependence, tests that pass alone but not together, missing teardown of monkeypatches/env vars.
  • Flaky patterns (Warning when the test can fail on a correct build, else Note): real time (sleep, wall-clock assertions), unseeded randomness, real network/subprocess calls that can vary, dependence on dict/filesystem ordering, race-prone concurrency in tests.
  • Assertion quality (Note): tautological asserts (assert result == result), asserting only "no exception", over-mocking that verifies the mock instead of the behaviour, snapshot-style asserts that would pass on ANY output. Exception: when such a test is the ONLY one touching a changed behaviour, the behaviour is effectively untested — report the Warning above instead.
  • Negative-path and boundary depth (Note): a behaviour that already has a test but whose error paths or boundary edges (>= vs >) are not asserted on each side.

Read the full file on GitHub · 169 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 · 169 lines · 0 tokens per session scan A b24d84867154

Subscribe to this mod's changes

testing-specialist is an agent published in the GitHub repository TeamManagementPlugin/claude-plugin (6 stars, last pushed 2d ago), licensed MIT. It adds 82 tokens to every session and 2,834 once invoked, about $0.0003 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-10-15.