agentleFS
jaansokkjaansokk/cursor_tools/.cursor/skills/codex-review/SKILL.md

codex-review

Skill1 starsChanged 9 months agoMITView on GitHub

Run code reviews with the Codex CLI, prioritizing bugs, regressions, security risks, and missing tests. Use when the user asks for code review, PR review, diff review, or commit-range review via codex.

48 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, advocate and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.

    Also in 3 projects that use this

  • ryanportfolioSkill

    advocate

    Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.

    Also in 3 projects that use this

  • +10 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 42 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this whenever the user asks to:

    line 16
  2. Distinctive:

    Run a second-opinion review focused on correctness and risk

    line 19
  3. Very specific:

    If the user explicitly wants to try a high-reasoning alias anyway, attempt it once and fall back to gpt-5.3-codex if unavailable.

    line 32
  4. Distinctive:

    Ask Codex for a risk-focused review (not a style nit pass).

    line 44
  5. Distinctive:

    Always call out test gaps and regression risk if coverage is unclear.

    line 46
  6. Distinctive:

    Prefer high-signal issues over broad commentary.

    line 91
  7. Distinctive:

    If no material issues are found, state that explicitly and list residual risks.

    line 94

“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex Review

When to use this skill

Use this whenever the user asks to:

  • Review local changes, staged changes, or a commit range
  • Review a branch or pull request with Codex CLI
  • Run a second-opinion review focused on correctness and risk

Default model

  • Default to gpt-5.3-codex.
  • Baseline command:
codex -m gpt-5.3-codex
  • Current docs recommend gpt-5.3-codex as the default coding model.
  • A separate gpt-5.3-codex-high slug is not documented in the public model list.
  • If the user explicitly wants to try a high-reasoning alias anyway, attempt it once and fall back to gpt-5.3-codex if unavailable.

Review workflow

  1. Scope the review target first:
    • working tree (git diff)
    • staged only (git diff --staged)
    • commit range (git diff <base>...<head>)
  2. Gather context:
    • git status --short
    • git log --oneline -n 20
    • relevant diff output
  3. Ask Codex for a risk-focused review (not a style nit pass).
  4. Return findings ordered by severity, with concrete file/symbol references and suggested fixes.
  5. Always call out test gaps and regression risk if coverage is unclear.

Command templates

A) Review current local changes (interactive)

codex -m gpt-5.3-codex "Review the current repository changes.
Focus on correctness bugs, behavioral regressions, security issues, and missing tests.
Ignore low-value style nits.
Return findings ordered by severity with file paths and concise fix suggestions."

B) Review staged diff (non-interactive)

codex -m gpt-5.3-codex -q "$(cat <<'EOF'
Review the staged git diff in this repository.
Prioritize:
1) correctness and logic flaws,
2) behavioral regressions,
3) security concerns,
4) missing/weak tests.

Output format:
- Severity: Critical/High/Medium/Low
- File: path
- Issue: short title
- Why it matters
- Suggested fix
EOF
)"

C) Optional model override with fallback

MODEL="gpt-5.3-codex-high"
codex -m "$MODEL" -q "Review current changes for bugs, regressions, security, and missing tests." \
  || codex -m gpt-5.3-codex -q "Review current changes for bugs, regressions, security, and missing tests."

Review quality bar

  • Findings first; no long preamble.
  • Prefer high-signal issues over broad commentary.
  • Include exact failure mode or scenario whenever possible.
  • Mark uncertain points as assumptions.
  • If no material issues are found, state that explicitly and list residual risks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.