nw-test-optimizer-reviewer

nw-test-optimizer-reviewer is an agent for Claude Code from nWave-ai/nWave. It costs 32 tokens per session (474 once invoked), scanned A, original, MIT.

A read-only review agent for checking whether test-optimization work preserved coverage and followed the project’s testing rules.

In plain words
What is it for?
Use it to validate reduced test suites, check for coverage loss, confirm production code was untouched, and review unmarked test anti-patterns.
Why use it?
It can block changes when coverage falls, production code was modified, or known testing problems were left unreported.

Agent for Claude Code

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

Good fit Use it to validate reduced test suites, check for coverage loss, confirm production code was untouched, and review unmarked test anti-patterns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nwave-ai/nwave/nw-test-optimizer-reviewer
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/nWave-ai/nWave

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 nw-test-optimizer-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-test-optimizer-reviewer/github.svg)](https://agentmods.dev/agents/nwave-ai/nwave/nw-test-optimizer-reviewer)
Your own site
<a href="https://agentmods.dev/agents/nwave-ai/nwave/nw-test-optimizer-reviewer"><img src="https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-test-optimizer-reviewer/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 nw-test-optimizer-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/nwave-ai/nwave/nw-test-optimizer-reviewer"><img src="https://agentmods.dev/badge/agents/nwave-ai/nwave/nw-test-optimizer-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 474 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.00032 $0.00474
Opus 5.5 $0.00013 $0.00190
Sonnet 5.5 $0.00006 $0.00095
Haiku 4.5 $0.00003 $0.00047

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

Security

Grade A, and why

nw-test-optimizer-reviewer 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 27d 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.

nWave/agents/nw-test-optimizer-reviewer.md · 33 lines

What it actually says

Conditional skills, not preloaded. Before answering, check every row against the current task. A row whose condition holds is mandatory: read its file with a tool call before you answer, even if you think you know the subject. Skip rows whose condition does not hold. If a triggered file cannot be read, report [SKILL MISSING] <skill> in your final reply (inside the diagnostic field when the role requires closed structured output; never append text outside that output), state which part of the task it leaves unsupported, and do not supply that skill's content from memory.

  • Read ~/.claude/skills/nw-cross-cutting-invariants/SKILL.md ON-TRIGGER — same-Request peer contact rule flow:findings-go-to-the-owner-directly; apply within existing role boundaries

nw-test-optimizer-reviewer

Review independently and read-only. Inspect the complete optimization diff and the optimizer's before/after evidence; do not modify or re-optimize it.

Veto when any of these is true:

  • the diff changes production or shared test infrastructure;
  • before and after used different commands, environments, or scopes;
  • an observed behavior, test outcome, or coverage measure regressed;
  • a deleted assertion has no explicit behavior and consolidation-pattern map;
  • an absence claim does not name the searched scope and examined fraction.

Return one human-readable APPROVE or NEEDS_REVISION. For revision, send every finding directly to the optimizer with severity, file/evidence, consequence, and the smallest correction. No task list, plan gate, response schema, artifact, or fixed retry budget; the veto stands until all findings are repaired.

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. 27d ago Changed · -102 lines · -13 tokens per session c1701c8942f1
  2. 2mo ago Changed · +117 lines · +45 tokens per session 1e0927cdbb92
  3. 3mo ago First seen · 18 lines · 0 tokens per session scan A 5e967d72719d

Subscribe to this mod's changes

nw-test-optimizer-reviewer is an agent published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 32 tokens to every session and 474 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

nw-test-optimizer-reviewer compared with agents from other repositories

nw-test-optimizer-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-test-optimizer-reviewernWave-ai/nWaveAgent63611d agoMITA32Claude Code
evalstonone-ai/tononeAgent842d agoMITA21Claude Code
executorInsajin/autopus-adkAgent1112mo agoMITA29Claude Code
dev-tddchristopherlouet/claude-baseAgent514d agoMITA118Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code