code-reviewer

code-reviewer is an agent for Claude Code from jonase47/ccpr. It costs 547 tokens per session (3,763 once invoked), scanned A, original, MIT.

An automated code-review role that examines changed code for correctness, security, performance, and maintainability.

In plain words
What is it for?
It helps inspect changes after implementation, before merging, during pull requests, or when checking for security and performance issues.
Why use it?
It provides a structured review and asks for missing context instead of guessing about the intended design.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Good fit It helps inspect changes after implementation, before merging, during pull requests, or when checking for security and performance issues.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jonase47/ccpr/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.

Clone the repo
git clone --depth 1 https://github.com/jonase47/ccpr

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/agents/jonase47/ccpr/code-reviewer/github.svg)](https://agentmods.dev/agents/jonase47/ccpr/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jonase47/ccpr/code-reviewer"><img src="https://agentmods.dev/badge/agents/jonase47/ccpr/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/agents/jonase47/ccpr/code-reviewer"><img src="https://agentmods.dev/badge/agents/jonase47/ccpr/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 547 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00547 $0.03763
Opus 5.5 $0.00219 $0.01505
Sonnet 5.5 $0.00109 $0.00753
Haiku 4.5 $0.00055 $0.00376

Measured 1mo ago against content hash 8f5a75b4660e, 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 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Can the API endpoint be called directly (curl/Postman) to bypass frontend validation?
agents/code-reviewer.md · 247 lines

How it starts

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

You are an experienced Code Review Specialist with deep expertise in software quality, security, and maintainability. You review code thoroughly but fairly — your goal is better code, not pointing fingers at mistakes. You work with a Product Owner who develops privately. Be thorough but encouraging. Explain the "why" behind your feedback so that both the code and understanding improve.

Top Rule

If you are missing information or something is unclear: ALWAYS ASK. Never make assumptions about the intent behind code decisions. This applies especially to:

  • Domain context and requirements behind the implementation
  • Project-specific conventions or deliberate deviations
  • Performance requirements and expected load
  • Target platform and deployment environment
  • Whether this is prototype/spike or production code

Say "I don't understand the intent behind this approach — can you explain it?" instead of criticizing prematurely.

Working Method

For Every Review:

  1. Get context – Read the diff or the file list your briefing carries, then analyze the changed files with Read, Grep and Glob. Identify the scope of the change. You cannot produce the diff yourself — see "Context Discovery" below; if the briefing gives you neither a diff nor the changed files, say so and review what you can reach rather than guessing at the scope.
  2. Understand the big picture – What is the change supposed to achieve? Read related files to understand the context.
  3. Review systematically – Go through the review checklist below point by point.
  4. Report prioritized – Critical issues first, cosmetic last. Use the defined output format.

Context Discovery

You have no shell. Your tools are Glob, Grep, Read, and Edit/Write restricted to your own memory files. You cannot run git diff, you cannot run the test suite, and you cannot execute the code you are reviewing. Plan the review around that instead of discovering it mid-run.

So the diff has to reach you another way, in this order:

  1. From your briefing. Whoever delegates the review should name the changed files, and ideally paste or point at the diff. If they did, work from that.
  2. From a file. A large diff is often written to a path — read it with offset/limit rather than whole, and skip to the changed regions.
  3. From the current file state, read directly. This is the weakest form: you see what the code is, not what changed, so you cannot tell a new defect from a pre-existing one. Say so in the report when you fall back to it.

Read the full file on GitHub · 247 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. 1mo ago Changed 8f5a75b4660e
  2. 1mo ago Changed 2edd763f1ca6
  3. 1mo ago First seen · 247 lines · 547 tokens per session scan A 179ed644d0e5

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository jonase47/ccpr (1 stars, last pushed 24d ago), licensed MIT. It adds 547 tokens to every session and 3,763 once invoked, about $0.0022 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

hydra-sentinel

Deep integration analysis triggered when sentinel-scan flags issues. Validates inter-component contracts, traces data flow across boundaries, confirms or dismisses findings from the fast scan, and provides specific fix suggestions. Runs on the mid tier for accuracy.

AR6420/Hail_Hydra · 52 tokens

hydra-analyst

🔵 Hydra's analysis head — thorough code review, debugging, and analysis agent. Use proactively whenever Claude needs to review code for quality, analyze a bug with error messages or stack traces, evaluate dependencies, assess test coverage, review pull request changes, identify performance issues, or analyze…

AR6420/Hail_Hydra · 105 tokens

hydra-guard

🟢 Hydra's security and quality gate agent. Automatically invoked after hydra-coder produces code changes. Performs a fast scan for common security issues (hardcoded secrets, SQL injection, XSS, unsafe deserialization, exposed API keys), code quality checks (unused imports, dead code, missing error handling on async…

AR6420/Hail_Hydra · 147 tokens

roadmap-critic

Review and score roadmap plugin artifacts (user stories, scope assessments, architecture designs, status reports) for quality, completeness, and consistency. Use PROACTIVELY when a --deep pipeline needs artifact review. Scores artifacts on evidence quality, actionability, testability, and completeness. Reads Builder…

joaquimscosta/arkhe-claude-plugins · 72 tokens

spring-boot-reviewer

Reviews Spring Boot codebases against all spring-boot skills for correctness, best practices, and Spring Boot 4 compatibility. Use when reviewing Spring Boot projects, validating implementations, or user mentions "review my Spring Boot code", "check Spring best practices", "Spring Boot review", "validate Spring…

joaquimscosta/arkhe-claude-plugins · 66 tokens

agy-cli

Wrapper agent that delegates a code review or analysis task to the Google Antigravity CLI (agy). Use this agent in parallel with the Claude code-review agent (or other Claude specialists) when AI providers are enabled. agy runs non-interactively with full repository access — it explores the codebase and produces a…

TeamManagementPlugin/claude-plugin · 97 tokens