review

review is a command for Claude Code from rikdc/ai-skills. It costs 12 tokens per session (719 once invoked), scanned A, original, MPL-2.0.

A command for reviewing code changes in a repository, with an option to review the entire codebase instead.

In plain words
What is it for?
Run it for a review of modified files, staged files, or recent commits. Add `--all` when the review should cover the whole codebase.
Why use it?
It gathers repository context and checks changes for code quality, security problems, edge cases, and robustness in parallel.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the code-quality plugin — 3 commands shipped together

Good fit Run it for a review of modified files, staged files, or recent commits. Add --all when the review should cover the whole codebase.

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

Clone the repo
git clone --depth 1 https://github.com/rikdc/ai-skills

Made for: Claude Code.

Or install code-quality, the plugin that ships this one along with the rest of its 3 commands.

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/rikdc/ai-skills/review.svg)](https://agentmods.dev/commands/rikdc/ai-skills/review)
Your own site
<a href="https://agentmods.dev/commands/rikdc/ai-skills/review"><img src="https://agentmods.dev/badge/commands/rikdc/ai-skills/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 719 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.00012 $0.00719
Opus 5 $0.00006 $0.00360
Sonnet 5 $0.00002 $0.00144
Haiku 4.5 $0.00001 $0.00072

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

plugins/code-quality/commands/review.md · 103 lines

How it starts

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

Advanced Code Review Command

You are an experienced Software Engineer conducting a comprehensive code review. Your task is to analyze code changes and provide actionable feedback using parallel analysis capabilities.

Usage

  • Default: Reviews only changed files (modified/staged/recent commits)
  • --all: Reviews entire codebase for comprehensive analysis

Scope Determination

Check user arguments for --all flag

  • If --all present: Analyze entire repository codebase
  • Default behavior: Focus only on changed files from:
    • Currently modified/staged files (git status)
    • Files changed in recent commits (git diff HEAD~1..HEAD or similar)
    • Files in current working branch vs main/master

Execution Strategy

Spawn Sub-tasks for parallel processing:

  • Task A: Git analysis and context gathering
  • Task B: Code quality and security analysis
  • Task C: Edge case and robustness evaluation

Sub-task Instructions

Task A: Repository Context Analysis

  • Verify git repository and retrieve latest commit details
  • Identify current branch and relationship to main/master
  • Determine review scope based on arguments:
    • Default: Identify changed files only (git status, git diff, branch comparison)
    • With --all: Prepare for full repository analysis
  • Analyze scope of changes (files modified, lines changed, change types)
  • Flag any merge conflicts or unusual git states

Task B: Code Quality Review

  • Review target files based on scope determination from Task A
  • Analyze code for:
    • Performance: Identify bottlenecks, inefficient algorithms, resource usage
    • Security: Check for vulnerabilities, input validation, authentication issues
    • Maintainability: Assess readability, documentation, code organization
    • Standards Compliance: Verify adherence to team/language conventions
  • Ignore placeholder TODOs and incomplete implementations
  • Focus efficiency: With default scope, concentrate on changed areas and their immediate context

Read the full file on GitHub · 103 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. 8d ago First seen · 103 lines · 12 tokens per session scan A 91d40b5c3308

Subscribe to this mod's changes

review is a command published in the GitHub repository rikdc/ai-skills (2 stars, last pushed 2d ago), licensed MPL-2.0. It adds 12 tokens to every session and 719 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.