Sponsor Suno AI Music arrow_forward
Slash Command

OCR: Sync Reviewers

Sync reviewer metadata from markdown files to reviewers-meta.json for the dashboard.

Type
Slash Command
GitHub stars
369
License
Apache-2.0
Repo last updated
Jul 28, 2026

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

  1. Download sync-reviewers.md from the repository.
  2. 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.
  3. Run it by typing / followed by its name.

Claude Cowork

  1. Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
  2. In Customize → Skills, click +, then upload the ZIP.
  3. 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-reviewers

What 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

  1. Read config: Parse .ocr/config.yaml and extract the default_team keys (reviewer IDs mapped to weights).
  1. 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.

  1. Build the JSON payload:
   {
     "schema_version": 1,
     "generated_at": "<ISO 8601 timestamp>",
     "reviewers": [<array of reviewer objects>]
   }
  1. Pipe to CLI for validation and persistence:
   echo '<json>' | ocr reviewers sync --stdin

The 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.

  1. 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

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under Apache-2.0. This directory is independent and not affiliated with Anthropic or the resource's authors.