Ocr
Shift code review quality gates left with customizable multi-agent review. Define your reviewer team composition, run parallel reviews with redundancy, and let reviewers debate findings before synthesis. Works with specs, proposals, and project standards.
- Type
- Plugin
- Repository
- spencermarx/open-code-review
- GitHub stars
- 369
- License
- Apache-2.0
- Repo last updated
- Jul 28, 2026
- Source file
- packages/agents/.claude-plugin/plugin.json
- Version
- 2.5.0
- Author
- Spencer Marx
What Ocr is
Ocr is a plugin published in the spencermarx/open-code-review repository on GitHub, which has about 369 stars. The repository describes itself as: “AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.”
A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.
Installing Ocr adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.
How to install Ocr
Claude Code
- Add the repository as a plugin marketplace: claude plugin marketplace add spencermarx/open-code-review
- Install the plugin: claude plugin install ocr@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
- Restart the session if the new skills or commands don't appear straight away.
Claude Cowork
- Open Customize → Plugins and choose Add marketplace.
- Enter spencermarx/open-code-review (the owner/repo shorthand works for GitHub).
- Find Ocr in the list, click Install, then connect any connectors it needs from its Connectors tab.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from packages/agents/.claude-plugin/plugin.json, shared under the repository's Apache-2.0 license. Read the full file on GitHub.
Skill definitions, reviewer personas, and workflow references that power Open Code Review.
Getting Started
All OCR workflows require the CLI for session state management. Install it first:
# 1. Install the CLI
npm install -g @open-code-review/cli
# 2. Initialize in your project (copies these assets to .ocr/)
cd your-project
ocr initTo update after a package upgrade:
ocr updateThis updates skills and workflow references while preserving your .ocr/config.yaml and all reviewer personas (both default and custom).
Via Claude Code Plugin
/plugin marketplace add spencermarx/open-code-review
/plugin install ocr@aclarifyWhat This Package Contains
agents/
├── skills/ocr/ # The OCR skill
│ ├── SKILL.md # Tech Lead orchestration logic
│ ├── references/
│ │ ├── workflow.md # 8-phase review workflow
│ │ ├── session-files.md # Authoritative file manifest
│ │ ├── session-state.md # State management
│ │ ├── discourse.md # Multi-agent debate rules
│ │ ├── final-template.md # Final review template
│ │ └── reviewers/ # Persona definitions (customizable)
│ │ ├── principal.md # Architecture, design patterns
│ │ ├── quality.md # Code style, best practices
│ │ ├── security.md # Auth, data handling, vulnerabilities
│ │ ├── testing.md # Coverage, edge cases
│ │ ├── martin-fowler.md # Famous engineer persona
│ │ └── ... # 28 personas total
│ └── assets/
│ ├── config.yaml # Default configuration
…Commands
Why two formats? Windsurf requires flat command files with a prefix (/ocr-command), while Claude Code and Cursor support subdirectories (/ocr:command). Both invoke the same underlying functionality.
Skill Architecture
The SKILL.md file defines the Tech Lead role — the orchestrator that:
- Discovers project context (config, OpenSpec, reference files)
- Analyzes changes and identifies risk areas
- Selects and spawns reviewer personas based on your team configuration
- Facilitates discourse between reviewers
- Synthesizes findings into a unified review
Reviewer Personas
28 personas across four tiers:
Famous Engineer personas review through the lens of each engineer's published work and philosophy — e.g., Martin Fowler focuses on refactoring and domain modeling, Kent Beck on test-driven development, Sandi Metz on object-oriented design.
Create custom reviewers via the /ocr:create-reviewer command or by adding .md files to .ocr/skills/references/reviewers/. See the reviewer template.
Ephemeral reviewers can be added per-review with --reviewer — no persistence required. See the review.md command spec for details.
Multi-model teams — assign different models to different reviewers via .ocr/config.yaml. Three forms (shorthand, { count, model }, per-instance list), optional model aliases, and an optional workspace default. See the main README for details.
Map Agent Personas
The /ocr:map command uses specialized agents:
These run with configurable redundancy (default: 2). See .ocr/config.yaml → code-review-map.agents.
Session Structure
.ocr/sessions/{YYYY-MM-DD}-{branch}/
├── discovered-standards.md # Project context (shared across rounds)
├── context.md # Change analysis (shared)
└── rounds/
├── round-1/
│ ├── reviews/ # Individual reviewer outputs
│ │ ├── principal-1.md
│ │ ├── quality-1.md
│ │ └── ephemeral-1.md # From --reviewer (if used)
│ ├── discourse.md # Cross-reviewer discussion
│ └── final.md # Synthesized review
└── round-2/ # Created on re-review
├── map/
│ └── runs/
│ └── run-1/
│ ├── map.md # Code Review Map
│ └── flow-analysis.md # Dependency graph (Mermaid)Running /ocr-review again on an existing session creates a new round if the previous round is complete. See references/session-files.md for the complete file manifest.
License
Apache-2.0
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Ocr?
Ocr is a plugin for Claude Code and Claude Cowork from the spencermarx/open-code-review repository on GitHub. Shift code review quality gates left with customizable multi-agent review. Define your reviewer team composition, run parallel reviews with redundancy, and let reviewers debate findings before synthesis. Works with specs, proposals, and project standards.
How do I install Ocr in Claude Code?
Add the repository as a plugin marketplace: claude plugin marketplace add spencermarx/open-code-review Install the plugin: claude plugin install ocr@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.
Can I use Ocr in Claude Cowork?
Open Customize → Plugins and choose Add marketplace. Enter spencermarx/open-code-review (the owner/repo shorthand works for GitHub). Find Ocr in the list, click Install, then connect any connectors it needs from its Connectors tab.
Is Ocr safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Sparc Coord SPARC methodology orchestrator with hierarchical coordination and self-learning Subagent · spencermarx/open-code-review
- Specification SPARC Specification phase specialist for requirements analysis with self-learning Subagent · spencermarx/open-code-review
- Swarm Issue GitHub issue-based swarm coordination agent that transforms issues into intelligent multi-agent tasks with automatic decomposition and progress tracking Subagent · spencermarx/open-code-review
- Workflow Automation GitHub Actions workflow automation agent that creates intelligent, self-organizing CI/CD pipelines with adaptive multi-agent coordination and automated optimization Subagent · spencermarx/open-code-review
- Genie Human-AI partnership for Claude Code. Share a terminal, orchestrate workers, evolve together. Brainstorm ideas, turn them into wishes… Plugin · automagik-dev/genie
- Superjawn Research-augmented fork of obra/superpowers. Ships all 14 workflow skills (brainstorming, planning, TDD, code review, debugging, worktrees, parallel agents) standalone, with no dependency on the upstream superpowers plugin. Plugin · jamditis/claude-skills-journalism
- Archetypes Architecture paradigm selection and implementation planning for software systems Plugin · athola/claude-night-market
- Security Toolkit Four defensive security skills covering OWASP Top 10 and supply-chain hardening: pre-deployment audit checklists, secure authentication (hashing, sessions, JWT, OAuth, passkeys), API hardening (rate limiting, CORS, throttling), and npm/bun install-time cooldown with a sandboxed bypass scan. Plugin · jamditis/claude-skills-journalism