code-review

code-review is a skill for Claude Code from vercel-labs/open-agents. It costs 49 tokens per session (1,187 once invoked), scanned A, original, MIT.

A code-change review guide for examining uncommitted work, commits, branches, or GitHub pull requests, which are proposed code changes for review.

In plain words
What is it for?
Use it to review local edits, staged changes, commits, branch comparisons, or pull requests and receive actionable feedback.
Why use it?
It helps find problems in a change while considering the surrounding code, rather than judging a small diff in isolation.

Skill for Claude Code ✓ vendor

Written for Claude Code: $ARGUMENTS substitution. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to review local edits, staged changes, commits, branch comparisons, or pull requests and receive actionable feedback.

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

Open Agents is an open-source reference application for running background coding agents through a web interface, durable workflows, isolated Vercel sandboxes, and GitHub integration. Developers fork and adapt it to let agents make code changes without keeping a local computer running. The catalogue entries provide skills, agents, and instructions for its workflow.

vercel-labs/open-agents · 5,884 stars · on GitHub · open-agents.dev

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

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/vercel-labs/open-agents/code-review/github.svg)](https://agentmods.dev/skills/vercel-labs/open-agents/code-review)
Your own site
<a href="https://agentmods.dev/skills/vercel-labs/open-agents/code-review"><img src="https://agentmods.dev/badge/skills/vercel-labs/open-agents/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/vercel-labs/open-agents/code-review"><img src="https://agentmods.dev/badge/skills/vercel-labs/open-agents/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,187 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
  • Socket pass 15 Sept 2026
  • Snyk warn 15 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.00049 $0.01187
Opus 5.5 $0.00020 $0.00475
Sonnet 5.5 $0.00010 $0.00237
Haiku 4.5 $0.00005 $0.00119

Measured 2mo ago against content hash 76599d253c42, 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 2mo 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.

.agents/skills/code-review/SKILL.md · 104 lines

How it starts

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

You are a code reviewer. Your job is to review code changes and provide actionable feedback.

Determining What to Review

Based on the input provided, determine which type of review to perform:

  1. No arguments (default): Review all uncommitted changes

    • Run: git diff for unstaged changes
    • Run: git diff --cached for staged changes
  2. Commit hash (40-char SHA or short hash): Review that specific commit

    • Run: git show $ARGUMENTS
  3. Branch name: Compare current branch to the specified branch

    • Run: git diff $ARGUMENTS...HEAD
  4. PR URL or number (contains "github.com" or "pull" or looks like a PR number): Review the pull request

    • Run: gh pr view $ARGUMENTS to get PR context
    • Run: gh pr diff $ARGUMENTS to get the diff

Use best judgement when processing input.


Gathering Context

Diffs alone are not enough. After getting the diff, read the entire file(s) being modified to understand the full context. Code that looks wrong in isolation may be correct given surrounding logic—and vice versa.

  • Use the diff to identify which files changed
  • Read the full file to understand existing patterns, control flow, and error handling
  • When changes touch inputs, auth, storage, networking, rendering, or secrets, trace the trust boundary instead of reviewing the code in isolation
  • Check for existing style guide or conventions files (CONVENTIONS.md, AGENTS.md, .editorconfig, etc.)

What to Look For

Bugs - Your primary focus.

  • Logic errors, off-by-one mistakes, incorrect conditionals
  • If-else guards: missing guards, incorrect branching, unreachable code paths
  • Edge cases: null/empty/undefined inputs, error conditions, race conditions
  • Broken error handling that swallows failures, throws unexpectedly or returns error types that are not caught.

Security / Safety - Treat this as a first-class review concern, not an afterthought.

  • Assume changed code may be reachable by untrusted users or hostile input unless you can verify otherwise
  • Look for injection, XSS, auth/authz bypass, CSRF, SSRF, open redirects, path traversal, unsafe file access, secret/token exposure, privilege escalation, insecure defaults, and tenant/data isolation leaks
  • Check that validation and authorization happen at the real boundary, not only in the UI or caller
  • Verify sensitive operations fail closed, do not log secrets, and do not expand access beyond the intended actor/resource scope
  • Prefer flagging realistic exploit paths over generic "security concern" comments; explain the attacker-controlled input, boundary, and impact

Read the full file on GitHub · 104 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. 2mo ago First seen · 104 lines · 49 tokens per session scan A 76599d253c42

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository vercel-labs/open-agents (5,884 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 1,187 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-31.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewvercel-labs/open-agentsSkill5.9k2mo agoMITA49Claude Code
adk-reviewgoogle/adk-pythonSkill22ktodayApache-2.0A164Claude Code, Codex
code-review-skillgoogle/adk-pythonSkill22ktodayApache-2.0A19Claude Code, Codex
sage-reviewkirodotdev/KiroCrewSkill4.8ktodayApache-2.0A68Claude Code, Codex
learn-from-sagekirodotdev/KiroCrewSkill4.8ktodayApache-2.0A56Claude Code, Codex
review-fix-signoff-loopAgentWorkforce/relaySkill1.1ktodayApache-2.0A77Claude Code, Codex
code-reviewopen-gitagent/opengapSkill3.0k4mo agoMITA53Claude Code