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
- •New topic: Use
- •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