open-code-review-delegate

open-code-review-delegate is a skill for Cursor from alibaba/open-code-review. It costs 90 tokens per session (2,670 once invoked), scanned A, original, Apache-2.0.

A delegation guide for Open Code Review, an AI-assisted tool that examines changes in a Git repository. The tool selects files and supplies review rules, while the coding agent performs the review.

In plain words
What is it for?
Use it to preview which files should be reviewed, obtain their review checklists, and then inspect diffs for correctness, security, performance, and related issues.
Why use it?
It separates mechanical file selection from the review itself, so the host agent can use its own understanding of the code and requirements. It also supports reviewing workspace changes, branch comparisons, and individual commits.

Skill for Cursor ✓ vendor

Written for Cursor: shipped in a Cursor plugin. Also seen: mentions Codex.

Part of the open-code-review plugin — 2 skills, 1 plugin shipped together

Good fit Use it to preview which files should be reviewed, obtain their review checklists, and then inspect diffs for correctness, security, performance, and related issues.

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

Open Code Review is an AI-assisted command-line tool that examines code changes or entire files and produces structured comments tied to specific lines. Developers use it for repository-level reviews, code auditing, and checks such as security, null safety, and thread safety.

alibaba/open-code-review · 57,487 stars · on GitHub · open-codereview.ai

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

Made for: Cursor.

Or install open-code-review, the plugin that ships this one along with the rest of its 2 skills, 1 plugin.

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 open-code-review-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/alibaba/open-code-review/open-code-review-delegate/github.svg)](https://agentmods.dev/skills/alibaba/open-code-review/open-code-review-delegate)
Your own site
<a href="https://agentmods.dev/skills/alibaba/open-code-review/open-code-review-delegate"><img src="https://agentmods.dev/badge/skills/alibaba/open-code-review/open-code-review-delegate/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 open-code-review-delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/alibaba/open-code-review/open-code-review-delegate"><img src="https://agentmods.dev/badge/skills/alibaba/open-code-review/open-code-review-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,670 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
  • Socket pass 18 Nov 2026
  • Snyk warn 22 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 24
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00090 $0.02670
Opus 5.5 $0.00036 $0.01068
Sonnet 5.5 $0.00018 $0.00534
Haiku 4.5 $0.00009 $0.00267

Measured 8d ago against content hash 34d1febcd072, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

open-code-review-delegate 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 8d 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.

plugins/open-code-review/skills/open-code-review-delegate/SKILL.md · 229 lines

How it starts

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

Open Code Review — Delegation Mode

This Codex plugin skill intentionally mirrors the canonical skill at skills/open-code-review-delegate/SKILL.md. Keep both files synchronized when updating OCR delegation instructions; a symlink is avoided because plugin installs may only materialize the plugin subtree.

Workflow

Step 1: Preview — Determine What to Review

Skip OCR provider setup and ocr llm test; the host agent's authentication, usage limits, and costs still apply.

ocr delegate preview --format json [--from <ref> [--to <ref>]] [--commit <hash>] [--exclude <patterns>]

With --from and no --to, both delegate subcommands default to HEAD. Range review compares the merge-base to the target commit and excludes staged, unstaged, and untracked changes. Omit range/commit flags for workspace mode; range and commit flags are mutually exclusive.

This outputs:

  • mode (workspace / range / commit)
  • from / to / commit / merge_base — ref metadata for constructing git commands
  • Reviewable file list — paths, status, insertions/deletions
  • Excluded files — with exclusion reason

Common invocations:

Scenario Command
Workspace changes ocr delegate preview
Branch comparison ocr delegate preview --from main --to feature
Current branch against main ocr delegate preview --from main
Single commit ocr delegate preview -c abc123

Step 2: Get Rules for Files

ocr delegate rule --format json [--from <ref> [--to <ref>]] [--commit <hash>] <path1> <path2> ...

Pass the reviewable file paths from Step 1. Output is grouped by rule content — files sharing the same rule appear under one group, avoiding repetition.

Pass the same range or commit flags as in Step 1 so rules are resolved against the same target. For example, pair ocr delegate preview --from main with ocr delegate rule --from main --format json <path...>.

Step 3: Get Diffs

Choose the diff command using the mode and refs from Step 1. Use git --no-pager for every Git call during the review.

Read the full file on GitHub · 229 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. 8d ago Changed · +5 lines 34d1febcd072
  2. 13d ago Changed · +6 lines · +22 tokens per session cd8cb0796e19
  3. 14d ago Changed · +5 lines 4aa6e3c34929
  4. 1mo ago Changed · +19 lines 26b5badb0038
  5. 3mo ago First seen · 194 lines · 68 tokens per session scan A 0c504bed0bc0

Subscribe to this mod's changes

open-code-review-delegate is a skill published in the GitHub repository alibaba/open-code-review (57,487 stars, last pushed yesterday), licensed Apache-2.0. It adds 90 tokens to every session and 2,670 once invoked, about $0.0004 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

open-code-review-delegate compared with skills from other repositories

open-code-review-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
open-code-review-delegatealibaba/open-code-reviewSkill57kyesterdayApache-2.0A90Cursor
reviewvercel/eveSkill6.1ktodayApache-2.0A31Claude Code, Codex
writing-qualityvercel/eveSkill6.1ktodayApache-2.0A69Claude Code, Codex
pr-reviewnearform/lastlightSkill49yesterdayMITA69Claude Code, Codex
code-reviewsuyoumo/ClawProBenchSkill8293mo agoApache-2.0A57Claude Code, Codex
parallel-pr-reviewsuyoumo/ClawProBenchSkill8293mo agoApache-2.0A67Claude Code, Codex
qa-reviewsuyoumo/ClawProBenchSkill8293mo agoApache-2.0A30Claude Code, Codex