letitbk/cursor-setup/codex
Claude Code and agent skill by letitbk/cursor-setup
- community
Checking that the SKILL.md file is still in the repository.
Get code reviews and second opinions using OpenAI Codex CLI (GPT-5.3). Use for reviewing code changes, getting alternative perspectives on implementations, or validating approaches with another AI model.
Install
npx vskill@latest install letitbk/cursor-setup/codexSKILL.md
Codex Review & Second Opinion Skill
Use OpenAI's Codex CLI to get code reviews and second opinions. This provides an independent AI perspective using GPT-5.3 or o3 models.
When to Use This Skill
Trigger when user:
- Uses
/codexcommand explicitly - Asks for a "code review"
- Wants a "second opinion" on code or approach
- Says "review this", "check this code", "validate this"
- Asks "what do you think about this implementation"
- Wants to "double check" code changes
- Requests "another perspective" on code
Prerequisites
Codex CLI must be installed and authenticated:
Workflow
Step 1: Determine What to Review
ALWAYS ask the user what they want reviewed:
Use AskUserQuestion to clarify:
- Scope: What should be reviewed?
- Uncommitted changes (staged/unstaged)
- Specific file(s)
- Changes against a branch
- A specific commit
- General approach/implementation question
- Model: Which model to use?
gpt-5.3-codex- Fast, good quality (default)
Step 2: Execute Review
IMPORTANT: Always use `--full-auto` to avoid confirmation prompts.
Mode 1: Review Uncommitted Changes
Mode 2: Review Against Branch
Mode 3: Review Specific Commit
Mode 4: Second Opinion on Specific Files
Mode 5: General Second Opinion
Step 3: Save Output
After review completes, save output to markdown file:
- Location: Same directory as reviewed code or current working directory
- Filename pattern:
codex_review_YYYYMMDD_HHMMSS.md
Command Reference
Code Review Commands
Second Opinion Commands
Output Capture
Usage Examples
Example 1: Review Before Commit
Example 2: Second Opinion on Approach
Example 3: Compare with Main
Available Models
| Model | Best For | Speed | |
|---|---|---|---|
gpt-5.3-codex | General reviews, quick feedback | Fast | |
o3 | Deep analysis, complex reasoning | Slower |
AskUserQuestion Template
When triggered, ask:
Output Handling
- Use
-o filename.mdto save output directly (cleaner than tee) - Save to:
codex_review_YYYYMMDD_HHMMSS.mdin current directory - Report file location to user after completion
- Display key findings summary
Error Handling
| Error | Solution | |
|---|---|---|
| Not logged in | Run codex login | |
| Not in git repo | Use -C /path or --skip-git-repo-check | |
| Model not available | Fall back to gpt-5.3-codex | |
| Timeout | Try with smaller scope or faster model |
Tips
- Be specific: Provide context about what to focus on
- Review incrementally: Review smaller changes more frequently
- Custom instructions: Add focus areas like "security", "performance", "readability"
- Working directory: Codex needs to be run from the project directory
- Always use --full-auto: Prevents interactive confirmation prompts
Limitations
- Requires internet connection and OpenAI API access
- Rate limits may apply
- Large codebases may need scoped reviews
- Cannot review files outside git repository by default
Non-Git Directories
When running outside a git repository, use --skip-git-repo-check:
This is useful for:
- Reviewing standalone scripts
- Getting opinions on code snippets
- General programming questions
Alternative: Codex MCP Server
For tighter integration without shell overhead, Codex can run as an MCP server. See the codex-mcp MCP server configuration for native tool integration.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/codex/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/letitbk/cursor-setup/codex)