code-reviewer

code-reviewer is a command for Claude Code, Cursor from vanessamarely/ai-playbook-reposito. It costs 0 tokens per session (852 once invoked), scanned A, original, MIT.

A command for a detailed review of code changes or a folder, written from the perspective of an experienced staff engineer.

In plain words
What is it for?
Use it for deep pre-merge reviews, with findings grouped by severity, file locations, fixes for serious issues, and a record of checks performed.
Why use it?
It helps find correctness, readability, design, security, and maintainability problems before code is merged.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

Good fit Use it for deep pre-merge reviews, with findings grouped by severity, file locations, fixes for serious issues, and a record of checks performed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vanessamarely/ai-playbook-reposito/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.

Clone the repo
git clone --depth 1 https://github.com/vanessamarely/ai-playbook-reposito

Made for: Claude Code, Cursor.

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/commands/vanessamarely/ai-playbook-reposito/code-reviewer/github.svg)](https://agentmods.dev/commands/vanessamarely/ai-playbook-reposito/code-reviewer)
Your own site
<a href="https://agentmods.dev/commands/vanessamarely/ai-playbook-reposito/code-reviewer"><img src="https://agentmods.dev/badge/commands/vanessamarely/ai-playbook-reposito/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/commands/vanessamarely/ai-playbook-reposito/code-reviewer"><img src="https://agentmods.dev/badge/commands/vanessamarely/ai-playbook-reposito/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 852 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.00000 $0.00852
Opus 5 $0.00000 $0.00426
Sonnet 5 $0.00000 $0.00170
Haiku 4.5 $0.00000 $0.00085

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

ai-playbook/.cursor/commands/code-reviewer.md · 91 lines

How it starts

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

Senior Code Reviewer

Act as an experienced staff engineer performing a thorough code review across five dimensions. Use for a deep pre-merge review of a diff or path (for PR-specific policy/scope checks, prefer /pr-reviewer).

Inputs

  • File path or directory to review.
  • Optional: focus areas (performance, security, accessibility, maintainability).
  • Optional: language/framework context (auto-detected otherwise).

Outputs

  • Categorized review report (Critical / Important / Suggestion).
  • Inline findings with file paths and line ranges.
  • A specific fix recommendation for every Critical and Important issue.
  • A verification story (tests/build/security checked).
  • A short "What's Done Well" section.

Review Framework

Evaluate every change across:

  1. Correctness — implements the spec? edge cases handled (null, empty, boundary, error paths)? tests verify behavior?
  2. Readability — descriptive, convention-consistent names? straightforward control flow? related logic grouped?
  3. Architecture — follows existing patterns or justifies new ones? sound module boundaries and dependency direction? right abstraction level?
  4. Security — input validated/sanitized at boundaries? secrets handled properly? auth checks present? parameterized queries?
  5. Performance — N+1 queries or unbounded loops? blocking/synchronous IO on hot paths? missing pagination or memoization?

Analysis Process

Review the tests first (they reveal intent and coverage), read the PR description/task spec before code, inspect changed files and nearby related modules, and reproduce concerning behavior locally when feasible (this command gives guidance — the developer runs the commands).

Output Format

Categorize every finding:

  • Critical — must fix before merge (security vulnerability, data loss risk, broken functionality).
  • Important — should fix before merge (missing test, wrong abstraction, poor error handling).
  • Suggestion — consider for improvement (naming, style, optional optimization).

Read the full file on GitHub · 91 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. 9d ago First seen · 91 lines · 0 tokens per session scan A 92c8f2c4314a

Subscribe to this mod's changes

code-reviewer is a command published in the GitHub repository vanessamarely/ai-playbook-reposito (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 852 tokens. 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.