DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to audit an unfamiliar codebase with ocr scan with Open Code Review

Review whole files or a directory when there is no diff to look at.

Short answer: Install the CLI with npm install -g @alibaba-group/open-code-review and configure a model with ocr config provider and ocr config model; then run ocr scan in the repository to scan the entire repository; run ocr scan --path internal/agent to scan just a directory or specific files. All steps.

Credentials. A full scan sends many files to your LLM provider, which can cost tokens and expose code, so scope it with --path first.

Who it is forA developer who inherited a repository and wants a first pass at its defects.

The problemA diff review is no help when the code you worry about has no recent changes.

The outcomeReview comments covering whole files or the directory you point it at.

What you need first

  • Git 2.41 or newer
  • Node.js and npm to install the CLI
  • An API key for an LLM provider, unless you use Delegation Mode

Steps

  1. Install the CLI with npm install -g @alibaba-group/open-code-review and configure a model with ocr config provider and ocr config model
  2. Run ocr scan in the repository to scan the entire repository
  3. Run ocr scan --path internal/agent to scan just a directory or specific files
  4. If a scan is interrupted, run ocr scan --resume
  5. Run ocr session list to see earlier sessions

Prompt for your agent

Using alibaba/open-code-review, run `ocr scan --path <directory>` on this repository and list the most serious findings first, with file and line. Resume with `ocr scan --resume` if it is interrupted.

Caveat. The README notes recall is lower than general-purpose agents by design, favoring precision over noise.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for alibaba/open-code-review and "Audit an unfamiliar codebase with ocr scan"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer