code-reviewer

code-reviewer is a skill for Claude Code from alexmond/jhelm. It costs 63 tokens per session (782 once invoked), scanned A, original, Apache-2.0.

A code-review automation skill for Java, TypeScript, JavaScript, Python, and Go. It examines pull-request changes and source code, then produces review findings and reports.

In plain words
What is it for?
Analyzing branch differences, finding issues such as hardcoded secrets or injection patterns, checking code quality and SOLID design problems, and generating review reports.
Why use it?
It reduces the manual effort of spotting security warnings, code smells, structural problems, and risky changes. It also helps make reviews more consistent.

Skill for Claude Code

Written for Claude Code: $CLAUDE_SKILL_DIR variable.

Good fit Analyzing branch differences, finding issues such as hardcoded secrets or injection patterns, checking code quality and SOLID design problems, and generating review reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexmond/jhelm/code-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.

Any agent
npx skills add alexmond/jhelm --skill code-reviewer
Clone the repo
git clone --depth 1 https://github.com/alexmond/jhelm

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexmond/jhelm/code-reviewer/github.svg)](https://agentmods.dev/skills/alexmond/jhelm/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/alexmond/jhelm/code-reviewer"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/code-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 code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexmond/jhelm/code-reviewer"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 782 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.00063 $0.00782
Opus 5.5 $0.00025 $0.00313
Sonnet 5.5 $0.00013 $0.00156
Haiku 4.5 $0.00006 $0.00078

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

Security

Grade A, and why

code-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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/code_quality_checker.py, scripts/pr_analyzer.py, scripts/review_report_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/code-reviewer/SKILL.md · 80 lines

How it starts

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

Code Reviewer

Automated code review tools for analyzing pull requests, detecting code quality issues, and generating review reports.

Adapted from alirezarezvani/claude-skills with Java support added.


Tools

PR Analyzer

Analyzes git diff between branches to assess review complexity and identify risks.

python3 $CLAUDE_SKILL_DIR/scripts/pr_analyzer.py /path/to/repo
python3 $CLAUDE_SKILL_DIR/scripts/pr_analyzer.py . --base main --head feature-branch
python3 $CLAUDE_SKILL_DIR/scripts/pr_analyzer.py /path/to/repo --json

Detects: Hardcoded secrets, SQL injection patterns, debug statements, TODO/FIXME, System.out.println in Java

Code Quality Checker

Analyzes source code for structural issues, code smells, and SOLID violations.

python3 $CLAUDE_SKILL_DIR/scripts/code_quality_checker.py /path/to/code
python3 $CLAUDE_SKILL_DIR/scripts/code_quality_checker.py . --language java
python3 $CLAUDE_SKILL_DIR/scripts/code_quality_checker.py /path/to/code --json

Detects: Long functions (>50 lines), large files (>500 lines), god classes (>20 methods), deep nesting (>4 levels), too many parameters (>5), high cyclomatic complexity

Review Report Generator

Combines PR analysis and code quality findings into structured review reports.

python3 $CLAUDE_SKILL_DIR/scripts/review_report_generator.py /path/to/repo
python3 $CLAUDE_SKILL_DIR/scripts/review_report_generator.py . --format markdown --output review.md

Verdicts:

Score Verdict
90+ with no high issues Approve
75+ with ≤2 high issues Approve with suggestions
50-74 Request changes
<50 or critical issues Block

Reference Guides

  • references/code_review_checklist.md — Systematic checklists (pre-review, correctness, security, performance, maintainability, testing)
  • references/coding_standards.md — Language-specific standards
  • references/common_antipatterns.md — Antipattern catalog with examples and fixes

Read the full file on GitHub · 80 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 80 lines · 63 tokens per session scan A 78eae07b04b1

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository alexmond/jhelm (7 stars, last pushed 3d ago), licensed Apache-2.0. It adds 63 tokens to every session and 782 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-08-31.

Related

Other skills, from other repositories

effective-java

Generate and review Java code using patterns and best practices from Joshua Bloch's "Effective Java" (3rd Edition). Use this skill whenever the user asks about Java best practices, API design, object creation patterns, generics, enums, lambdas, streams, concurrency, serialization, method design, exception handling, or…

booklib-ai/booklib · 165 tokens

pr-review

Review of a PR, branch, or your own uncommitted work across eight dimensions — security, correctness, test coverage, API/compatibility, usability, documentation, code quality, performance. Sizes the diff, reviews inline or fans out reviewers off a shared brief, verifies findings against code, reports a grouped list…

apache/tika · 108 tokens

code-review

Perform a pedantic, multi-perspective code review on the current diff or git changes against the styleguide and software engineering best practices.

flutter/flutter-intellij · 30 tokens

cleanup-code-inspections

Reduce technical debt and improve code quality by systematically resolving static analysis warnings.

flutter/flutter-intellij · 19 tokens

java

Use when writing, reviewing or refactoring modern Java (21+, 25 LTS) — records and sealed interfaces as algebraic data types, exhaustive pattern-matching switch over instanceof ladders, virtual-thread concurrency, structured concurrency and ScopedValue replacing ThreadLocal, Stream and Optional pipelines…

ericrisco/rsc-harness · 89 tokens

plugin-code-review-orchestrated

Orchestrates a code review of the spring-plugin repository through scope/context passes, routing, domain reviewer subskills, and per-artifact validation. Use when asked to review a PR, diff, commit, branch, module, or file set, to run a full orchestrated review, or to produce a validated review report.

explyt/spring-plugin · 72 tokens