
Open Code Review
Runs AI-powered code reviews on Git changes via the ocr CLI and can apply fixes when asked.
- Repository
- alibaba/open-code-review
- Stars
- 49,277
- Licence
- Apache-2.0
- Files
- 1 file
What it does
When installed, the agent can review your Git changes (uncommitted work, a single commit, or the difference between two branches) by running the open-source ocr command-line tool, which sends the diffs to an AI model you configure and returns line-level comments on bugs, security issues, performance and code quality. The agent groups the findings by severity, drops low-severity items it judges to be nitpicks, and only edits your code to fix problems if you explicitly ask it to.
Great for
- Developers who want a second automated reviewer before opening or merging a pull request
- Teams checking a branch or commit for bugs and security issues before release
- People who already have an LLM provider API set up and want a structured review report
Skip it if
- Projects where code must not be sent to an external LLM provider, since diffs are transmitted to the configured model (privacy and data-policy risk)
- Anyone expecting a guaranteed or exhaustive audit; AI review can miss issues or report false positives, and the skill itself drops low-severity items
- Users who want the agent to change code automatically without reviewing the results, since fixes are applied when requested and should be verified before committing
Try asking
- “Review my changes before I commit”
- “Review the pull request on feature/login against main”
- “Review commit abc123 and tell me about any security problems”
- “Review and fix the issues in my staged changes”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
open-code-review.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip open-code-review.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip open-code-review.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Pass a short business context with the request (for example what the change is for) so the review is better targeted.
- Use the preview option first to confirm which files will be sent to the model before a full review.
- Ask for review only, not review and fix, unless you are ready to inspect every change the agent makes.
What's inside
- SKILL.md
Redistributed unmodified from alibaba/open-code-review under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.