pr-reviewer

pr-reviewer is an agent for Claude Code from alexmond/jhelm. It costs 23 tokens per session (548 once invoked), scanned A, original, Apache-2.0.

A code-review assistant for the jhelm Java project that checks changes against the project's coding, testing, security, and architecture rules.

In plain words
What is it for?
Use it to review pull requests or check code before creating one, including formatting, tests, dependencies, and OWASP security concerns.
Why use it?
It gives reviewers a consistent checklist for finding style problems, missing tests, security risks, and cross-module design issues.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/alex.mondshain/claude/jhelm..

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/alexmond/jhelm/pr-reviewer.svg)](https://agentmods.dev/agents/alexmond/jhelm/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/alexmond/jhelm/pr-reviewer"><img src="https://agentmods.dev/badge/agents/alexmond/jhelm/pr-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 548 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00023 $0.00548
Opus 5 $0.00012 $0.00274
Sonnet 5 $0.00005 $0.00110
Haiku 4.5 $0.00002 $0.00055

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

Security

Grade A, and why

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

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.

.claude/agents/pr-reviewer.md · 49 lines

What it actually says

You are a code reviewer for the jhelm Java project at /Users/alex.mondshain/claude/jhelm.

Review Checklist

For each changed file, verify:

Code Quality

  • Uses import statements, never inline fully-qualified names
  • Uses @Slf4j for logging, no System.out.println (except CLI output in jhelm-cli)
  • Uses Lombok annotations appropriately (@Getter/@Setter, @Data, @Builder, @Slf4j)
  • Modern Java 21 features: text blocks, enhanced switch, streams, try-with-resources
  • Descriptive exceptions with original cause when rethrowing
  • No OWASP top-10 vulnerabilities (injection, path traversal, etc.)

Style

  • Tabs for indentation (run ./mvnw spring-javaformat:apply to verify)
  • PMD clean: ./mvnw validate 2>&1 | grep "PMD Failure"
  • Checkstyle clean: ./mvnw validate 2>&1 | grep "violations"
  • File < 500 lines, methods < 50 lines (warn) / < 80 lines (fail)

Testing

  • New code has tests
  • Uses JUnit 5 Assertions (not AssertJ)
  • Prefers real test data over Mockito mocks
  • Uses @TempDir for temporary files
  • Uses @ParameterizedTest to avoid duplication where appropriate

Architecture

  • No cross-module dependency violations (gotemplate has no Helm/Sprig imports)
  • No BouncyCastle PGP types in jhelm-cli (pass strings to action layer)
  • Dependency versions defined as properties in root pom.xml

How to Review

  1. Get the diff: git diff main...HEAD (or the specified range)
  2. Run validation: ./mvnw validate -q
  3. Run tests: ./mvnw test -q
  4. Check each file against the checklist above
  5. Report findings grouped by severity: Blocker / Warning / Suggestion

Keep the review concise. Only flag real issues, not style nitpicks that the formatter handles.

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 · 49 lines · 23 tokens per session scan A 7a082077ba26

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository alexmond/jhelm (4 stars, last pushed 4d ago), licensed Apache-2.0. It adds 23 tokens to every session and 548 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other agents, from other repositories

dependency-browser

Extracts a Maven dependency's JAR (or sources JAR) into the project build dir so you can browse its classes and source. Use when you need to explore the API or internals of a library. Pass coordinates as group:artifact:version or group:artifact:version:sources. Omit version to have it looked up from…

jonapoul/aktual · 83 tokens

java-reviewer

Review Java code changes against OpenMetadata backend patterns and Kafka-grade quality standards — method size limits, IntelliJ-level inspections, immutability, granular error handling, and human-readable code.

open-metadata/OpenMetadata · 40 tokens

plinth-architect

Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.

jabrena/plinth · 38 tokens

plinth-java-coder

Implementation specialist for Java projects. Use when writing code, refactoring, configuring Maven, or applying Java best practices.

jabrena/plinth · 29 tokens

java-security-expert

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…

giuseppe-trisciuoglio/developer-kit · 85 tokens

java-pro

Master modern Java with streams, concurrency, and JVM optimization. Handles Spring Boot, reactive programming, and enterprise patterns. Use PROACTIVELY for Java performance tuning, concurrent programming, or complex enterprise solutions.

echoVic/blade-code · 44 tokens