open-code-review CLI
A code-review CLI and plugin for agents: reads a git diff and writes line-level comments with context
- 49,863 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Reads project code and sends diffs to an external LLM
- Can apply edits to files on request
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/open-code-reviewDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Reads project code and sends diffs to an external LLM
- Can apply edits to files on request
This is third-party code. Review the repository files before installing.
What it does
open-code-review ships the ocr command, which reads git changes and produces structured line-level comments. A hybrid design combines deterministic checks with a built-in ruleset (NPE, thread safety, XSS, SQL injection) and LLM analysis of the diff with access to the surrounding code. It handles workspace changes, branch ranges and single commits, and can apply fixes on request. It comes as a CLI and as a plugin and skill for Claude Code, Codex and Cursor.
Who it is for. For developers and QA who want automated review of changes before merge.
Good fit when
- You want to check changes or a pull request before human review
- You need line-level comments flagging possible bugs and vulnerabilities
- You want to embed code review into an agent in the terminal
Not a fit when
- You have no access to a supported LLM provider
- You need a full static analyzer rather than diff review
Example request
Review my uncommitted changes and give line-level comments, and fix the important onesLimitations
Before the first run you configure an LLM provider: the supported protocols are Anthropic, OpenAI Chat Completions, OpenAI Responses and AWS Bedrock. Review and auto-fixes call an external model, and quality depends on it and on the configured rules.
How to disable. Uninstall the CLI (npm uninstall -g @alibaba-group/open-code-review) and remove the open-code-review plugin via /plugin.
FAQ
Which LLMs are supported?
Providers speaking Anthropic, OpenAI Chat Completions, OpenAI Responses and AWS Bedrock protocols.
Can it fix code itself?
Yes, on request ocr can apply fixes rather than only report comments.
Discussion
No questions or reviews yet.
Related
CLI toolsA skill and CLI for code review: a team of reviewer agents inspects changes independently, debates findings and produces one report
A CLI opens diffs and documents in a terminal so a person can annotate lines and pass feedback to a coding agent
The CLI matches linter diagnostics to code changes and reports findings locally or through an approved review channel.
reviewd reviews GitHub, GitLab and BitBucket pull requests through Claude Code, Gemini or Codex CLI and comments on them
Local review of agent changes before commit: the agent itself reads line comments and replies to them through MCP.
kyy-logs code-review-skill
code-review-skill
A code review skill with four independent probes, evidence-backed findings and a merge gate derived from JSON
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| open-code-review (this card) | no | 49,863 | |
| Hunk | no | 9,823 | a terminal diff viewer |
| Vet | no | 493 | reviews the git diff and the conversation with the agent |
| no-mistakes | no | 9,203 | a local gate in front of git push |
README in short
The README presents open-code-review as a code-review tool with a hybrid architecture: deterministic pipelines plus an LLM agent, line-level comments and a built-in multi-language ruleset. It installs as the ocr CLI via npm or a release binary and works with Anthropic and OpenAI-compatible providers. The repo ships plugins and skills for Claude Code, Codex, Cursor and Kimi, plus a built-in MCP. Apache-2.0 licensed.