code-review

code-review is a skill for Claude Code, Codex from axiomantic/spellbook. It costs 177 tokens per session (2,505 once invoked), scanned A, original, MIT.

A structured way to inspect code for correctness, security, and other issues, with findings tied to specific file and line locations. It supports self-review, feedback handling, reviews of other code, and deeper audits.

In plain words
What is it for?
It is for reviewing a branch, pull request, or received review feedback, including lightweight checks and multi-pass audits.
Why use it?
It helps catch problems before merging and makes review comments easier to verify and act on. Severity levels help separate serious correctness or security issues from minor style concerns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit It is for reviewing a branch, pull request, or received review feedback, including lightweight checks and multi-pass audits.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/axiomantic/spellbook/code-review"><img src="https://agentmods.dev/badge/skills/axiomantic/spellbook/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 177 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,505 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 pass 7 Sept 2026
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.00177 $0.02505
Opus 5 $0.00088 $0.01252
Sonnet 5 $0.00035 $0.00501
Haiku 4.5 $0.00018 $0.00250

Measured 5d ago against content hash 40a715ef85d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 5d 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 · 230 lines

How it starts

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

Code Review

Invariant Principles

  1. Evidence Over Assertion - Every finding needs file:line reference
  2. Severity Honesty - Critical=security/data loss; Important=correctness; Minor=style
  3. Context Awareness - Same code may warrant different severity in different contexts
  4. Respect Time - False positives erode trust; prioritize signal

Inputs

Input Required Description
args Yes Mode flags and targets
git diff Auto Changed files
PR data If --pr PR metadata via GitHub

Outputs

Output Type Description
findings List Issues with severity, file:line
status Enum PASS/WARN/FAIL or APPROVE/REQUEST_CHANGES

Mode Router

Flag Mode Command File
--self, -s, (default: no flag given) Pre-PR self-review (inline, "Self Mode")
--feedback, -f Process received feedback code-review-feedback
--give <target> Review someone else's code code-review-give
--audit [scope] Multi-pass deep-dive code-review-audit

Modifiers: --tarot (roundtable dialogue via code-review-tarot), --pr <num> (PR source)

Read the full file on GitHub · 230 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. 5d ago First seen · 230 lines · 177 tokens per session scan A 40a715ef85d1

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository axiomantic/spellbook (10 stars, last pushed today), licensed MIT. It adds 177 tokens to every session and 2,505 once invoked, about $0.0009 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-09-03.

Related

Other skills, from other repositories

atomic-review

Compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", or invokes /atomic-review. Auto-triggers when reviewing pull requests.

damusix/atomic-claude · 63 tokens

propose-graph-diff

Turns a proposed addition to a JSON-file graph into a minimal, reviewable diff, flagging any proposed edge that conflicts with a cross-reference already on file, and never writing directly to the shared graph file itself.

ayeshakhalid192007-dev/graph-engineering-crash-course · 49 tokens

diff-to-graph

Turns a diff's touched functions and modules into graph nodes, reusing entities the graph already tracks, and links the change itself to each one with a modifies edge.

ayeshakhalid192007-dev/graph-engineering-crash-course · 37 tokens

type-design-analyzer

Analyzes newly-added or significantly-modified types in a pull request for invariant strength, encapsulation, and enforcement. Produces 1-10 ratings on encapsulation/expression/usefulness/enforcement with concrete improvement suggestions. Use when reviewing PRs that introduce or substantially change types, classes…

jasmedia/cc-pr-reviewer · 71 tokens

silent-failure-hunter

Audits error-handling code in a pull request for silent failures, broad catch blocks, unjustified fallbacks, and unactionable error messages. Surfaces hidden failures users would otherwise hit in production. Use when reviewing PRs that add or modify try/catch, error callbacks, or fallback logic.

jasmedia/cc-pr-reviewer · 67 tokens

comment-analyzer

Audits code comments added or changed by a pull request for factual accuracy against the code, long-term maintenance value, and misleading content. Recommends specific edits, additions, or removals. Use when reviewing PRs that include new or modified comments, docstrings, or inline documentation.

jasmedia/cc-pr-reviewer · 62 tokens