A Claude Code slash command for delegating tasks to OpenAI Codex CLI.
# Clone to your preferred location
git clone git@github.com:claude-commands/command-codex.git <clone-path>/command-codex
# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-codex/codex.md ~/.claude/commands/codex.md/codex analyze this codebase for security vulnerabilities
| Model | Best For |
|---|---|
gpt-5.1-codex-max |
Complex, long-running tasks (can run 24+ hours) |
gpt-5.1-codex |
Fast, balanced performance |
gpt-5-codex-mini |
Simple tasks, cost-efficient |
| Level | Use Case |
|---|---|
low |
Quick responses |
medium |
Daily driver (default) |
high |
Complex problems |
xhigh |
Maximum thinking |
| Mode | Description |
|---|---|
read-only |
Analysis only (default) |
workspace-write |
Can edit files |
danger-full-access |
Full system access |
- Codex CLI installed
- OpenAI API access
cd <clone-path>/command-codex && git pull