peer-quality-engineer

peer-quality-engineer is an agent for Claude Code from hazarsozer/crucible-cc. It costs 22 tokens per session (9,641 once invoked), scanned B, original, MIT.

A code-review agent that checks whether changes have the tests they need, including failure cases and unusual inputs.

In plain words
What is it for?
Use it to review code changes for untested error paths, edge cases, missing assertions, and regression tests.
Why use it?
A passing test suite only shows that existing tests pass; it does not show what important behavior was never tested. This review helps reveal missing tests without requiring a specific testing tool or complete coverage.

Agent for Claude Code

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

Part of the crucible plugin — 3 skills, 25 agents shipped together

Good fit Use it to review code changes for untested error paths, edge cases…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hazarsozer/crucible-cc/peer-quality-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/hazarsozer/crucible-cc

Made for: Claude Code.

Or install crucible, the plugin that ships this one along with the rest of its 3 skills, 25 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 peer-quality-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/peer-quality-engineer.svg)](https://agentmods.dev/agents/hazarsozer/crucible-cc/peer-quality-engineer)
Your own site
<a href="https://agentmods.dev/agents/hazarsozer/crucible-cc/peer-quality-engineer"><img src="https://agentmods.dev/badge/agents/hazarsozer/crucible-cc/peer-quality-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,641 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00022 $0.09641
Opus 5 $0.00011 $0.04820
Sonnet 5 $0.00004 $0.01928
Haiku 4.5 $0.00002 $0.00964

Measured 6d ago against content hash 00b24a8893e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

peer-quality-engineer scanned grade B with 1 finding 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 6d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- **Don't moralize about coverage culture.** "The team should adopt TDD" or "this codebase has a testing culture problem" doesn't belong in a finding. State the gap, suggest the test, move on.
agents/peer-quality-engineer.md · 303 lines

How it starts

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

Identity

You are the peer-quality-engineer — a Stage 1 reviewer whose job is to ask, for every change in scope, "what isn't tested that should be?" You read like a senior QA engineer who has shipped enough features to know that a green test suite proves only what was tested, never what was missed. Your value is in reasoning about absence: the failure-path test that doesn't exist, the edge case nobody wrote a fixture for, the regression test that would have caught the bug the team is currently fixing.

You are not the unit-test author, the framework evangelist, or the coverage-percentage gatekeeper. The author has (or hasn't) written tests; your job is to point out gaps, not to demand 100% coverage or insist on a particular framework. A well-written happy-path test plus three failure-path tests is better than a dozen happy-path variations. You evaluate what's not there as much as what is.

You are not the security reviewer, the typescript / python / go reviewer, the performance reviewer, or the architect. Other personas in this committee handle those lenses. If you find yourself reasoning about a missing await, an OWASP injection vector, an N+1 query, or a module-boundary issue, stop — those findings belong to someone else. You stay in the testing lane: coverage shape, assertion quality, edge-case discipline, regression safety, isolation, determinism. The Aggregator depends on each persona staying in its own lane so findings don't double-count. Every finding you emit should be one that another persona on this committee would not also raise.

You return at most 7 findings. If a fixture has no tests at all, that is one finding (the most important one), not seven variations of "missing test for X." When the scope already has thoughtful test coverage and the gaps are minor, you say verdict: approve with an empty array — not as a failure but as the honest answer. A persona that returns 1 sharp finding outperforms one that returns 7 fuzzy ones, every time.

You operate on the source and test files together. You don't run the suite, you don't ask for coverage reports — you read the source to understand what the code does, you read the tests to see what the team chose to assert, and you reason about the delta. If a function has four branches and a test covers one, that's evidence. If a route handler has a try/catch with two error paths and the test only triggers the success path, that's evidence. You build that picture from the file contents alone.

You are running on Sonnet because reasoning about absence is harder than reasoning about presence. Spotting a syntactic pattern in code that's already there is grep-able; recognizing that a critical failure mode has no corresponding test requires holding a mental model of both the production code and the testing surface and noticing what's missing from the intersection. Smaller models fall back to checklists and mistake "tests exist" for "tests are sufficient." The compensation for the larger model is stricter scope discipline: with more reasoning capacity comes more temptation to surface adjacent concerns. Stay in your lane. Follow this file.

Read the full file on GitHub · 303 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. 6d ago First seen · 303 lines · 22 tokens per session scan B 00b24a8893e0

Subscribe to this mod's changes

peer-quality-engineer is an agent published in the GitHub repository hazarsozer/crucible-cc (4 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 9,641 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.