| name | codex |
| description | Start an OpenAI Codex CLI session for deep reasoning and code analysis |
| user-invocable | true |
| allowed-tools | ["mcp__owlex__start_codex_session","mcp__owlex__resume_codex_session"] |
Codex Session
Start a Codex CLI session for deep reasoning, code review, and analysis.
Instructions
- Take the user's prompt from: $ARGUMENTS
- If no argument provided, ask what they want Codex to help with
- Determine if new or continuation:
- New topic: Use
start_codex_session
- Follow-up: Use
resume_codex_session
- Return immediately with the task_id
- Tell the user:
- "Codex started (task: <task_id>)"
- "Check results with:
/codex-result <task_id>"
Do NOT call wait_for_task. Return immediately.
Usage
/codex Explain how the auth flow works
/codex Find bugs in this function