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.
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.
npx skills add alibaba/open-code-review --skill open-code-review-delegategit clone --depth 1 https://github.com/alibaba/open-code-reviewWrote 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.
[](https://agentmods.dev/skills/alibaba/open-code-review/open-code-review-delegate)<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.
<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>- Socket pass
- Snyk warn
- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once 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 |
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.
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.
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.
- 8d ago Changed · +5 lines 34d1febcd072
- 13d ago Changed · +6 lines · +22 tokens per session cd8cb0796e19
- 14d ago Changed · +5 lines 4aa6e3c34929
- 1mo ago Changed · +19 lines 26b5badb0038
- 3mo ago First seen · 194 lines · 68 tokens per session scan A 0c504bed0bc0
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.
open-code-review-delegate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| open-code-review-delegatealibaba/open-code-review | Skill | 57k | yesterday | Apache-2.0 | A | 90 | Cursor |
| reviewvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| writing-qualityvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 69 | Claude Code, Codex |
| pr-reviewnearform/lastlight | Skill | 49 | yesterday | MIT | A | 69 | Claude Code, Codex |
| code-reviewsuyoumo/ClawProBench | Skill | 829 | 3mo ago | Apache-2.0 | A | 57 | Claude Code, Codex |
| parallel-pr-reviewsuyoumo/ClawProBench | Skill | 829 | 3mo ago | Apache-2.0 | A | 67 | Claude Code, Codex |
| qa-reviewsuyoumo/ClawProBench | Skill | 829 | 3mo ago | Apache-2.0 | A | 30 | Claude Code, Codex |