Ask Codex (Async)
Send the user’s request to Codex asynchronously.
Execution (MANDATORY)
Bash(cask <<'EOF'
$ARGUMENTS
EOF
, run_in_background=true)
CRITICAL Rules
- Always use
run_in_background=true. - After running
cask, say “Codex processing...” and immediately end your turn. - Do not wait for results or check status in the same turn.
Notes
- If it fails, check backend health with
cping, or start it withccb up codex. - For short 1-liners you can also do:
Bash(cask "…", run_in_background=true)(but prefer heredoc for arbitrary text). - For a more complete pattern (including heredoc/multiline):
../docs/async-ask-pattern.md