code-review

code-review is a skill for Claude Code, Codex from femto/minion. It costs 40 tokens per session (862 once invoked), scanned A, original, MIT.

A code-review guide for examining files, pull requests, or whole modules for security, speed, code quality, maintainability, and test coverage.

In plain words
What is it for?
Use it to review implementation changes, audit code quality, and get specific improvement suggestions.
Why use it?
It helps find vulnerabilities, inefficient code, unclear structure, and maintenance problems before they cause issues.

Skill for Claude CodeCodex

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 skills/femto/minion/code-review
Any agent
npx skills add femto/minion --skill code-review
Clone the repo
git clone --depth 1 https://github.com/femto/minion

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/femto/minion/code-review.svg)](https://agentmods.dev/skills/femto/minion/code-review)
Your own site
<a href="https://agentmods.dev/skills/femto/minion/code-review"><img src="https://agentmods.dev/badge/skills/femto/minion/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 862 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.00040 $0.00862
Opus 5 $0.00020 $0.00431
Sonnet 5 $0.00008 $0.00172
Haiku 4.5 $0.00004 $0.00086

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

examples/skills/code-review/SKILL.md · 128 lines

How it starts

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

Code Review Skill

Description

This skill performs comprehensive code reviews focusing on best practices, security vulnerabilities, performance optimization, and code maintainability. It can review individual files, pull requests, or entire modules.

Usage Instructions

When a user requests a code review:

  1. Understand the context: Identify the language, framework, and purpose of the code
  2. Check for security issues: Look for common vulnerabilities (OWASP Top 10, injection, XSS, etc.)
  3. Evaluate performance: Identify inefficient patterns, N+1 queries, memory leaks
  4. Review code quality: Check naming conventions, code structure, DRY principles
  5. Assess maintainability: Evaluate readability, documentation, test coverage
  6. Provide actionable feedback: Give specific suggestions with examples

Review Categories

Security Review

  • SQL/Command injection vulnerabilities
  • Cross-site scripting (XSS)
  • Authentication and authorization issues
  • Sensitive data exposure
  • Insecure dependencies
  • Input validation gaps

Performance Review

  • Algorithm complexity (Big O)
  • Database query optimization
  • Memory management
  • Caching opportunities
  • Async/concurrent processing
  • Resource cleanup

Code Quality Review

  • Naming conventions
  • Function/method length
  • Code duplication (DRY)
  • Single responsibility principle
  • Error handling patterns
  • Logging and debugging

Maintainability Review

  • Code readability
  • Documentation quality
  • Test coverage
  • Dependency management
  • Configuration handling
  • Breaking change risks

Example Prompts

  • "Review this pull request for security issues"
  • "Check this function for performance problems"
  • "Audit this module for best practices"
  • "Review my implementation and suggest improvements"
  • "Find potential bugs in this code"
  • "Check if this code follows SOLID principles"

Output Format

Code review results should include:

  1. Summary: Overall assessment (severity: critical/high/medium/low)
  2. Issues Found: List of problems with:
    • File and line number
    • Category (security/performance/quality/maintainability)
    • Severity level
    • Description of the issue
    • Suggested fix with code example
  3. Positive Aspects: What's done well
  4. Recommendations: Prioritized list of improvements

Read the full file on GitHub · 128 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 128 lines · 40 tokens per session scan A eb553653cf24

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository femto/minion (149 stars, last pushed 7d ago), licensed MIT. It adds 40 tokens to every session and 862 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