review-by-opp:review

review-by-opp:review is a skill for Claude Code, Codex from akshan-main/review-by-opp. It costs 34 tokens per session (1,210 once invoked), scanned A, original, MIT.

A command that runs Codex as an independent reviewer against code changes or selected files. It records the review findings in the active review-by-opp ledger.

In plain words
What is it for?
Use it after code changes to review a diff, changed files, related tests, or the full repository, depending on the configured scope.
Why use it?
It separates implementation from auditing, making it easier to catch problems in a diff or changed files.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also runs codex exec. Also seen: mentions Codex.

Part of the review-by-opp plugin — 7 skills, 1 hook shipped together

Good fit Use it after code changes to review a diff, changed files, related tests, or the full repository, depending on the configured scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akshan-main/review-by-opp/review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add akshan-main/review-by-opp --skill review
Clone the repo
git clone --depth 1 https://github.com/akshan-main/review-by-opp

Made for: Claude Code, Codex.

Or install review-by-opp, the plugin that ships this one along with the rest of its 7 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-by-opp:review

README.md
[![agentmods](https://agentmods.dev/badge/skills/akshan-main/review-by-opp/review/github.svg)](https://agentmods.dev/skills/akshan-main/review-by-opp/review)
Your own site
<a href="https://agentmods.dev/skills/akshan-main/review-by-opp/review"><img src="https://agentmods.dev/badge/skills/akshan-main/review-by-opp/review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-by-opp:review

Your own site · 80×15
<a href="https://agentmods.dev/skills/akshan-main/review-by-opp/review"><img src="https://agentmods.dev/badge/skills/akshan-main/review-by-opp/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,210 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01210
Opus 5 $0.00017 $0.00605
Sonnet 5 $0.00007 $0.00242
Haiku 4.5 $0.00003 $0.00121

Measured 11d ago against content hash 16491c52ae36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

review-by-opp:review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/review/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are running a Codex review round. Codex is the auditor - it reviews, you do not edit during this step.

What to do

  1. Verify session exists:

    • Read reviews/current.json. If missing, tell user: "No active session. Run /review-by-opp:start first."
  2. Determine review scope:

    • Check 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)
    • For 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."
    • For full-repo: skip the diff check - Codex reviews everything
  3. Increment round:

    • Update current_round in the ledger
  4. Write context file for Codex:

    • Write reviews/context.md so Codex has full project context despite being stateless. Include:
      • Project summary: what the project does (read from README or package.json description)
      • Tech stack: languages, frameworks, key dependencies
      • What changed this session: summary of changes made since session started (from git log/diff)
      • Previous findings (if round > 1): list all findings from prior rounds with their current status (open/fixed/etc), so Codex knows what was already flagged and can verify fixes
      • User notes: any message the user passed as arguments — could be concerns, questions, hints, or areas to investigate
    • Keep it concise — this is context, not a full dump. Aim for under 200 lines.
  5. Build the audit prompt:

    • Base prompt: instruct Codex to review the code for bugs, security issues, performance problems, and code quality
    • Always instruct Codex to first read reviews/context.md for project context and previous findings
    • For diff scope: include the git diff output in the prompt
    • For changed-files scope: include the full file contents of changed files
    • For full-repo scope: instruct Codex to read and review all source files in the repository
    • If the user provided arguments, include them verbatim as a user note to Codex. This can be anything — concerns ("I think the auth flow might be wrong"), questions ("is this SQL query safe?"), hints ("check the retry logic in worker.ts"), or general direction. Examples:
      • /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 way
    • Always instruct Codex to output findings in the format: FINDING: {"title":"...","severity":"...","category":"...","file":"...","line":...,"description":"...","suggested_fix":"..."}
  6. Run Codex review:

    • Execute Codex in auditor-only mode with a read-only sandbox:
      • Base form: npx @openai/codex exec --sandbox read-only "<audit prompt>"
      • If model override is configured, include --model <model>
      • If reasoning override is configured, include -c model_reasoning_effort=<effort>
    • Keep default behavior inherited when overrides are not configured.
    • Capture the full output
  7. Parse findings:

    • Extract lines starting with FINDING: and parse the JSON
    • For each finding, assign an ID like f-{round}-{short-uuid}
    • Set status to open
    • Deduplicate against existing findings (same file + title + category within 5 lines = duplicate)
  8. Update ledger:

    • Add new findings to reviews/current.json
    • Write round snapshot to reviews/rounds/round-{N}.json
    • Write summary to reviews/summaries/summary-{N}.json
  9. Run verification checks (if configured):

    • If rerunChecks is true in config, run available checks (test, lint, typecheck)
    • Report results

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 84 lines · 34 tokens per session scan A 16491c52ae36

Subscribe to this mod's changes

review-by-opp:review is a skill published in the GitHub repository akshan-main/review-by-opp (6 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 1,210 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.