codex-code-review

Automate code review analyses with the Codex CLI on staged changes, files, directories, or GitHub PRs.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/ardenlab/claude-skills --skill codex-code-review-ardenlab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-code-review
Source: https://github.com/ardenlab/claude-skills/tree/main/codex-code-review
Command: npx skills add https://github.com/ardenlab/claude-skills --skill codex-code-review-ardenlab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the tedious, error-prone process of manually reviewing code changes by leveraging the OpenAI Codex CLI to analyze diffs, PRs, and files at scale.

Core Features & Use Cases

  • Automated, rule-based code review across staged changes, uncommitted changes, specific files, or entire directories, including diffs and PRs.
  • Focus areas include security, performance, architecture, and general code quality, with structured feedback and actionable recommendations.
  • Use cases include validating changes before merges, generating review reports for audit trails, and benchmarking code quality across repositories.

Quick Start

Prompt Codex to review the current code changes and output a structured review report.

Frequently Asked Questions about codex-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review for pull requests and staged changes?

Automate code review by applying the Codex CLI to analyze diffs, staged changes, and GitHub PRs. It evaluates security, performance, architecture, and general code quality, outputting structured reports or JSON for actionable feedback.

Can I focus automated code analysis on security and performance issues?

Yes, automated code analysis can target specific focus areas including security, performance, architecture, and general code quality. You can direct the Codex CLI to evaluate diffs and files specifically for these concerns.

Does automated code review work with GitHub pull requests and uncommitted diffs?

Yes, automated code review supports analyzing GitHub pull requests, uncommitted changes, staged changes, specific files, and entire directories. It processes these inputs to generate structured review reports or JSON outputs.

Do I need Codex CLI installed to run automated code reviews?

Yes, you need Codex CLI installed and authenticated to run automated code reviews. The tool leverages the CLI in headless --full-auto operation mode to analyze your code changes and produce reports.

What is the best way to generate structured review reports for audit trails?

Generate structured review reports for audit trails by running automated code analyses on your repositories using the Codex CLI. The tool outputs results in structured report or JSON formats suitable for benchmarking and auditing.