Open Code Review
Native-mode code review of Git changes via the ocr CLI, with optional automatic fixes on request.
- CCM score
- 75 of 100
- skills.sh installs
- 8.5K
- GitHub stars
- 57.1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers workspace, commit, PR, and branch-comparison reviews, each producing line-level findings with severity and category
- Includes
--backgroundcontext,--previewdry runs,--outputfiles for large reviews, and per-file rule overrides viarule.json - Enforces a rule that fixes apply only when the user explicitly asks, and groups results by severity, dropping low-severity nitpicks
- Designed for teams that configure their own LLM provider instead of reusing the host agent's model
Install
$ npx -y skills add alibaba/open-code-review --skill open-code-review -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Open Code Review
Workflow
Step 1: Gather Business Context
Analyze the review target (commits, branch, or changes) to extract concise business context. Pass this context via --background to improve review quality.
Step 2: Run Code Review
GitHub PR mode: A bare positive number (e.g. 42) selects a PR in the GitHub CLI's default repository for this checkout, which can be upstream of a fork. The pr prefix is optional. For a PR number or GitHub PR URL, run python3 "$SKILL_DIR/scripts/review_pr.py" <id-or-url> once, resolving SKILL_DIR from this installed skill. Forward an explicit --repo OWNER/REPO or --background. Read the printed run.json and its result file; report the resolved PR URL, reviewed revisions, freshness, and artifact path with Step 3. On failure report the failed step, not a fallback branch review. Only PR mode needs Python 3 and authenticated gh.
The GitHub PR helper requires OCR_HOME to be unset or empty. For custom or mounted storage, run the native ocr review command directly.
Details
- Repository
- github.com/alibaba/open-code-review
- Categories
- Code Review & Quality, Git & Releases
- First seen
- Jul 14, 2026
Questions
What does the open-code-review skill do?
The open-code-review skill runs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. It produces line-level review comments for bugs, security vulnerabilities, performance problems and code quality concerns, and can apply fixes when requested.
How do I install the open-code-review skill?
Run npx -y skills add alibaba/open-code-review --skill open-code-review -y in your project. Once installed, the agent can review staged and unstaged changes, a commit, or a branch comparison on request.
What do I need before running open-code-review?
The skill requires the ocr CLI, installed through npm install -g @alibaba-group/open-code-review or a GitHub release binary. You also need a configured LLM provider using Anthropic, OpenAI Chat Completions, OpenAI Responses or AWS Bedrock before the first run.
Where does open-code-review stand in its category?
On the Code Review & Quality category page, open-code-review ranks in the top 100. It sits alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review.
More from alibaba/open-code-review
All 2Similar to Open Code Review
More Code Review & Qualitycode-reviewSkillcoderabbitai/skills17K installsAI-powered code review via CodeRabbit CLI that scopes, runs, and interprets reviews of local changes.
review-prSkillneolabhq/context-engineering-kit1.3K installsAutomated code review of an opened GitHub pull request that posts inline comments on its diff, with impact and confidence scoring.
review-local-changesSkillneolabhq/context-engineering-kit1.3K installsThorough, phased review of uncommitted local changes that flags bugs, security, and quality issues before any push.
SelvageMCP serverselvage-lab36 starsAutomated code review context with AST-based smart extraction, no separate API key required.
github-code-reviewSkillruvnet/ruflo1.3K installsStructured multi-agent GitHub PR review that runs security, performance, architecture, style, and accessibility checks.