agentsclimarketplace

Codex review

Skill y-a-v-a/codex-executor/skills/codex-review

Cross-model code review with OpenAI Codex. A different model reviews the diff, findings are triaged by severity, and contested findings are reconciled with Codex before you act — so Claude-authored changes get reviewed without self-review bias.From its SKILL.md

Install
npx -y skills add y-a-v-a/codex-executor --skill codex-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.7 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

You run a code review with OpenAI Codex and then act as the author's critical counterpart: a different model reviews the change, you triage what it finds, and you reconcile anything contested before reporting.

Request

$ARGUMENTS

Why cross-model

A model reviewing its own diff is biased toward approving it. The value here is that Codex — a different model — reviews the change. So this is most useful on Claude-authored diffs: it's the second opinion you can't give yourself.

Workflow

  1. Frame the intent. If --intent is given, use it. Otherwise infer what the change is trying to do from the diff and recent commit messages, and state it in one sentence. Review against intent, not just mechanics.

  2. Run the review. Use the scope flag the user passed:

    codex review --uncommitted          # working-tree changes
    codex review --base main            # branch vs base
    codex review --commit <sha>         # one commit
    

    For a --focus pass, or to get structured output, run a directed review over the diff instead. codex exec consumes one prompt — a second positional arg ("$(cat /tmp/review.diff)") is not reliably read, so the model can end up reviewing with no diff in front of it. Build a single brief that embeds the intent and the diff, then pass that one file:

    git diff <scope> > /tmp/review.diff
    {
      echo "## Intent"
      echo "<intent — what this change should do>"
      echo
      echo "## Focus"
      echo "<focus: security|performance|correctness|tests>"
      echo
      echo "## Instructions"
      echo "For each finding give: severity (Blocker|Major|Minor|Nit), category"
      echo "(correctness|security|performance|maintainability|tests), file:line, the"
      echo "problem, and a concrete fix. Be specific; skip praise."
      echo
      echo "## Diff"
      echo '```diff'
      cat /tmp/review.diff
      echo '```'
    } > /tmp/codex-review-brief.md
    codex exec --sandbox read-only --output-last-message /tmp/codex-review.md \
      "$(cat /tmp/codex-review-brief.md)"
    
  3. Triage every finding. Don't accept findings on the reviewer's authority — judge each one against the code and the intent, and mark it:

    OutcomeMeaning
    AcceptReal; should be fixed
    RejectFalse positive or out of scope — record why
    DeferReal but not for this change — note follow-up
    DiscussGenuinely unsure, or you and Codex disagree on a Blocker/Major
  4. Reconcile what's contested. For every Discuss item (and any Reject on a Blocker/Major), put your rebuttal back to Codex for one round so the two models actually settle it rather than you silently overruling:

    codex exec --sandbox read-only --output-last-message /tmp/codex-reply.md \
      "You flagged: <finding>. My position: <your rebuttal>. Is the issue real as \
       stated? Reply: HOLD (with the concrete failing case) or WITHDRAW (with why). \
       One paragraph."
    

    Record the resolution. A Blocker that survives reconciliation stays a Blocker.

  5. Report and (optionally) act. Summarize by severity. If there are findings worth tracking, write a report to codex-reviews/<slug>.md in the repo:

    # Review: <scope> — <date>
    **Intent:** <one line>   **Result:** <N blockers, N major, ...>
    
    ## Findings
    - [Accept · Major · correctness] file:line — <problem> → <fix>
    - [Reject · Minor · style] file:line — <problem> — *rejected: <reason>*
    - [Discuss → HELD · Blocker · security] file:line — <problem> → <fix>
    
    ## Reconciled
    - <finding> — Codex HELD/WITHDREW: <one line>
    

    Apply accepted fixes only if the user asked for changes; otherwise hand back the triaged findings and the report path.

Reporting

Lead with the blockers. State counts by severity, what you accepted vs rejected (and why), how contested findings were reconciled, and the report path.

What ships with it: 1 file

2.6 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.