From external-review
Send code changes to OpenAI Codex for external review. Use when the user asks to "review code with codex", "codex code review", "have codex review these changes", "codex review my diff", or wants Codex to review uncommitted changes or specific files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/external-review:codex-review-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Send code changes to Codex CLI for an independent code review. Codex has a built-in `review` subcommand optimized for this.
Send code changes to Codex CLI for an independent code review. Codex has a built-in review subcommand optimized for this.
Parse the user's request to determine what to review:
--base <branch>.--commit <sha>.If there are no uncommitted changes and no specific scope was given, fall back to reviewing the last commit with --commit HEAD.
Use a 5-minute Bash timeout (300000ms) for all commands.
For uncommitted changes:
codex exec review --uncommitted --ephemeral -o /tmp/codex-code-review.md
For branch comparison:
codex exec review --base <branch> --ephemeral -o /tmp/codex-code-review.md
For a specific commit:
codex exec review --commit <sha> --ephemeral -o /tmp/codex-code-review.md
For specific files:
cat <file1> <file2> ... | codex exec --ephemeral -o /tmp/codex-code-review.md \
"Review this code for:
- Bugs and logic errors
- Security vulnerabilities (injection, overflow, resource leaks)
- Design issues and code smells
- Missing error handling
- Performance concerns
Be specific. Reference line numbers and function names in your feedback."
Read /tmp/codex-code-review.md and present the review to the user.
Format the output with a clear header:
## Codex Code Review
<review content>
Clean up the temp file:
rm -f /tmp/codex-code-review.md
codex login)Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub ecjx/ecjx-claude-plugin --plugin external-review