pr-test-analyzer

pr-test-analyzer is an agent for Claude Code from raja21068/AutoResearch. It costs 24 tokens per session (210 once invoked), scanned A, a copy of pr-test-analyzer, MIT.

A pull-request test analyzer that checks whether tests cover the behavior changed by a code review. A pull request is a proposed set of changes submitted for review before merging.

In plain words
What is it for?
Use it to map changed code to tests, check edge cases and error paths, assess integrations, review assertions, identify flaky patterns, and rank coverage gaps.
Why use it?
It finds tests that are missing, weak, unclear, isolated poorly, or likely to fail unpredictably. This helps reveal whether the test suite would catch real bugs rather than merely execute code.

Agent for Claude Code

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

Good fit Use it to map changed code to tests, check edge cases and error paths, assess integrations, review assertions, identify flaky patterns, and rank coverage gaps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/raja21068/autoresearch/pr-test-analyzer
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/raja21068/AutoResearch

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 pr-test-analyzer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/raja21068/autoresearch/pr-test-analyzer"><img src="https://agentmods.dev/badge/agents/raja21068/autoresearch/pr-test-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 210 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 95% copy Near-identical to another mod 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.00024 $0.00210
Opus 5.5 $0.00010 $0.00084
Sonnet 5.5 $0.00005 $0.00042
Haiku 4.5 $0.00002 $0.00021

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

Security

Grade A, and why

pr-test-analyzer 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.

Origin

This is a copy

95% identical to pr-test-analyzer — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/agents/pr-test-analyzer.md · 46 lines

What it actually says

PR Test Analyzer Agent

You review whether a PR's tests actually cover the changed behavior.

Analysis Process

1. Identify Changed Code

  • map changed functions, classes, and modules
  • locate corresponding tests
  • identify new untested code paths

2. Behavioral Coverage

  • check that each feature has tests
  • verify edge cases and error paths
  • ensure important integrations are covered

3. Test Quality

  • prefer meaningful assertions over no-throw checks
  • flag flaky patterns
  • check isolation and clarity of test names

4. Coverage Gaps

Rate gaps by impact:

  • critical
  • important
  • nice-to-have

Output Format

  1. coverage summary
  2. critical gaps
  3. improvement suggestions
  4. positive observations
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 · 46 lines · 24 tokens per session scan A abfe4088e493

Subscribe to this mod's changes

pr-test-analyzer is an agent published in the GitHub repository raja21068/AutoResearch (2 stars, last pushed 5mo ago), licensed MIT. It adds 24 tokens to every session and 210 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to pr-test-analyzer, differing in 3 lines, and is treated as a copy.

Related

Other agents, from other repositories

verification-subagent

Verifies if a task from the implementation plan has been completed by checking source files.

closedloop-ai/claude-plugins · 21 tokens

qa-loop

Autonomous audit-fix loop aligned with the Anthropic 2026 pattern (code-review plugin). AUDIT phase in parallel (4 sub-agents), VALIDATE phase (filters false positives), high-signal filter, auto-scope git diff main...HEAD. Flags --audit-only and --comment for read-only and inline PR post modes.

christopherlouet/claude-base · 72 tokens

verifier

Test/verification reviewer for a code change — ensures correctness is proven, not assumed (coverage, edge cases, meaningful assertions). Use when reviewing test quality for a diff/PR.

Alexander-Tyagunov/magician · 39 tokens

deep-qa

Use this agent as a proactive quality sentinel — dispatched after implementation work to audit code quality, detect architecture drift, analyze performance, and assess test quality across the your project. Covers Go ( ), Python ( ), TypeScript/React ( ), and Kubernetes/GCP infrastructure. This agent does NOT write…

asiflow/claude-nexus-hyper-agent-team · 590 tokens

refuter-regression

Breaks a diff on regression — anything that worked before this change and doesn't now, including quietly weakened checks. Read-only, re-runs the pass-to-pass suite itself. Invoked only by mnm-verify; never by the user, never by the implementer.

momomuchu/make-no-mistakes · 60 tokens

team-reviewer

Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.

wshobson/agents · 43 tokens