Code Review

Code Review is a skill for Claude Code, Codex from Xiaowen-Jiang/agent-enterprise. It costs 15 tokens per session (292 once invoked), scanned A, original, MIT.

A structured review of source code for security, correctness, maintainability, performance, and consistent style.

In plain words
What is it for?
Use it to inspect files for issues such as injection, exposed secrets, weak error handling, duplication, complexity, and inefficient code, with severity-rated feedback.
Why use it?
It catches risks and design problems before they become bugs or security incidents and explains why each finding matters.

Skill for Claude CodeCodex

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

Good fit Use it to inspect files for issues such as injection, exposed secrets, weak error handling, duplication, complexity, and inefficient code, with severity-rated feedback.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaowen-jiang/agent-enterprise/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 Xiaowen-Jiang/agent-enterprise --skill code_review
Clone the repo
git clone --depth 1 https://github.com/Xiaowen-Jiang/agent-enterprise

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/xiaowen-jiang/agent-enterprise/code_review/github.svg)](https://agentmods.dev/skills/xiaowen-jiang/agent-enterprise/code_review)
Your own site
<a href="https://agentmods.dev/skills/xiaowen-jiang/agent-enterprise/code_review"><img src="https://agentmods.dev/badge/skills/xiaowen-jiang/agent-enterprise/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/xiaowen-jiang/agent-enterprise/code_review"><img src="https://agentmods.dev/badge/skills/xiaowen-jiang/agent-enterprise/code_review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 292 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.00015 $0.00292
Opus 5.5 $0.00006 $0.00117
Sonnet 5.5 $0.00003 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 1mo ago against content hash 8ec96ac69922, 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 1mo 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.

agent_enterprise/skills_data/code_review/SKILL.md · 34 lines

What it actually says

Process

  1. Read the target file(s) using the filesystem tools
  2. Security check: Look for SQL injection, XSS, command injection, hardcoded secrets, unsafe deserialization
  3. Code quality: Check naming conventions, function length, duplication, complexity
  4. Error handling: Verify edge cases, null checks, proper exception handling
  5. Style & readability: Consistent formatting, meaningful comments, clear variable names
  6. Performance: Identify obvious inefficiencies, unnecessary loops, memory issues

Output Format

Provide structured feedback using severity levels:

  • CRITICAL: Security vulnerabilities or bugs that will cause failures
  • WARNING: Code smells, potential issues, or maintainability concerns
  • SUGGESTION: Style improvements, better patterns, or minor optimizations
  • GOOD: Highlight well-written parts (positive feedback matters)

Guidelines

  • Be specific — reference line numbers and exact code
  • Explain WHY something is an issue, not just WHAT
  • Suggest concrete fixes with code examples
  • Start with a brief summary before detailed findings
  • End with an overall assessment (approve / request changes)
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. 1mo ago First seen · 34 lines · 15 tokens per session scan A 8ec96ac69922

Subscribe to this mod's changes

Code Review is a skill published in the GitHub repository Xiaowen-Jiang/agent-enterprise (52 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 292 once invoked, about $0.0001 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

code-review

Reviews Spec Kit code changes for consistency with applicable design documents, positive and negative test coverage, regression evidence for bug fixes, and consistent repository terminology. Use when reviewing a diff or pull request. Do not use for implementing changes or posting GitHub review actions.

github/spec-kit · 54 tokens

ai-agent-evaluation-benchmarking

Autonomous AI agent benchmark evaluation register: task completion rates, planning accuracy, tool invocation precision, and cost benchmarks.

sickn33/agentic-awesome-skills · 31 tokens

ce-code-review

Review a named diff or PR for bugs, regressions, tests, and standards. Use when asked to review code or when a shipping skill needs a review receipt. Use when asked to apply this review's findings locally. Use ce-resolve-pr-feedback for feedback already left on a PR.

EveryInc/compound-engineering-plugin · 62 tokens

ce-resolve-pr-feedback

Judge PR feedback centrally, apply valid fixes, and complete review conversations with publication verified. Use when addressing feedback already left on a PR, preparing local fixes for a caller to publish, or completing a saved feedback batch. Use ce-code-review for reviewing code before feedback exists.

EveryInc/compound-engineering-plugin · 60 tokens

code-review

Review code for quality, maintainability, and correctness.

PrefectHQ/fastmcp · 10 tokens

sage-review

Deep, platform-neutral code review for PRs and CRs in ONE thorough single pass — design reasoning (Problem Worth Solving & Solution Fit) as one dimension alongside the 9 code-level dimensions, with chain-of-consequences, self-critique, and draft-only comments. The single app-owned source of truth.

kirodotdev/KiroCrew · 68 tokens