codex-code-review

codex-code-review is a skill for Claude Code, Codex from NickCrew/Claude-Cortex. It costs 85 tokens per session (2,425 once invoked), scanned A, original, MIT.

A workflow for having Codex review code, group findings by severity, fix the most urgent problems, and repeat the review until the result is acceptable.

In plain words
What is it for?
Use it to review uncommitted changes or a commit, fix critical findings, and record lower-priority improvements for later work.
Why use it?
It turns code review into a tracked fix-and-check process, so serious correctness and security issues are less likely to remain unresolved.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to review uncommitted changes or a commit, fix critical findings, and record lower-priority improvements for later work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nickcrew/claude-cortex/codex-code-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 NickCrew/Claude-Cortex --skill codex-code-review
Clone the repo
git clone --depth 1 https://github.com/NickCrew/Claude-Cortex

Made for: Claude Code, 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 codex-code-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nickcrew/claude-cortex/codex-code-review"><img src="https://agentmods.dev/badge/skills/nickcrew/claude-cortex/codex-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,425 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.00085 $0.02425
Opus 5.5 $0.00034 $0.00970
Sonnet 5.5 $0.00017 $0.00485
Haiku 4.5 $0.00009 $0.00243

Measured 1mo ago against content hash 0962c3b0ffc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-code-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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/parse_codex_review.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/codex-code-review/SKILL.md · 265 lines

How it starts

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

Codex Code Review Loop

Overview

This skill orchestrates the complete remediation workflow for code under review by the codex agent. It handles:

  • Requesting reviews from codex using the codex --full-auto c CLI
  • Parsing review output to identify P0 (security/correctness), P1 (reliability), P2-P4 (quality) findings
  • Remediating critical issues through up to 3 review-fix-review cycles
  • Deferring quality improvements to backlog with implementation plans and origin:ai-review labels
  • Monorepo handling for selective file commits when working alongside other agents
  • Circuit breaker escalation after 3 cycles if P0/P1 issues persist

When to Use

Trigger this skill when code requires codex review. Common usage patterns:

  • "codex review this code" — Initiate review loop on current changes
  • "run codex review on my changes" — Same as above
  • "codex review --uncommitted" — Review all uncommitted changes
  • "codex review --commit " — Review specific commit in monorepo
  • Questions about codex (e.g., "how does codex work?") — Do not trigger this skill; answer directly

Do not trigger on questions. Only activate for direct review requests.


The Review Loop: Step by Step

ENTRY: User requests codex review or skill is triggered by "codex review" in a message

┌──────────────────────────┐
│ 1. INVOKE CODEX REVIEW   │ ← Run: codex --full-auto c [--uncommitted|--commit <SHA>|--base <BRANCH>]
└──────┬───────────────────┘   Output goes to .agent/reviews/review-<timestamp>.md
       │
       ▼
┌──────────────────────────┐
│ 2. READ & PARSE REVIEW   │ ← Read markdown file, extract P0/P1/P2-P4 findings and verdict
└──────┬───────────────────┘
       │
       ├─────────────────────────────────────────┐
       │                                         │
       ▼                                         ▼
  ANY P0/P1?              NO         FILE P2-P4 ISSUES → Exit loop
       │                              (via backlog CLI)
       │ YES                         Create issue per finding with
       │                             - label: origin:ai-review
  ┌────────────────┐                - Implementation plan
  │ 3. REMEDIATE   │                - Priority (P2 or P3)
  │ P0/P1 FINDINGS │
  └────┬───────────┘
       │ (amend commit or new changes)
       │
       ▼
  ┌──────────────────────┐
  │ 4. LOOP CHECK        │
  │ Cycle count < 3?     │
  └────┬───────────────┬─┘
       │ YES           │ NO
       │               └─→ SUMMARIZE & ASK USER TO CONTINUE
       │                   (or exit if user declines)
       ▼
  Re-run codex review (step 1, same files/scope)
  Loop back to step 2

Read the full file on GitHub · 265 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 265 lines · 85 tokens per session scan A 0962c3b0ffc7

Subscribe to this mod's changes

codex-code-review is a skill published in the GitHub repository NickCrew/Claude-Cortex (56 stars, last pushed 3mo ago), licensed MIT. It adds 85 tokens to every session and 2,425 once invoked, about $0.0003 per session on Opus 5.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-09-03.