OCR: Sync Reviewers
Sync reviewer metadata from markdown files to reviewers-meta.json for the dashboard.
- Type
- Slash Command
- Repository
- spencermarx/open-code-review
- GitHub stars
- 369
- License
- Apache-2.0
- Repo last updated
- Jul 28, 2026
- Source file
- .ocr/commands/sync-reviewers.md
What OCR: Sync Reviewers is
OCR: Sync Reviewers is a slash command 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 slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
OCR: Sync Reviewers gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install OCR: Sync Reviewers
Claude Code
- Download sync-reviewers.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
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 .ocr/commands/sync-reviewers.md, shared under the repository's Apache-2.0 license. Read the full file on GitHub.
Usage
/ocr:sync-reviewersWhat it does
Reads all reviewer markdown files in .ocr/skills/references/reviewers/, extracts structured metadata from each, and pipes the result to the CLI for validated, atomic persistence to reviewers-meta.json.
When to run
- After adding or editing a reviewer in .ocr/skills/references/reviewers/
- After changing default_team in .ocr/config.yaml
Steps
- Read config: Parse .ocr/config.yaml and extract the default_team keys (reviewer IDs mapped to weights).
- Read all reviewer files: List every .md file in .ocr/skills/references/reviewers/. For each file, read its contents and extract:
- id: Filename without .md (e.g., architect, martin-fowler)
- name: From the # Title heading — strip trailing "Reviewer", "— Reviewer", etc.
- tier: Classify using the lists below, or custom if not recognized
- icon: Assign from the icon table below, defaulting to brain for personas and user for custom
- description: The opening paragraph that describes what this reviewer does (first substantive non-heading, non-blockquote line)
- focus_areas: Bold items from the ## Your Focus Areas section (the text before the colon/dash)
- is_default: true if the id is a key in config.yaml's default_team
- is_builtin: true if the id appears in any of the built-in lists below
- known_for (persona only): From > Known for: ... blockquote
- philosophy (persona only): From > Philosophy: ... blockquote
Use your understanding of the markdown — reviewer files may have minor structural variations. Extract the semantically correct value even if formatting differs slightly from the template.
- Build the JSON payload:
{
"schema_version": 1,
"generated_at": "<ISO 8601 timestamp>",
"reviewers": [<array of reviewer objects>]
}- Pipe to CLI for validation and persistence:
echo '<json>' | ocr reviewers sync --stdinThe CLI validates the schema, checks for duplicate IDs and invalid tiers, and writes reviewers-meta.json atomically. If validation fails, fix the JSON and retry.
- Report: Confirm the count and tier breakdown from the CLI output.
Built-in reviewer IDs
Holistic: architect, fullstack, reliability, staff-engineer, principal
Specialist: frontend, backend, infrastructure, performance, accessibility, data, devops, dx, mobile, security, quality, testing, ai
Persona: martin-fowler, kent-beck, john-ousterhout, anders-hejlsberg, vladimir-khorikov, kent-dodds, tanner-linsley, kamil-mysliwiec, sandi-metz, rich-hickey
Icon assignments
Notes
- The ocr CLI path may be provided in the CLI Resolution section above. If so, use that path instead of bare ocr.
- The CLI's --stdin mode is the mechanism that ensures the final reviewers-meta.json is valid. Always pipe through it rather than writing the file directly.
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: Sync Reviewers?
OCR: Sync Reviewers is a slash command for Claude Code and Claude Cowork from the spencermarx/open-code-review repository on GitHub. Sync reviewer metadata from markdown files to reviewers-meta.json for the dashboard.
How do I install OCR: Sync Reviewers in Claude Code?
Download sync-reviewers.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use OCR: Sync Reviewers in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is OCR: Sync Reviewers 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
- Cicd Engineer Specialized agent for GitHub Actions CI/CD pipeline creation and optimization Subagent · spencermarx/open-code-review
- Code Review Swarm Deploy specialized AI agents to perform comprehensive, intelligent code reviews that go beyond traditional static analysis Subagent · spencermarx/open-code-review
- Architecture SPARC Architecture phase specialist for system design with self-learning Subagent · spencermarx/open-code-review
- Backend Dev Specialized agent for backend API development with self-learning and pattern recognition Subagent · spencermarx/open-code-review
- OCR: Translate Review to Single Human Translate a multi-reviewer code review into a single human-voice GitHub PR comment. Slash Command · spencermarx/open-code-review
- OCR: Reviewers List all available reviewer personas for code review. Slash Command · spencermarx/open-code-review
- Ai Hygiene Audit Audit codebase for AI-generated code quality issues (vibe coding, Tab bloat, slop) Slash Command · athola/claude-night-market
- OCR: Review Run an AI-powered multi-agent code review on your changes. Slash Command · spencermarx/open-code-review