What it does
This internal skill passes requests from Claude Code's codex:codex-rescue subagent to Codex through the helper script codex-companion.mjs. It runs task exactly once and returns the standard output unchanged. It handles diagnosis, planning, research, and fix requests, and maps options such as continuing a conversation, starting a fresh run, or selecting a model into execution arguments.
When it helps
Use it when the handoff from Claude Code to Codex needs a consistent process. It distinguishes continuing a previous request from starting a new one. A model or reasoning effort is specified only when the user explicitly asks for it.
Example requests
Examples of requests for the dedicated subagent:
- “Read only: find the cause of this bug.”
- “Use
--resume to continue the previous task.”
- “Use
--fresh to start a new investigation.”
Notes
This skill has user-invocable: false and is used only within codex:codex-rescue. It calls a helper script with Node.js. Runs are write-capable by default; read-only mode is used when requested, and adjustments are made for review, diagnosis, or research that does not involve edits. If execution fails, the specified behavior is to return nothing.
This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.