review-pr-codex

review-pr-codex is a skill for Codex from Magnus-Gille/claude-skills. It costs 40 tokens per session (377 once invoked), scanned A, original, MIT.

A command that asks the Codex command-line tool to review the changes on a code branch, such as the work proposed in a pull request.

In plain words
What is it for?
Use it to review the current branch or a numbered pull request, then fix reported issues or summarize them.
Why use it?
A separate model can spot problems or missed cases that the person who wrote the code may overlook.

Skill for Codex

Written for Codex: runs codex exec. Also seen: mentions Codex.

Good fit Use it to review the current branch or a numbered pull request, then fix reported issues or summarize them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnus-gille/claude-skills/review-pr-codex
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 Magnus-Gille/claude-skills --skill review-pr-codex
Clone the repo
git clone --depth 1 https://github.com/Magnus-Gille/claude-skills

Made for: Codex.

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-pr-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus-gille/claude-skills/review-pr-codex/github.svg)](https://agentmods.dev/skills/magnus-gille/claude-skills/review-pr-codex)
Your own site
<a href="https://agentmods.dev/skills/magnus-gille/claude-skills/review-pr-codex"><img src="https://agentmods.dev/badge/skills/magnus-gille/claude-skills/review-pr-codex/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-pr-codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnus-gille/claude-skills/review-pr-codex"><img src="https://agentmods.dev/badge/skills/magnus-gille/claude-skills/review-pr-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.00040 $0.00377
Opus 5 $0.00020 $0.00188
Sonnet 5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

review-pr-codex 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 5d 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.

codex/review-pr-codex/SKILL.md · 24 lines

What it actually says

Review PR With Codex

Perform this review directly in the current Codex session. Do not shell out recursively to codex exec unless the user explicitly requests a separate child Codex run.

Workflow

  1. Determine the scope.
    • For a PR number, run gh pr view <number> --json baseRefName,headRefName,title,url.
    • For a branch, resolve its intended base from the PR or remote metadata.
    • Without an argument, use the current branch's open PR when available; otherwise discover the remote default branch instead of assuming main. Stop clearly if no reliable base exists.
  2. Read the selected diff and nearby code in proportion to its size. Start with changed files, direct callers, and tests. Keep the review read-only.
  3. Review for bugs/regressions, security, API/doc/config drift, error paths, tests, and deployment or portal contracts when they are in scope.
  4. Present grounded findings first, ordered by severity, with file/line, evidence, impact, and a concrete fix. Say clearly when no findings are supported and include residual test gaps.
  5. If the user explicitly asks to fix findings, or the already-authorized task includes fixing them, implement them and run focused tests; otherwise do not modify, commit, merge, push, or post comments. The review process itself remains read-only.

Do not invent findings from names or conventions alone. Confirm the path is reachable and the claimed behavior is affected by the reviewed change.

This is a native Codex review in the current session, not Claude invoking an external Codex CLI process.

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. 5d ago Changed · -155 lines · -1 tokens per session 1d18624ceffb
  2. 12d ago First seen · 179 lines · 41 tokens per session scan A f97a0e4481fe

Subscribe to this mod's changes

review-pr-codex is a skill published in the GitHub repository Magnus-Gille/claude-skills (5 stars, last pushed 6d ago), licensed MIT. It adds 40 tokens to every session and 377 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.