codex-code-review

Automate code reviews of local diffs, PRs, files, and directories with Codex CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates comprehensive code reviews for local repositories using the Codex CLI to inspect diffs, PRs, files, or directories.

Core Features & Use Cases

  • Supports reviewing staged changes, unstaged changes, specific files, entire directories, or GitHub PR diffs.
  • Produces structured reviews with severity levels, actionable remediation steps, and issue summaries.
  • Useful for security audits, performance analysis, architecture reviews, and automated quality feedback in CI/CD.

Quick Start

Run codex to review the staged git changes in full-automation mode and generate a structured report with prioritized findings.

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 reviews for local git diffs and staged changes?

Automated code review of local git diffs and staged changes is handled by inspecting the repository with Codex CLI. The tool analyzes the changes and produces structured feedback with prioritized security, performance, and maintainability insights.

Can I run a security audit and performance analysis on specific files or directories?

Security audits and performance analysis can be run on specific files, entire directories, or GitHub PR diffs. The review generates prioritized reports with actionable remediation steps and issue summaries based on the inspected code.

What is the best way to generate structured code review reports for CI/CD pipelines?

Structured code review reports for CI/CD pipelines are generated by running Codex CLI in full-automation mode. This process inspects repository changes and outputs prioritized findings with severity levels and actionable remediation guidance.

Do I need any external dependencies to review GitHub PR diffs locally?

No external dependencies are required to review GitHub PR diffs locally. The Skill operates independently using the Codex CLI to inspect diffs and generate structured review feedback without additional packages.

Does automated code review work with both staged and unstaged repository changes?

Automated code review works with both staged and unstaged repository changes. The Codex CLI inspects the current state of the local repository and produces structured, prioritized reports covering security, performance, and maintainability.

How does Codex CLI prioritize issues in automated code review reports?

Codex CLI prioritizes issues in automated code review reports by assigning severity levels to findings. It categorizes insights into security, performance, and maintainability domains, providing actionable remediation steps and issue summaries.