| description |
|---|
Consult Codex AI with a question based on conversation context (user) |
You will consult another AI system (Codex) to get an additional perspective or answer.
Instructions:
-
Formulate the prompt - Based on our conversation context and the user's request, create a clear, self-contained prompt for Codex. The prompt should:
- Include all necessary context (don't assume Codex knows our conversation history)
- Be specific and well-structured
- Focus on getting a useful answer to help the user
-
Execute the query - Run the following command:
codex exec --dangerously-bypass-approvals-and-sandbox '<your-formulated-prompt>'
-
Present the response - Share Codex's response with the user, and optionally provide your own analysis or synthesis of the answer.
Important:
- Make sure to properly escape single quotes in the prompt (use
'\''or switch to double quotes if needed) - The prompt should be self-contained - Codex doesn't have access to our conversation
- Be thoughtful about what context is essential to include