Codex Code Review
Delegate code reviews to OpenAI Codex for detailed analysis.
When to Use
- Code quality review
- Pull request analysis
- Refactoring suggestions
- Security vulnerability detection
- Best practices compliance
How to Use
For file review:
codex review < path/to/file.py
For inline code:
echo "code here" | codex review
For specific task:
codex exec "review this code for security issues: <code>"
Integration
The Codex CLI is pre-authenticated and ready to use. Results will be returned and summarized for the user.
Example Workflow
- User asks: "Review my changes in src/main.py"
- Read the file content
- Pipe to
codex review - Summarize the findings for user