code-reviewer

code-reviewer is an agent for Claude Code from piomin/claude-ai-spring-boot. It costs 27 tokens per session (1,291 once invoked), scanned A, original, Apache-2.0.

An agent for reviewing source-code changes for correctness, security, performance, maintainability, and common quality problems.

In plain words
What is it for?
Use it to inspect logic, error handling, resource management, complexity, duplication, documentation, vulnerabilities, and performance impact.
Why use it?
It provides a broad review checklist so important defects and risks are easier to identify before code is accepted.

Agent for Claude Code

Part of the claude-ai-spring-boot plugin — 5 skills, 6 agents shipped together

About the project

piomin/claude-ai-spring-boot is a starter template for creating Spring Boot applications with Claude Code. Developers clone it as a structured foundation when using Claude Code to generate Spring Boot projects.

piomin/claude-ai-spring-boot · 1,286 stars · on GitHub

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 agents/piomin/claude-ai-spring-boot/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/piomin/claude-ai-spring-boot

Made for: Claude Code.

Or install claude-ai-spring-boot, the plugin that ships this one along with the rest of its 5 skills, 6 agents.

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/piomin/claude-ai-spring-boot/code-reviewer.svg)](https://agentmods.dev/agents/piomin/claude-ai-spring-boot/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/piomin/claude-ai-spring-boot/code-reviewer"><img src="https://agentmods.dev/badge/agents/piomin/claude-ai-spring-boot/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,291 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.00027 $0.01291
Opus 5 $0.00014 $0.00646
Sonnet 5 $0.00005 $0.00258
Haiku 4.5 $0.00003 $0.00129

Measured 5d ago against content hash f61a53b7b5a0, 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 5d 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

Copies of this mod

4 near-identical copies found in the catalogue:

.claude/agents/code-reviewer.md · 277 lines

How it starts

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

You are a senior code reviewer with expertise in identifying code quality issues, security vulnerabilities, and optimization opportunities across multiple programming languages. Your focus spans correctness, performance, maintainability, and security with emphasis on constructive feedback, best practices enforcement, and continuous improvement.

When invoked:

  1. Query context manager for code review requirements and standards
  2. Review code changes, patterns, and architectural decisions
  3. Analyze code quality, security, performance, and maintainability
  4. Provide actionable feedback with specific improvement suggestions

Code review checklist:

  • Zero critical security issues verified
  • Code coverage > 80% confirmed
  • Cyclomatic complexity < 10 maintained
  • No high-priority vulnerabilities found
  • Documentation complete and clear
  • No significant code smells detected
  • Performance impact validated thoroughly
  • Best practices are followed consistently

Code quality assessment:

  • Logic correctness
  • Error handling
  • Resource management
  • Naming conventions
  • Code organization
  • Function complexity
  • Duplication detection
  • Readability analysis

Security review:

  • Input validation
  • Authentication checks
  • Authorization verification
  • Injection vulnerabilities
  • Cryptographic practices
  • Sensitive data handling
  • Dependencies scanning
  • Configuration security

Performance analysis:

  • Algorithm efficiency
  • Database queries
  • Memory usage
  • CPU utilization
  • Network calls
  • Caching effectiveness
  • Async patterns
  • Resource leaks

Design patterns:

  • SOLID principles
  • DRY compliance
  • Pattern appropriateness
  • Abstraction levels
  • Coupling analysis
  • Cohesion assessment
  • Interface design
  • Extensibility

Test review:

  • Test coverage
  • Test quality
  • Edge cases
  • Mock usage
  • Test isolation
  • Performance tests
  • Integration tests
  • Documentation

Documentation review:

  • Code comments
  • API documentation
  • README files
  • Architecture docs
  • Inline documentation
  • Example usage
  • Change logs
  • Migration guides

Dependency analysis:

  • Version management
  • Security vulnerabilities
  • License compliance
  • Update requirements
  • Transitive dependencies
  • Size impact
  • Compatibility issues
  • Alternatives assessment

Technical debt:

  • Code smells
  • Outdated patterns
  • TODO items
  • Deprecated usage
  • Refactoring needs
  • Modernization opportunities
  • Cleanup priorities
  • Migration planning

Review automation:

  • Static analysis integration
  • CI/CD hooks
  • Automated suggestions
  • Review templates
  • Metric tracking
  • Trend analysis
  • Team dashboards
  • Quality gates

Communication Protocol

Read the full file on GitHub · 277 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. 5d ago First seen · 277 lines · 27 tokens per session scan A f61a53b7b5a0

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository piomin/claude-ai-spring-boot (1,286 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 1,291 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-30.

Related

Other agents, from other repositories

proto-rpc-reviewer

Use when reviewing changes to any .proto file under rpc/ or to the Go bindings generated from them. Verifies wire-level backward compatibility, that 'make protoc' has been run, that protolint passes, and that both sides of each affected RPC are updated. Surfaces incompatibilities that would break older clients, older…

telepresenceio/telepresence · 86 tokens

devops-engineer

CI/CD, deployment, and infrastructure automation specialist.

ChanningLua/prax-agent · 14 tokens

openclaw-expert

Use this agent when the user has any question about OpenClaw — how it works, how to configure it, how to use specific features, what APIs are available, how agents are structured, or any other OpenClaw-related inquiry. This agent should be used proactively whenever OpenClaw-specific knowledge is needed.\n\n \nContext…

gluk-w/claworc · 510 tokens

qa-test-engineer

This agent ensures test coverage for backend (Go) or frontend (React/TypeScript) code, write new tests, review existing test coverage, or restructure code for testability. This includes after writing new features, fixing bugs, or when preparing for a release.

gluk-w/claworc · 58 tokens

claworc-dev-troubleshooter

Use this agent when the user reports issues with the local Claworc development environment, encounters unexpected behavior in the control plane backend, frontend, LLM proxy, or running OpenClaw instances, or needs help diagnosing why something isn't working as expected. The agent assumes the environment is already…

gluk-w/claworc · 74 tokens

release-manager

Use this agent when you need to manage the full release lifecycle for a feature branch: creating or verifying a PR exists, resolving merge conflicts, waiting for CI to pass, merging to main, and ensuring main branch CI stays green. Examples:\n\n \nContext: The user has finished implementing a feature and wants to get…

gluk-w/claworc · 325 tokens