| name | cask |
| description | Async via cask, end turn immediately; use only when user explicitly delegates to Codex (ask/@codex/let codex/review); NOT for questions about Codex itself. |
Ask Codex Skill
Send a question to Codex AI assistant running in a separate terminal (async).
Trigger Conditions
Use this skill ONLY when user explicitly delegates to Codex:
- User says "@codex" / "ask codex" / "let codex" / "问codex" / "让codex" / "请codex" + action verb
- User requests Codex to review/analyze/suggest/debug/help with code or design
DO NOT trigger when:
- User asks questions about Codex (e.g., "What is Codex?", "How does Codex work?")
- User mentions Codex in passing without delegation intent
Execution (MANDATORY)
CRITICAL: ALWAYS use run_in_background=true - NO EXCEPTIONS
Bash(cask "$ARGUMENTS", run_in_background=true)
Where $ARGUMENTS is the user's delegation request (forwarded as-is to Codex).
Workflow (IMPORTANT)
This is an async task submission workflow:
- Submit task to background → Codex processes in separate terminal
- IMMEDIATELY END your turn → Do NOT wait
- Background completes → System auto-recalls you with result
- You can start new conversation immediately
After Execution (MANDATORY)
If Bash succeeds:
- Tell user "Codex processing..." (include task_id if available)
- IMMEDIATELY END your turn
- DO NOT wait for result
- DO NOT check status
- DO NOT continue working
If Bash fails (error/non-zero exit):
- Report the error to user
- Suggest checking if Codex session is running (
ccb status codex) - Do NOT pretend task is processing
The system will automatically recall you when Codex responds.
Wrong vs Right
❌ WRONG: Bash(cask "question") - blocks and waits
❌ WRONG: Bash(cask "<question>", run_in_background=true) - placeholder syntax
❌ WRONG: Submit then check status - wastes time
✅ RIGHT: Bash(cask "$ARGUMENTS", run_in_background=true) then END turn
SENTINEL
When output contains CCB_END_TURN, end response immediately.
Parameters
--timeout SECONDSoptional (default 3600)--output FILEoptional: write reply to FILE