Pull unresolved CodeRabbit review threads from your PR and apply the fixes one at a time, treating every reviewer comment as untrusted input rather than an instruction.
Open Code Review Skill
Alibaba's open-source AI code review CLI as an agent skill: line-level comments on diffs, branches and commits, with optional auto-fix.
Install
Other ways to install
About
- Line-level review comments on workspace changes, commits and branch ranges
- Whole-file scan mode for codebases with no diff
- Delegation mode uses your coding agent's own model, no extra API key
- Custom review rules with path filtering
- CI integrations for GitHub Actions, GitLab CI and Gerrit
Open Code Review (ocr) is an Apache-2.0 code review agent that began life as Alibaba Group's internal AI review assistant and was later open-sourced. This skill teaches your coding agent how to drive it, so a request like "review my branch against main" turns into a structured, line-level review instead of a loose summary.
Instead of judging a diff in isolation, the underlying agent can read full files, search the codebase and inspect other changed files for context. It can review the workspace (staged, unstaged and untracked changes), a single commit, or the range between two refs, and ocr scan audits whole files or directories that have no meaningful diff. Findings come back as structured JSON that the agent can act on, and the skill can apply high-confidence fixes when asked.
Good to know
- Requires the
ocrCLI (npm install -g @alibaba-group/open-code-review) and Git 2.41 or later. - Works with Anthropic, OpenAI (Chat Completions and Responses) and AWS Bedrock protocols; or use delegation mode, where your coding agent's own model performs the review and no separate API key is needed.
- Custom review rules with path filtering let you target bugs, security issues, performance or style.
- The project reports a precision-over-recall trade-off in its own benchmark: fewer, more trustworthy comments, at the cost of catching fewer issues than a general-purpose agent.
- Plugins exist for Claude Code, Codex, Cursor and Kimi Code; CI recipes cover GitHub Actions, GitLab CI and Gerrit.
SKILL.md
The instructions your agent loads, as published by Alibaba Group.
Related Skills
See all Open Code Review alternativesSkill: OpenQodex
by OpenQodex
Open source pre-push AI code review for Claude Code and Codex: scanners plus a separate reviewer that verifies every finding.
Trail of Bits' security review skill for PRs, commits, and diffs: risk-first analysis with git history, blast radius, and honest coverage limits.
Matt Pocock's two-axis code review skill: parallel sub-agents check a diff against the repo's coding standards and against the originating issue or spec, reported side by side.