Get a review of the current plan or code from Codex CLI
Gets an external code review from Codex CLI and implements selected suggestions.
/plugin marketplace add jescalan/claude-skill-codex-review/plugin install jescalan-codex-review@jescalan/claude-skill-codex-reviewGet an external code review from Codex CLI and optionally implement the suggested changes.
When this command is invoked:
Determine what should be reviewed by checking (in order of priority):
git diff and git diff --staged to see uncommitted changesCollect all relevant content into a coherent review request.
Create a prompt for Codex that includes the content to review:
You are reviewing code/plans created by another AI assistant. Provide constructive, actionable feedback.
## Content to Review
[INSERT GATHERED CONTEXT HERE]
## Review Focus
Please analyze and provide feedback on:
- Potential bugs or issues
- Security concerns
- Performance improvements
- Code structure and readability
- Missing edge cases
- Better alternative approaches
Format your response as a numbered list of specific, actionable suggestions.
Execute the review using Codex CLI's non-interactive mode:
# For longer content, use stdin piping
cat << 'REVIEW_PROMPT' | codex exec -
[your formatted prompt here]
REVIEW_PROMPT
Capture the output from stdout.
Display Codex's review to the user clearly, then use the AskUserQuestion tool to ask:
"Which of Codex's suggestions would you like me to implement?"
Provide options based on the numbered suggestions from Codex, plus an "All of them" option and a "None" option.
Based on the user's selection:
For each implementation, explain what change is being made and why.
codex and following the login prompts"