Delegate investigation, an explicit fix request, or follow-up rescue work to the Codex rescue subagent
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-codex-plugin-cc-9238b8abdbb4 ,按照其中的说明把「rescue」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Invoke the codex:codex-rescue subagent via the Agent tool (subagent_type: "codex:codex-rescue"), forwarding the raw user request as the prompt.
codex:codex-rescue is a subagent, not a skill — do not call Skill(codex:codex-rescue) (no such skill) or Skill(codex:rescue) (that re-enters this command and hangs the session). The command runs inline so the Agent tool stays in scope; forked general-purpose subagents do not expose it.
The final user-visible response must be Codex's output verbatim.
Raw user request: $ARGUMENTS
Execution mode:
--background, run the codex:codex-rescue subagent in the background.--wait, run the codex:codex-rescue subagent in the foreground.--background and --wait are execution flags for Claude Code. Do not forward them to task, and do not treat them as part of the natural-language task text.--model and --effort are runtime-selection flags. Preserve them for the forwarded task call, but do not treat them as part of the natural-language task text.--resume, do not ask whether to continue. The user already chose.--fresh, do not ask whether to continue. The user already chose.node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task-resume-candidate --json
available: true, use AskUserQuestion exactly once to ask whether to continue the current Codex thread or start a new one.Continue current Codex threadStart a new Codex threadContinue current Codex thread (Recommended) first.Start a new Codex thread (Recommended) first.--resume before routing to the subagent.--fresh before routing to the subagent.available: false, do not ask. Route normally.Operating rules:
Bash call to invoke node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task ... and return that command's stdout as-is./codex:status, fetch /codex:result, call /codex:cancel, summarize output, or do follow-up work of its own.--effort unset unless the user explicitly asks for a specific reasoning effort.spark, map it to gpt-5.3-codex-spark.--resume and --fresh in the forwarded request. The subagent handles that routing when it builds the task command./codex:setup.