Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs OCR's native code review on workspace changes, PRs, commits, or branches using a separately configured model provider.
29% 75%+46 ptsof test cases passed
Passed 18 of 24 test cases with the skill, and 7 of 24 without it.
This test ran on v13. v17 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
51 agent runs
This Codex plugin skill intentionally mirrors the canonical skill at
skills/open-code-review/SKILL.md. Keep both files synchronized when updating
OCR agent instructions; a symlink is avoided because plugin installs may only
materialize the plugin subtree.
Analyze the review target (commits, branch, or changes) to extract concise business context. Pass this context via --background to improve review quality.
GitHub PR mode: A bare positive number (e.g. 42) selects a PR in the GitHub CLI's default repository for this checkout, which can be upstream of a fork. The pr prefix is optional. For a PR number or GitHub PR URL, run python3 "$SKILL_DIR/scripts/review_pr.py" <id-or-url> once, resolving SKILL_DIR from this installed skill. Forward an explicit --repo OWNER/REPO or --background. Read the printed run.json and its result file; report the resolved PR URL, reviewed revisions, freshness, and artifact path with Step 3. On failure report the failed step, not a fallback branch review. Only PR mode needs Python 3 and authenticated gh.
PR mode uses built-in and user review rules, not rules from the PR. It stops if MCP servers are configured or the PR changes Git filtering metadata; do not bypass a policy stop.
Otherwise run ocr review directly. Do not probe with command -v ocr or ocr --version first; that adds an unnecessary tool call on the normal path.
For a workspace review, omit revision flags and --analysis. Pass business context via --background when available:
ocr review --audience agent --background "business context here"
Argument handling:
--background "context" or -b "context" to provide business context for better review quality--commit or -c to review a single commit against its parent--from <ref> and --to <ref> to review diff between two refs--from <ref> defaults the target to HEAD, equivalent to --from <ref> --to HEAD. This reviews committed changes from the merge-base to HEAD, excluding staged, unstaged, and untracked changes. Omit both refs to review workspace changes.--timeout × review rounds. Default --timeout 15 with default effort medium (2 rounds) gives 30 minutes; low/high give 15/45 minutes.--concurrency <n> if rate limits are hit--preview or -p to preview which files will be reviewed without running the LLM--output <path> to write the full result to a file instead of stdout.Common invocation patterns:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.