code-reviewer

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 CodeCodex

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.

agentmods
npx agentmods add skills/alexmond/jhelm/code-reviewer
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, Codex.

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. 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 $0.00063 $0.00782
Opus 5 $0.00032 $0.00391
Sonnet 5 $0.00013 $0.00156
Haiku 4.5 $0.00006 $0.00078

Measured 3d ago against content hash 78eae07b04b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (4 stars, last pushed 9d ago), licensed Apache-2.0. It adds 63 tokens to every session and 782 once invoked, about $0.0003 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.