Agent skill · software engineering · daffy0208
codex-review-workflow
Automated code review workflow using OpenAI Codex CLI. Implements iterative fix-and-review cycles until code passes validation or reaches iteration limit. Use when building features requiring automated code validation, security checks, or quality assurance through Codex CLI.
Why this skill is useful
Adds an executable automation script for iterative code review and validation using Codex CLI, which is not commonly found in public documentation.
What it needs
Requires codex installed locally. About 7k tokens when loaded. Last updated 2025-12-25. 33 stars on the source repository.
What this skill does
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): Key points: Be specific in prompts about what to review Request line numbers and specific examples Use appropriate timeout (120000ms = 2 minutes recommended) 3. Analyze Review Results Codex CLI returns structured markdown output with variable formats. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daffy0208/codex-review-workflow