Skip to content
alinaqi avatar

Codex Review

Codex CLI code review using GPT-5.2-Codex with headless mode for CI/CD pipeline automation.

CCM score
52 of 100
skills.sh installs
296
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers interactive /review presets for base branches, uncommitted changes, specific commits, and custom instructions
  • Includes headless codex exec usage with JSON output, final-message capture, and a schema-validated findings format
  • Provides GitHub PR comment triggers, a GitHub Action, and GitLab CI/CD configuration examples
  • Designed for teams wanting specialized review automation inside existing CI pipelines, with Jenkins examples also included

Install

$ npx -y skills add alinaqi/maggy --skill codex-review -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

OpenAI Codex Code Review Skill

Use OpenAI's Codex CLI for specialized code review with GPT-5.2-Codex - trained specifically for detecting bugs, security flaws, and code quality issues.

Sources: Codex CLI | GitHub | Code Review Cookbook


Why Codex for Code Review?

FeatureBenefit
GPT-5.2-CodexSpecialized training for code review
88% detection rateBugs, security flaws, style issues (LiveCodeBench)
Structured outputJSON schema for consistent findings
GitHub native@codex review in PR comments
Headless modeCI/CD automation without TUI

Installation

Prerequisites

# Check Node.js version (requires 22+)
node --version

# Install Node.js 22 if needed
# macOS
brew install node@22

# Or via nvm
nvm install 22
nvm use 22

Install Codex CLI

# Via npm (recommended)
npm install -g @openai/codex

# Via Homebrew (macOS)
brew install --cask codex

# Verify installation
codex --version

Details

Repository
github.com/alinaqi/maggy
Categories
Code Review & Quality, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the codex-review skill do?

The codex-review skill runs OpenAI's Codex CLI for code review with GPT-5.2-Codex, aimed at finding bugs, security flaws and code quality issues. It covers interactive review in the Codex TUI, headless runs with codex exec, and CI/CD integration through GitHub Actions, GitLab CI and Jenkins.

Where does codex-review stand in the Code Review & Quality category?

codex-review sits in the Code Review & Quality category alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its distinct focus is routing review through OpenAI's Codex CLI, with structured JSON output and GitHub PR comment triggers.

How do I install codex-review?

Run npx -y skills add alinaqi/maggy --skill codex-review -y in a project to install the codex-review skill. After that, the agent can run Codex-powered reviews, including @codex review comments on pull requests.

What does codex-review need before it runs?

codex-review needs Node.js 22 or newer and the Codex CLI, installed with npm install -g @openai/codex. You authenticate either with a ChatGPT subscription or with an OPENAI_API_KEY environment variable.

More from alinaqi/maggy

All 54

Similar to Codex Review

More Code Review & Quality