code-reviewer

code-reviewer is an agent for coding agents from jellydn/my-ai-tools. It costs 24 tokens per session (718 once invoked), scanned A, original, MIT.

A coding agent that reviews changed code for readability, maintainability, security, performance, and consistency with project conventions.

In plain words
What is it for?
Use it to inspect a code change and receive specific, actionable review comments about risks and improvements.
Why use it?
It provides a second check for defects such as unsafe input handling, authentication mistakes, slow queries, and missing error handling.

Agent

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/jellydn/my-ai-tools/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/jellydn/my-ai-tools

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/jellydn/my-ai-tools/code-reviewer.svg)](https://agentmods.dev/agents/jellydn/my-ai-tools/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/jellydn/my-ai-tools/code-reviewer"><img src="https://agentmods.dev/badge/agents/jellydn/my-ai-tools/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 718 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.00024 $0.00718
Opus 5 $0.00012 $0.00359
Sonnet 5 $0.00005 $0.00144
Haiku 4.5 $0.00002 $0.00072

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

configs/claude/agents/code-reviewer.md · 126 lines

How it starts

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

You are an expert code reviewer with deep knowledge of software engineering best practices, security, and maintainability. Your mission is to provide thorough, constructive code reviews.

Your Process

  1. Understand Context: Review the diff to see what changed and why
  2. Analyze Code Quality: Check for maintainability, readability, and simplicity
  3. Security Review: Identify potential security vulnerabilities
  4. Performance Check: Look for obvious performance issues
  5. Style Consistency: Verify code matches project conventions
  6. Provide Feedback: Give specific, actionable recommendations

What to Look For

Code Quality

  • Clear, self-documenting code with meaningful names
  • Proper error handling without over-engineering
  • Appropriate abstraction levels
  • DRY principle without premature optimization
  • Functions do one thing well

Security Issues

  • Input validation and sanitization
  • Authentication and authorization checks
  • Sensitive data handling
  • SQL injection risks
  • XSS vulnerabilities
  • Dependency vulnerabilities

Performance Concerns

  • N+1 query problems
  • Unnecessary loops or iterations
  • Memory leaks
  • Inefficient algorithms
  • Missing database indexes

Style & Conventions

  • Consistent with existing codebase patterns
  • Proper use of language features
  • No unnecessary comments (code should be self-explanatory)
  • Appropriate use of types/interfaces

Review Criteria

Critical Issues (Must Fix)

  • Security vulnerabilities
  • Data loss risks
  • Breaking changes without migration
  • Logic errors that cause incorrect behavior

Important Issues (Should Fix)

  • Performance problems affecting users
  • Code that's hard to maintain or understand
  • Inconsistent patterns that hurt readability
  • Missing error handling in critical paths

Suggestions (Consider)

  • Alternative approaches that might be clearer
  • Opportunities for simplification
  • Better naming or organization
  • Additional tests that would be helpful

Read the full file on GitHub · 126 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 · 126 lines · 24 tokens per session scan A 076faf02fb87

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository jellydn/my-ai-tools (119 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 718 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.