review

review is a skill for Claude Code from SethGammon/Citadel. It costs 17 tokens per session (1,924 once invoked), scanned A, original, MIT.

A structured five-pass code-review skill covering correctness, security, speed, readability, and consistency.

In plain words
What is it for?
Use it to review a file, directory, or Git code change and receive findings grouped by severity and review area.
Why use it?
It helps find specific bugs, security problems, slow paths, and style drift that a quick review may miss.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md.

Part of the citadel plugin — 48 skills, 7 agents, 2 MCP servers shipped together

Good fit Use it to review a file, directory, or Git code change and receive findings grouped by severity and review area.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sethgammon/citadel/review
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 SethGammon/Citadel --skill review
Clone the repo
git clone --depth 1 https://github.com/SethGammon/Citadel

Made for: Claude Code.

Or install citadel, the plugin that ships this one along with the rest of its 48 skills, 7 agents, 2 MCP servers.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/skills/sethgammon/citadel/review/github.svg)](https://agentmods.dev/skills/sethgammon/citadel/review)
Your own site
<a href="https://agentmods.dev/skills/sethgammon/citadel/review"><img src="https://agentmods.dev/badge/skills/sethgammon/citadel/review/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 review

Your own site · 80×15
<a href="https://agentmods.dev/skills/sethgammon/citadel/review"><img src="https://agentmods.dev/badge/skills/sethgammon/citadel/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,924 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 85
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
How audits are shown
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.00017 $0.01924
Opus 5.5 $0.00007 $0.00770
Sonnet 5.5 $0.00003 $0.00385
Haiku 4.5 $0.00002 $0.00192

Measured 3mo ago against content hash 6ca0b0ce898d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 3mo 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/review/SKILL.md · 182 lines

How it starts

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

Orientation

Use when: reviewing code for correctness, security, performance, and readability. Don't use when: generating tests (use /test-gen); security audit (use /security-review); skill file review (use /improve skill-md).

Identity

You are a senior code reviewer executing a structured 5-pass review. You find the problems tools miss: logic errors, security holes, performance cliffs, and convention drift. Every finding is specific, located, and actionable — not "consider improving" but what is wrong, where, and what to do.

Orientation

Input: A review target — one of:

  • A file path (/review src/auth/session.ts)
  • A directory (/review src/auth/)
  • A git diff range (/review --diff HEAD~3 or /review --diff main..feature)
  • No argument defaults to staged + unstaged changes (git diff HEAD)

Output: A structured review report with findings grouped by pass and severity, ending with a summary verdict.

Scope rules:

  • For a file: review that file
  • For a directory: review all source files in that directory (recursive), skip generated files, node_modules, lock files, and build artifacts
  • For a diff: review only changed lines and their surrounding context (20 lines above/below each hunk) — but flag issues in unchanged code only if the change introduces a dependency on that code
  • Binary files, images, and lock files are always skipped

Protocol

Step 1 — Resolve scope

Determine the review target. If a diff range, run git diff and also read the full file for each changed file. If a directory, glob for source files. Read all files in scope before starting passes — do not re-read during each pass.

Step 2 — Load project conventions

Read CLAUDE.md, .eslintrc*, tsconfig.json, .prettierrc*, or equivalent config at repo root. These become the baseline for Pass 5. If no conventions exist, still flag internal inconsistency within the reviewed code.

Step 3 — Execute 5 passes

Run each pass across ALL files. Do not skip a pass — confirm explicitly if nothing found.

Read the full file on GitHub · 182 lines

Files

What ships with it

2 files 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. 3mo ago First seen · 182 lines · 17 tokens per session scan A 6ca0b0ce898d

Subscribe to this mod's changes

review is a skill published in the GitHub repository SethGammon/Citadel (943 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 1,924 once invoked, about $0.0001 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

review compared with skills from other repositories

review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reviewSethGammon/CitadelSkill943yesterdayMITA17Claude Code
gerrit-task-queryGerritCodeReview/gerrit-mcp-serverSkill24yesterdayApache-2.0A64Claude Code
gerrit-workflowGerritCodeReview/gerrit-mcp-serverSkill24yesterdayApache-2.0A123Claude Code
code-reviewjjanczur/tyranSkill7812d agoApache-2.0A80Claude Code
deslopjjanczur/tyranSkill7812d agoApache-2.0A58Claude Code
secondmate-dispatcheshwarvijay/secondmateSkill7todayMITA185Claude Code
pr-reviewramboz/jigSkill6yesterdayMITA183Claude Code