code-reviewer

code-reviewer is a skill for Claude Code, Codex from chandrudp29/skillhub. It costs 41 tokens per session (996 once invoked), scanned A, original, MIT.

A structured code-review guide covering correctness, security, performance, maintainability, and test coverage. It is meant for examining code changes before they are merged.

In plain words
What is it for?
Use it to review code, check a pull request, audit a change, or decide whether a non-trivial update is safe to merge.
Why use it?
It helps uncover bugs, security risks, resource leaks, and missing tests without turning the review into a list of style preferences.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to review code, check a pull request, audit a change, or decide whether a non-trivial update is safe to merge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chandrudp29/skillhub/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 chandrudp29/skillhub --skill code-reviewer
Clone the repo
git clone --depth 1 https://github.com/chandrudp29/skillhub

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/chandrudp29/skillhub/code-reviewer/github.svg)](https://agentmods.dev/skills/chandrudp29/skillhub/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/chandrudp29/skillhub/code-reviewer"><img src="https://agentmods.dev/badge/skills/chandrudp29/skillhub/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/chandrudp29/skillhub/code-reviewer"><img src="https://agentmods.dev/badge/skills/chandrudp29/skillhub/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 996 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.00041 $0.00996
Opus 5.5 $0.00016 $0.00398
Sonnet 5.5 $0.00008 $0.00199
Haiku 4.5 $0.00004 $0.00100

Measured 2mo ago against content hash 08ad9ac33ff2, 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 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 2mo 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.

skills/code-reviewer/SKILL.md · 135 lines

How it starts

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

Code Reviewer

Five-axis structured code review. Finds what matters, ignores what doesn't, and produces actionable feedback — not a style lecture.

When to Use

  • "Review this code"
  • "Check my PR"
  • "Is this safe to merge?"
  • "What could go wrong here?"
  • Before merging any non-trivial change

The Five Axes

Review in this order. Stop at critical findings — don't bury them.

Axis 1 — Correctness

Does the code do what it claims?

  • Does it handle the happy path correctly?
  • What about empty inputs, null values, zero, negative numbers?
  • Are there off-by-one errors in loops/slices?
  • Are async operations awaited correctly?
  • Are there race conditions if called concurrently?
  • Do error paths clean up resources (files, connections, locks)?

Severity: Any correctness bug is at minimum MEDIUM. Incorrect behavior in production = CRITICAL.

Axis 2 — Security

Does the code introduce vulnerabilities?

Checklist:

  • SQL/NoSQL injection (string concatenation in queries)
  • Command injection (user input in shell commands)
  • Path traversal (user-controlled file paths)
  • XSS (unsanitized user content rendered as HTML)
  • Secrets in code (API keys, passwords, tokens hardcoded)
  • Insecure deserialization (pickle, eval, exec on user data)
  • Authentication bypass (missing auth checks on routes)
  • Overly permissive CORS or CSP
  • Sensitive data in logs

Severity: Any security finding is CRITICAL or HIGH. Flag immediately, don't bury in a list.

Axis 3 — Performance

Will this code be fast enough at scale?

  • N+1 queries (DB query inside a loop)
  • Missing database indexes for the query pattern
  • Blocking I/O in async code
  • Unnecessary data fetching (SELECT * when 2 columns needed)
  • Memory leaks (event listeners not removed, caches unbounded)
  • Expensive operations in hot paths (JSON parse per request, etc.)

Only flag if the code will actually run at meaningful scale. Don't micro-optimize cold paths.

Axis 4 — Maintainability

Read the full file on GitHub · 135 lines

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. 2mo ago First seen · 135 lines · 41 tokens per session scan A 08ad9ac33ff2

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository chandrudp29/skillhub (14 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 996 once invoked, about $0.0002 per session on Opus 5.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

code-reviewer compared with skills from other repositories

code-reviewer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewerchandrudp29/skillhubSkill144mo agoMITA41Claude Code, Codex
code-reviewericrisco/rsc-harnessSkill5032d agoMITA90Claude Code, Codex
code-reviewinitializ/forgeSkill235yesterdayApache-2.0A17Claude Code, Codex
code-reviewopen-octo/octo-agentSkill1412d agoMITA83Claude Code, Codex
security-reviewthewaltero/mythos-routerSkill304yesterdayMITA14Claude Code, Codex
atomic-reviewdamusix/atomic-claudeSkill1154d agoMITA63Claude Code, Codex
code-review-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A38Claude Code