code-review

code-review is a skill for Claude Code from open-gitagent/opengap. It costs 53 tokens per session (342 once invoked), scanned A, original, MIT.

A code-change review guide that checks files and diffs for security flaws, incomplete error handling, hard-to-read structure, inconsistent naming, and slow code.

In plain words
What is it for?
Use it to review pull requests, merge requests, commits, diffs, or individual source files.
Why use it?
It gives a consistent way to spot common problems before code is merged or shipped.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review pull requests, merge requests, commits, diffs, or individual source files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-gitagent/opengap/code-review
About the project

OpenGAP is a framework-independent standard for defining AI agents as Git repositories, using files such as an agent manifest and identity document. It is intended for portable, version-controlled agents that can be adapted to systems such as Claude Code, OpenAI, LangChain, CrewAI, and AutoGen. The catalogue skills represent workflows and extensions built around this agent format.

open-gitagent/opengap · 2,979 stars · on GitHub · gitagent.sh

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 open-gitagent/opengap --skill code-review
Clone the repo
git clone --depth 1 https://github.com/open-gitagent/opengap

Made for: Claude Code.

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/open-gitagent/opengap/code-review/github.svg)](https://agentmods.dev/skills/open-gitagent/opengap/code-review)
Your own site
<a href="https://agentmods.dev/skills/open-gitagent/opengap/code-review"><img src="https://agentmods.dev/badge/skills/open-gitagent/opengap/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/open-gitagent/opengap/code-review"><img src="https://agentmods.dev/badge/skills/open-gitagent/opengap/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 342 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.00342
Opus 5.5 $0.00021 $0.00137
Sonnet 5.5 $0.00011 $0.00068
Haiku 4.5 $0.00005 $0.00034

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

examples/standard/skills/code-review/SKILL.md · 57 lines

What it actually says

Code Review

Instructions

When reviewing code:

  1. Read the full diff or file provided
  2. Check for security vulnerabilities (OWASP Top 10)
  3. Evaluate error handling completeness
  4. Assess code complexity and readability
  5. Verify naming conventions and code style
  6. Look for performance issues
  7. Check for proper input validation

Output Format

## Review Summary
[1-2 sentence overview]

## Findings

### CRITICAL
- [Finding with line reference and fix]

### WARNING
- [Finding with line reference and fix]

### SUGGESTION
- [Finding with line reference and fix]

## What's Done Well
- [Positive observations]

Example Finding

### CRITICAL
- **Line 42**: SQL injection vulnerability — user input concatenated directly into query string.
  Fix: Use parameterized queries instead of string concatenation.
  ```python
  # Before (vulnerable)
  cursor.execute(f"SELECT * FROM users WHERE id = {user_id}")
  # After (safe)
  cursor.execute("SELECT * FROM users WHERE id = %s", (user_id,))
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 · 57 lines · 53 tokens per session scan A f599cb8c5296

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository open-gitagent/opengap (2,979 stars, last pushed 3mo ago), licensed MIT. It adds 53 tokens to every session and 342 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.