code-reviewer

code-reviewer is a skill for Claude Code, Codex from sourav15mukherjee/skillforge-free-skills. It costs 51 tokens per session (553 once invoked), scanned A, original, MIT.

A code inspection tool that looks for bugs, security weaknesses, performance problems, and maintainability issues. It reviews source code in several passes and reports findings with severity and suggested fixes.

In plain words
What is it for?
Use it to review files or pending changes for correctness, OWASP security issues, performance patterns, dead code, error handling gaps, and other quality concerns.
Why use it?
It provides a structured second check for problems such as injection risks, missing validation, race conditions, slow queries, memory leaks, and overly complex code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review files or pending changes for correctness, OWASP security issues, performance patterns, dead code, error handling gaps, and other quality concerns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sourav15mukherjee/skillforge-free-skills/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.

Any agent
npx skills add sourav15mukherjee/skillforge-free-skills --skill code-reviewer
Clone the repo
git clone --depth 1 https://github.com/sourav15mukherjee/skillforge-free-skills

Made for: Claude Code, Codex.

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/skills/sourav15mukherjee/skillforge-free-skills/code-reviewer/github.svg)](https://agentmods.dev/skills/sourav15mukherjee/skillforge-free-skills/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/sourav15mukherjee/skillforge-free-skills/code-reviewer"><img src="https://agentmods.dev/badge/skills/sourav15mukherjee/skillforge-free-skills/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/skills/sourav15mukherjee/skillforge-free-skills/code-reviewer"><img src="https://agentmods.dev/badge/skills/sourav15mukherjee/skillforge-free-skills/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00051 $0.00553
Opus 5 $0.00026 $0.00277
Sonnet 5 $0.00010 $0.00111
Haiku 4.5 $0.00005 $0.00055

Measured 12d ago against content hash 9648c025d38b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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.

code-reviewer/SKILL.md · 73 lines

What it actually says

Code Reviewer

Perform thorough, multi-pass code reviews that catch bugs, security issues, and quality problems.

Workflow

  1. Read the target code Read all files the user wants reviewed. If they say "review my changes," run git diff to see what changed.

  2. Pass 1 — Correctness Look for:

    • Logic errors and off-by-one bugs
    • Null/undefined reference risks
    • Unhandled promise rejections or missing error handling
    • Race conditions in async code
    • Missing input validation
  3. Pass 2 — Security Check for OWASP Top 10:

    • SQL injection (string concatenation in queries)
    • XSS (unescaped user input in HTML)
    • Command injection (user input in shell commands)
    • Sensitive data exposure (API keys, passwords in code)
    • Missing authentication/authorization checks
    • Insecure deserialization
  4. Pass 3 — Performance Look for:

    • N+1 query patterns
    • Unnecessary re-renders (React)
    • Missing pagination for large datasets
    • Synchronous operations that should be async
    • Memory leaks (event listeners, intervals not cleaned up)
  5. Pass 4 — Quality Check for:

    • Dead code or unused imports
    • Overly complex functions (should be split)
    • Missing error boundaries
    • Inconsistent naming conventions
    • Magic numbers without constants
  6. Generate the review Format findings by severity:

    🔴 Critical — Must fix before merging (bugs, security) 🟡 Warning — Should fix, risk of issues (performance, quality) 🔵 Suggestion — Nice to have (style, readability)

Rules

  • Always provide specific line references
  • Include a suggested fix for every finding
  • Be constructive — explain WHY something is an issue
  • Don't nitpick formatting if the project has no linter
  • Acknowledge good patterns you see — reviews shouldn't only be negative
  • Summarize with a confidence rating: "Safe to merge" / "Needs changes" / "Needs rework"
Files

What ships with it

1 file 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. 12d ago First seen · 73 lines · 51 tokens per session scan A 9648c025d38b

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository sourav15mukherjee/skillforge-free-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 553 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.