Sponsor Suno AI Music arrow_forward
Slash Command

OCR: Post

Post the current OCR review to a GitHub PR.

Type
Slash Command
GitHub stars
369
License
Apache-2.0
Repo last updated
Jul 28, 2026
Source file
.ocr/commands/post.md

What OCR: Post is

OCR: Post 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: Post gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.

How to install OCR: Post

Claude Code

  1. Download post.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/post.md, shared under the repository's Apache-2.0 license. Read the full file on GitHub.

Usage

/ocr-post [session] [--human-translated-review <path>]

Arguments

  • session (optional): Session ID to post. Defaults to most recent.
  • --human-translated-review (optional): Explicit path to a human-translated review file to post instead of final.md.

Prerequisites

  • GitHub CLI (gh) must be installed and authenticated
  • Must be on a branch with an open PR

Steps

  1. Verify gh is available and authenticated
  2. Find the PR for current branch
  3. Determine current round from ocr state show -> current_round (or enumerate rounds/ directory)
  4. Select the review content to post (in priority order): a. If --human-translated-review is provided, use that file b. Otherwise, check if rounds/round-{current_round}/final-human.md exists -- if yes, prefer it c. Fall back to rounds/round-{current_round}/final.md
  5. Post as PR comment via gh pr comment

Convention Over Configuration

When no --human-translated-review flag is given, the post command automatically checks for a human-translated review before falling back to the raw synthesized review. This means if you've run /ocr-translate-review-to-single-human beforehand, the translated version is picked up without any extra flags.

The explicit --human-translated-review flag overrides this auto-detection and lets you point to any arbitrary file.

Reference

  • Run /ocr-translate-review-to-single-human to generate a human-voice translation before posting
  • Run /ocr-doctor to check GitHub CLI status

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: Post?

OCR: Post is a slash command for Claude Code and Claude Cowork from the spencermarx/open-code-review repository on GitHub. Post the current OCR review to a GitHub PR.

How do I install OCR: Post in Claude Code?

Download post.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: Post 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: Post 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.