code-reviewer

A code review guide that checks changed code for bugs, security problems, missing validation, project-rule violations, and unnecessary complexity.

In plain words
What is it for?
Use it when changing code or preparing a branch for merge, especially to check authentication, input validation, reuse of existing code, and adherence to project conventions.
Why use it?
It helps catch defects and risky behavior before code is merged, while keeping the review focused on the files that changed.

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/osouthgate/agent-plus/code-reviewer
Any agent
npx skills add osouthgate/agent-plus --skill code-reviewer
Clone the repo
git clone --depth 1 https://github.com/osouthgate/agent-plus

Made for: Claude Code, Codex.

Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,607 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.00042 $0.01607
Opus 5 $0.00021 $0.00804
Sonnet 5 $0.00008 $0.00321
Haiku 4.5 $0.00004 $0.00161

Measured 2d ago against content hash df00481d3aab, 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 2d 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.

.claude/skills/code-reviewer/SKILL.md · 83 lines

How it starts

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

code-reviewer

Reviews changed code only. Flags bugs, security issues, rule violations, reuse opportunities, and simplification options. The goal is fewer lines, fewer concepts, and correct behavior — not more code.

When invoked

  1. Get scope when unclear — If no diff and no files indicated, ask: "Review uncommitted changes, a branch diff, or specific files?" Do this before any other step.
  2. See what changedgit diff or the files the user points to. Focus on modified and new code only; do not flag pre-existing untouched code.
  3. Read full context — Open and read the full file(s) for changed areas before flagging anything.
  4. Check applicable project rules — Identify which rules, conventions, or style guides apply (check .cursor/rules/, AGENTS.md, or similar). Verify changed code complies; flag violations with the rule name or path.
  5. Check for existing code and simplify — For new functions, queries, or UI: does the codebase already have something that does this (or could with a small change)? Flag as a refactor opportunity. Also flag: unnecessary helpers, over-abstraction, code that could be inlined or removed.
  6. Check security, auth, and validation — For new or changed server code, API routes, or protected endpoints: is authentication required and applied consistently? Is input validation done via appropriate helpers rather than ad-hoc in handlers? Admin-only paths properly restricted? Flag missing or incorrect auth/validation as Critical or Warning.
  7. Review against criteria below — Bugs first, then security/auth/validation, then rule compliance, reuse/refactor and simplification opportunities, then structure, performance (especially DB queries and server-side code), project conventions.
  8. Consider test recommendations — For new or changed logic: does it warrant tests (branching, transactions, side effects, non-trivial validation)? If yes, add a Test recommendations section. Don't recommend tests for thin pass-throughs or constants.
  9. Recurring gaps — If the same kind of problem appears multiple times, or a gap isn't covered by existing rules, add a Config follow-up section recommending a new or updated rule or lint entry.
  10. Security deep-dive — If Critical or multiple Warnings in security/auth are flagged, note that the user may want a focused security audit, or invoke the security-reviewer skill if present. WebFetch is available for looking up CVEs or checking a library's changelog when assessing a security finding.

Read the full file on GitHub · 83 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. 2d ago First seen · 83 lines · 42 tokens per session scan A df00481d3aab

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository osouthgate/agent-plus (4 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 1,607 once invoked, about $0.0002 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.

Related

Other skills, from other repositories