review

review is a command for coding agents from VersoXBT/claude-initial-setup. It costs 6 tokens per session (473 once invoked), scanned A, original, MIT.

A command that reviews recent code changes for quality, security, performance, correctness, and readability.

In plain words
What is it for?
Use it after making changes or before merging a branch. It checks changed files, inputs, secrets, common performance problems, error handling, and edge cases.
Why use it?
It helps find defects and risky changes before they reach users or are merged into the main codebase.

Command

Part of the claude-initial-setup plugin — 24 skills, 15 commands, 14 agents, 2 hooks shipped together

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 commands/versoxbt/claude-initial-setup/review
Clone the repo
git clone --depth 1 https://github.com/VersoXBT/claude-initial-setup

Or install claude-initial-setup, the plugin that ships this one along with the rest of its 24 skills, 15 commands, 14 agents, 2 hooks.

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/commands/versoxbt/claude-initial-setup/review.svg)](https://agentmods.dev/commands/versoxbt/claude-initial-setup/review)
Your own site
<a href="https://agentmods.dev/commands/versoxbt/claude-initial-setup/review"><img src="https://agentmods.dev/badge/commands/versoxbt/claude-initial-setup/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 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.00006 $0.00473
Opus 5 $0.00003 $0.00236
Sonnet 5 $0.00001 $0.00095
Haiku 4.5 $0.00001 $0.00047

Measured 4d ago against content hash c6ab3e9fad55, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

commands/review.md · 61 lines

How it starts

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

Code Review

Perform a thorough code review on recent changes, checking for quality, security, and performance issues.

Steps

  1. Run git diff to identify all changed files. If on a feature branch, use git diff main...HEAD to see all changes since branching.

    git diff --stat
    git diff main...HEAD
    
  2. For each changed file:

    • Read the full file to understand context, not just the diff.
    • Check naming conventions and code readability.
    • Verify functions are small (under 50 lines) and files are focused (under 800 lines).
    • Ensure no mutation of objects or arrays — immutable patterns must be used.
  3. Check for security issues:

    • No hardcoded secrets (API keys, passwords, tokens).
    • All user inputs validated and sanitized.
    • No SQL injection, XSS, or CSRF vulnerabilities.
    • Error messages do not leak sensitive data.
  4. Check for performance issues:

    • No unnecessary re-renders or redundant computations.
    • No N+1 query patterns in database access.
    • Proper use of memoization and caching where appropriate.
  5. Check for correctness:

    • Edge cases handled (null, undefined, empty arrays, boundary values).
    • Error handling is comprehensive with try/catch where needed.
    • No console.log statements left in production code.
    • No hardcoded values that should be constants or config.
  6. Verify test coverage:

    • New code has corresponding tests.
    • Tests cover happy path and error cases.
    • No tests were removed or skipped without justification.
  7. Compile findings into a report grouped by severity:

    • CRITICAL: Security vulnerabilities, data loss risks, crashes.
    • HIGH: Logic errors, missing error handling, broken functionality.
    • MEDIUM: Code quality issues, missing tests, style violations.
    • LOW: Naming suggestions, minor refactoring opportunities.

If Issues Are Found

  • Fix CRITICAL issues immediately before any commit.
  • Fix HIGH issues before merging.
  • Log MEDIUM and LOW issues for follow-up.

Read the full file on GitHub · 61 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. 4d ago First seen · 61 lines · 6 tokens per session scan A c6ab3e9fad55

Subscribe to this mod's changes

review is a command published in the GitHub repository VersoXBT/claude-initial-setup (4 stars, last pushed 3mo ago), licensed MIT. It adds 6 tokens to every session and 473 once invoked, about $0.0000 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.