← ClaudeAtlas

codelisted

Send code changes from the current session to OpenAI Codex CLI for review. Codex reviews the diff for bugs, security, performance, and quality.
LuD1161/codex-review-skill · ★ 7 · AI & Automation · score 64
Install: claude install-skill LuD1161/codex-review-skill
# Codex Code Review (Iterative) Review code changes made in the current Claude Code session by sending them to OpenAI Codex. Claude and Codex iterate until the code passes review. Max 5 rounds. --- ## When to Invoke - When the user runs `/codex-review:code` after making code changes - When the user wants Codex to review their implementation before committing ## Agent Instructions When invoked, perform the following: ### Step 1: Generate Session ID ```bash REVIEW_ID=$(uuidgen | tr '[:upper:]' '[:lower:]' | head -c 8) ``` Use this for all temp file paths: `/tmp/claude-code-${REVIEW_ID}.md` and `/tmp/codex-code-review-${REVIEW_ID}.md`. ### Step 2: Gather Changed Files Identify all files changed in the current session: 1. Run `git diff` (unstaged) and `git diff --cached` (staged) to get the full diff of changes. 2. Run `git diff --name-only` and `git diff --cached --name-only` to get the list of changed files. 3. Also check `git status` for any new untracked files that were created in this session. If there are no changes detected, ask the user which files or changes they want reviewed. ### Step 3: Build Review Context Write a review document to `/tmp/claude-code-${REVIEW_ID}.md` containing: ```markdown # Code Review Request ## Changed Files - [list of changed files with brief description of what each does] ## Intent [Summarize the purpose of these changes based on the conversation context -- what was the user trying to accomplish?] ## Diff [Full git diff outpu