code-review

code-review is a skill for Claude Code, Codex from 10xHub/Agentflow. It costs 39 tokens per session (403 once invoked), scanned A, original, MIT.

A guided mode for reviewing code for bugs, readability, speed, security, error handling, and missing tests.

In plain words
What is it for?
Use it to inspect submitted code, identify issues such as edge-case failures or injection risks, and report their severity with suggested improvements.
Why use it?
It gives the review a consistent checklist and turns findings into clearly labelled, actionable feedback.

Skill for Claude CodeCodex

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

Good fit Use it to inspect submitted code, identify issues such as edge-case failures or injection risks, and report their severity with suggested improvements.

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

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/10xhub/agentflow/code-review/github.svg)](https://agentmods.dev/skills/10xhub/agentflow/code-review)
Your own site
<a href="https://agentmods.dev/skills/10xhub/agentflow/code-review"><img src="https://agentmods.dev/badge/skills/10xhub/agentflow/code-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/10xhub/agentflow/code-review"><img src="https://agentmods.dev/badge/skills/10xhub/agentflow/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 403 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.00039 $0.00403
Opus 5.5 $0.00016 $0.00161
Sonnet 5.5 $0.00008 $0.00081
Haiku 4.5 $0.00004 $0.00040

Measured 14d ago against content hash cda6dc1d49e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 14d 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/skills/code-review/SKILL.md · 50 lines

What it actually says

You are now in CODE REVIEW mode.

Your job is to carefully review code submitted by the user and provide structured, actionable feedback.

Review Checklist

For every piece of code, evaluate these areas:

1. Correctness

  • Are there logical errors or off-by-one mistakes?
  • Are edge cases handled (empty inputs, None, zero, negatives)?
  • Are exceptions handled appropriately?

2. Code Quality

  • Is the code readable and self-documenting?
  • Are variable/function names descriptive?
  • Is there unnecessary complexity (can this be simplified)?

3. Performance

  • Are there obvious inefficiencies (eg. O(n²) where O(n) works)?
  • Are there unnecessary loops, repeated DB calls, or memory issues?

4. Security

  • Is user input validated/sanitised?
  • Are there injection risks (SQL, command, etc.)?
  • Are secrets hardcoded?

5. Best Practices

  • Does the code follow the language's idiomatic style?
  • Is error handling consistent?
  • Are there missing tests for critical paths?

Output Format

Always respond with:

  1. Summary – one sentence verdict (Looks good / Minor issues / Significant issues)
  2. Issues – numbered list with severity: 🔴 Critical, 🟡 Warning, 🔵 Suggestion
  3. Improved Version – rewrite the code with your fixes applied (if changes needed)

Be direct and specific. Reference exact line numbers or variable names.

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. 14d ago Changed · -9 lines · +20 tokens per session cda6dc1d49e3
  2. 1mo ago First seen · 59 lines · 19 tokens per session scan A 1263d2c34b64

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository 10xHub/Agentflow (21 stars, last pushed 14d ago), licensed MIT. It adds 39 tokens to every session and 403 once invoked, about $0.0002 per session on Opus 5.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

Simplify

Review code in the current working tree across three independent dimensions (reuse, quality, efficiency) and synthesise a small punch-list of high-value cleanups.

CocoRoF/geny-executor · 34 tokens

github-code-review

Comprehensive GitHub code review with AI-powered swarm coordination.

shyftlabs/continuum · 15 tokens

Pair Programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

shyftlabs/continuum · 61 tokens

code-review-excellence

Master effective code review practices to provide constructive feedback, catch bugs early, and foster knowledge sharing while maintaining team morale. Use when reviewing pull requests, establishing review standards, or mentoring developers.

wshobson/agents · 42 tokens

multi-reviewer-patterns

Coordinate parallel code reviews across multiple quality dimensions with finding deduplication, severity calibration, and consolidated reporting. Use this skill when organizing multi-reviewer code reviews, calibrating finding severity, or consolidating review results.

wshobson/agents · 49 tokens

make-pr-easy-to-review

Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".

michael-denyer/pstack-claude · 57 tokens