codex-review-workflow

codex-review-workflow is a skill for Codex from daffy0208/ai-dev-standards. It costs 53 tokens per session (2,740 once invoked), scanned A, original, MIT.

A workflow for having OpenAI Codex CLI review code, suggest fixes, and repeat the checks until the code passes or reaches a set limit. A CLI is a program used through a command window.

In plain words
What is it for?
Use it after implementing features to run automated validation and iterative fix-and-review cycles in a Git repository, which is a project tracked with version control.
Why use it?
It helps catch bugs, security problems, and quality issues without relying on a single manual review.

Skill for Codex

Written for Codex: runs codex exec. Also seen: names the TodoWrite tool; mentions Codex.

Good fit Use it after implementing features to run automated validation and iterative fix-and-review cycles in a Git repository, which is a project tracked with version control.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daffy0208/ai-dev-standards/codex-review-workflow
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 daffy0208/ai-dev-standards --skill codex-review-workflow
Clone the repo
git clone --depth 1 https://github.com/daffy0208/ai-dev-standards

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 codex-review-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/codex-review-workflow.svg)](https://agentmods.dev/skills/daffy0208/ai-dev-standards/codex-review-workflow)
Your own site
<a href="https://agentmods.dev/skills/daffy0208/ai-dev-standards/codex-review-workflow"><img src="https://agentmods.dev/badge/skills/daffy0208/ai-dev-standards/codex-review-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,740 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.00053 $0.02740
Opus 5 $0.00026 $0.01370
Sonnet 5 $0.00011 $0.00548
Haiku 4.5 $0.00005 $0.00274

Measured 8d ago against content hash 48df13af1d66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

codex-review-workflow 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 8d 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/codex-review-workflow/SKILL.md · 371 lines

How it starts

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

Codex Review Workflow

Overview

Automated code review workflow using OpenAI Codex CLI. Implements iterative fix-and-review cycles to ensure code quality through automated validation.

Use when: Building features that require automated code review, iterative refinement cycles, or validation against specific quality standards using Codex CLI.

When to Use This Skill

Use this skill when:

  • User explicitly requests Codex CLI review (e.g., "Review this with Codex")
  • Implementing features that require automated code validation
  • Building code that must meet specific quality standards
  • Iterative review and refinement is needed
  • Validating security, bugs, and best practices automatically

Skip this skill when:

  • User only wants manual code review
  • Codex CLI is not available in the environment
  • Task is purely exploratory or research-based
  • Simple code that doesn't require formal review

Prerequisites

  • Codex CLI installed and available on PATH
  • Git repository (or use --skip-git-repo-check flag)
  • Verify installation: codex --version

Core Workflow

This skill follows a structured 6-step process:

1. Complete the Coding Task

Implement the user's requested feature using standard best practices. Ensure code is well-structured before submitting for review.

Track progress with TodoWrite:

  • Implement the requested feature/fix
  • Run initial Codex CLI review
  • Fix issues found in review (if any)
  • Run final Codex CLI review
  • Report final status

2. Run Initial Codex CLI Review

Git requirement: Codex CLI requires a git repository. If not in a git repo, run git init first, or use --skip-git-repo-check flag (not recommended for production).

Execute Codex CLI review using codex exec (NOT codex review):

# For a specific file
codex exec "Review the code in <file_name> for bugs, security issues, best practices, and potential improvements. Provide specific, actionable feedback with line numbers and examples."

# For multiple files
codex exec "Review the files auth.py, user.py, and session.py for bugs, security issues, best practices, and potential improvements. Provide specific feedback for each file."

# With working directory context
codex exec "Review the code in email_validator.py for bugs, security issues, best practices, and potential improvements. Provide specific feedback." -C /path/to/project

# With specific model
codex exec "Review <file_name>..." -m gpt-5-codex

# With custom configuration
codex exec "Review <file_name>..." -c model="o3"

Read the full file on GitHub · 371 lines

Files

What ships with it

1 file 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. 8d ago First seen · 371 lines · 53 tokens per session scan A 48df13af1d66

Subscribe to this mod's changes

codex-review-workflow is a skill published in the GitHub repository daffy0208/ai-dev-standards (36 stars, last pushed 8mo ago), licensed MIT. It adds 53 tokens to every session and 2,740 once invoked, about $0.0003 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-30.