code-review

code-review is a skill for Claude Code, Codex from richardcb/oh-my-gemini. It costs 47 tokens per session (1,784 once invoked), scanned A, original, MIT.

A code-review workflow for checking implemented features against a technical plan and looking for correctness, security, architecture, and AI-specific risks.

In plain words
What is it for?
Use it to review new features, audit code quality, assess security, compare changes with plans or requirements, and produce actionable feedback.
Why use it?
It adds a structured review beyond automatic type checks and linting. It can reveal missing requirements, unintended deviations, and problems that basic tools do not catch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review new features, audit code quality, assess security, compare…

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

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/richardcb/oh-my-gemini/code-review.svg)](https://agentmods.dev/skills/richardcb/oh-my-gemini/code-review)
Your own site
<a href="https://agentmods.dev/skills/richardcb/oh-my-gemini/code-review"><img src="https://agentmods.dev/badge/skills/richardcb/oh-my-gemini/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,784 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.00047 $0.01784
Opus 5 $0.00023 $0.00892
Sonnet 5 $0.00009 $0.00357
Haiku 4.5 $0.00005 $0.00178

Measured 7d ago against content hash 23ce7c781245, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 7d 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 · 271 lines

How it starts

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

Code Review Skill

Goal

Perform a thorough code review of newly implemented features, comparing against the technical plan, checking for AI-specific risks, and providing actionable feedback.

Hook Integration

The after-tool hook now handles automatic verification (typecheck, lint) after every code change. This skill focuses on higher-level review:

  • Architecture alignment
  • AI-specific risk patterns
  • Business logic correctness
  • Code quality beyond what linters catch

Process

1. Load Context

# Find the technical plan
find . -name "tasks_*.md" -o -name "plan.md" 2>/dev/null | head -3

# Find the PRD
find . -name "*prd*.md" 2>/dev/null | head -3

# Get list of changed files
git diff --name-only HEAD~10 2>/dev/null | head -30

# Get diff statistics
git diff --stat HEAD~10 2>/dev/null | tail -10

2. Analyze Code vs Plan

For each file changed:

  • Was it in the plan?
  • Does it match the planned approach?
  • Are there deviations?

3. Perform Deep Review

Check each area systematically.

Review Areas

1. Plan Implementation Assessment

Questions:

  • Was the technical plan implemented correctly and completely?
  • Were there deviations? If so, were they justified?
  • Are all tasks marked complete actually complete?

2. Code Quality & Best Practices

Note: Basic linting is handled by the after-tool hook. Focus on:

  • Readability: Is the code clean and understandable?
  • Naming: Are names meaningful and consistent?
  • Complexity: Is complexity appropriate for the problem?
  • Patterns: Does code follow existing codebase patterns?

3. AI-Specific Risk Assessment

CRITICAL: AI-generated code has specific risk patterns.

Logic & Correctness
  • Deep-dive into algorithms
  • Check business logic against PRD invariants
  • Verify edge cases are handled
# Look for common AI mistakes
grep -rn "TODO\|FIXME\|XXX" src/ | head -20
grep -rn "any" --include="*.ts" src/ | head -20

Read the full file on GitHub · 271 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. 7d ago First seen · 271 lines · 47 tokens per session scan A 23ce7c781245

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository richardcb/oh-my-gemini (16 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 1,784 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

codeck

Route explicit requests from a host coding agent to one or more locally configured AI executors through Codeck, attach Markdown or other project files, moderate cross-model consultation, expose disagreements, and synthesize traceable results. Use when the user explicitly names Codeck or asks to consult, compare, or…

isdou/codeck · 108 tokens

speckit-analyze

Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.

dceoy/speckit-agent-skills · 32 tokens

coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

Jamkris/everything-gemini-code · 28 tokens

code-tour

Create CodeTour .tour files — persona-targeted, step-by-step walkthroughs with real file and line anchors. Use for onboarding tours, architecture walkthroughs, PR tours, RCA tours, and structured "explain how this works" requests.

Jamkris/everything-gemini-code · 53 tokens

flutter-dart-code-review

Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.

Jamkris/everything-gemini-code · 56 tokens

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and AI-powered fixes on every file edit via hooks.

Jamkris/everything-gemini-code · 34 tokens