code-review

A checklist and workflow for examining code for defects, security issues, edge cases, performance problems, and readability concerns. It can review an individual file, a pull request, or a whole codebase.

In plain words
What is it for?
For reviewing code and GitHub pull requests, checking tests and error handling, and reporting findings by severity and file line.
Why use it?
It provides a consistent way to spot problems before code is merged or released, with each issue tied to a location and suggested fix.

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

Made for: Claude Code, Codex.

Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 315 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.00028 $0.00315
Opus 5 $0.00014 $0.00158
Sonnet 5 $0.00006 $0.00063
Haiku 4.5 $0.00003 $0.00032

Measured 2d ago against content hash 35fe1e2e66b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-review 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.

skills/code-review/SKILL.md · 47 lines

What it actually says

Code Review

Review Checklist

  1. Correctness — Does it do what it's supposed to?
  2. Edge cases — What happens with null, empty, boundary values?
  3. Error handling — Are errors caught and handled properly?
  4. Security — Any injection, exposure, or auth issues?
  5. Performance — Any obvious bottlenecks or N+1 queries?
  6. Readability — Clear naming, reasonable complexity, good comments?
  7. Testing — Are tests present and meaningful?

PR Review via GitHub

# List open PRs
gh pr list

# View PR details
gh pr view NUMBER

# View PR diff
gh pr diff NUMBER

# Add review comment
gh pr review NUMBER --comment --body "COMMENT"

# Approve
gh pr review NUMBER --approve

# Request changes
gh pr review NUMBER --request-changes --body "REASON"

Output Format

For each issue found:

  • Severity: 🔴 Critical / 🟡 Warning / 🔵 Suggestion
  • Location: file:line
  • Issue: What's wrong
  • Fix: How to fix it
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 · 47 lines · 28 tokens per session scan A 35fe1e2e66b3

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 315 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-31.

Related

Other skills, from other repositories

software-code-review

Evaluate source code for correctness, quality, security, style conformance, and maintainability, producing a structured review report with findings and recommendations. Use when the user wants to review, critique, audit, evaluate, or inspect source code — checking for bugs, logic errors, unhandled error paths…

stencila/stencila · 111 tokens

logic-review

Find logic bugs in a single file or function via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy). Trigger when a user shares code and suspects something is wrong without naming a concrete failure — phrases like "review this", "does this look right", "check this function", "audit this…

hyhmrright/logic-lens · 161 tokens

logic-fix-all

Autonomous repository-wide audit-and-fix pipeline: health → review → locate/explain → fix → diff-verify → iterate until clean. Starts with a mandatory consent prompt (token-intensive); after consent runs hands-free. Trigger when the user wants ALL logic issues found and fixed — "fix everything", "fix all logic…

hyhmrright/logic-lens · 211 tokens

logic-health

Sweep a directory, module, or full codebase for logic correctness and produce a scored health dashboard with systemic patterns. Trigger when the user requests a health view — "audit the whole codebase", "health check", "health overview", "logic health overview", "audit src/", "audit auth and payments modules", "where…

hyhmrright/logic-lens · 180 tokens

run-iteration-eval

Run the Logic-Lens content-eval pipeline for one iteration and produce a scored summary.json — use to measure a skill change. Wraps scripts/run-content-evals.sh (runner, costs tokens) and scripts/grade-iteration.py (grader, free, re-runnable). ALWAYS sync the plugin cache first. Use when the user wants to "run the…

hyhmrright/logic-lens · 108 tokens

new-skill

Scaffold a new logic- skill in the Logic-Lens repo and wire it into every place a skill must be registered, so no step is missed. Use when adding a seventh (or later) skill to Logic-Lens.

hyhmrright/logic-lens · 50 tokens