From review-by-opp
Runs Codex as independent reviewer on git diff or changed files, parses findings into ledger. Use after code changes in review session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/review-by-opp:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are running a Codex review round. Codex is the auditor - it reviews, you do not edit during this step.
You are running a Codex review round. Codex is the auditor - it reviews, you do not edit during this step.
Verify session exists:
reviews/current.json. If missing, tell user: "No active session. Run /review-by-opp:start first."Determine review scope:
reviewScope in config (from reviews/current.json or .review-by-opp.json):
"diff" - include the git diff in the audit prompt for context"changed-files" - include full content of changed files"changed-files-plus-tests" - changed files plus related test files"full-repo" - review the entire repository (Codex reads all files via sandbox)diff, changed-files, and changed-files-plus-tests: check git diff --name-only first. If no changes, tell user: "No changes to review. Make code changes first."full-repo: skip the diff check - Codex reviews everythingIncrement round:
current_round in the ledgerWrite context file for Codex:
reviews/context.md so Codex has full project context despite being stateless. Include:
Build the audit prompt:
reviews/context.md for project context and previous findingsdiff scope: include the git diff output in the promptchanged-files scope: include the full file contents of changed filesfull-repo scope: instruct Codex to read and review all source files in the repository/review-by-opp:review I think the error handling in api.ts might be wrong/review-by-opp:review check if the rate limiter actually works under concurrency/review-by-opp:review is it ok to use eval here or is there a safer wayFINDING: {"title":"...","severity":"...","category":"...","file":"...","line":...,"description":"...","suggested_fix":"..."}Run Codex review:
npx @openai/codex exec --sandbox read-only "<audit prompt>"--model <model>-c model_reasoning_effort=<effort>Parse findings:
FINDING: and parse the JSONf-{round}-{short-uuid}openUpdate ledger:
reviews/current.jsonreviews/rounds/round-{N}.jsonreviews/summaries/summary-{N}.jsonRun verification checks (if configured):
rerunChecks is true in config, run available checks (test, lint, typecheck)Report results:
/review-by-opp:fix."/review-by-opp:finalize."CRITICAL: Do NOT edit any files during the review step. You are only gathering and recording Codex's findings.
$ARGUMENTS
npx claudepluginhub akshan-main/review-by-opp --plugin review-by-oppCode review with semantic diffs, expert routing by file type, and auto-task creation for critical issues. Works on staged changes, files, or PRs.
Performs code reviews using Codex MCP with severity-grouped findings and a merge gate. Supports fast (diff-only), full (diff + lint/build), and branch review variants.
Runs cross-model code reviews using the external Codex CLI tool from a Claude session. Catches bugs that single-model self-review would miss by leveraging a different reviewer architecture.