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
CLI

Extended access

Why this level

  • Reads project code and sends diffs to an external LLM
  • Can apply edits to files on request
All reasons and checks

alibaba/open-code-review

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/open-code-review

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended 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 ones

Limitations

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.

CLI tools

A skill and CLI for code review: a team of reviewer agents inspects changes independently, debates findings and produces one report

SkillExtended access385Repository stars

A CLI opens diffs and documents in a terminal so a person can annotate lines and pass feedback to a coding agent

CLIExtended access956Repository stars

The CLI matches linter diagnostics to code changes and reports findings locally or through an approved review channel.

CLIExtended access9.7KRepository stars

reviewd reviews GitHub, GitLab and BitBucket pull requests through Claude Code, Gemini or Codex CLI and comments on them

CLIBroad access70Repository stars

Local review of agent changes before commit: the agent itself reads line comments and replies to them through MCP.

PluginMinimal access127Repository stars

A code review skill with four independent probes, evidence-backed findings and a merge gate derived from JSON

SkillExtended access479Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
open-code-review (this card)no49,863
Hunkno9,823a terminal diff viewer
Vetno493reviews the git diff and the conversation with the agent
no-mistakesno9,203a 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.

README badge

Report a problem