Codex Result Handling

openai/codex-plugin-cc/plugins/codex/skills/codex-result-handling

作者 openaidb52e28f4d9ded852ab3942cea316258ae4ef346无许可证收录于 2026年10月9日更新于 2026年10月9日

Internal guidance for presenting Codex helper output back to the user

精选仅含说明AI & Agents
AI 生成的概览

用于将 Codex 助手输出原样呈现给用户的内部指引。

功能
该技能提供内部且不可由用户调用的指引,用于把 Codex 助手的输出转达给用户。它要求保留助手的结论、摘要、发现和后续步骤,按严重程度排列审查发现,并原样保留报告的文件路径、行号和证据边界。它还规定了如何处理失败或格式错误的运行、安装或身份验证提示,以及 Codex 所做的修改。
适用场景
当 Codex 助手返回需要呈现给用户的输出时使用,尤其是审查发现或救援运行。当智能体需要关于如何报告失败、缺少安装或修改的规则,而不是自行处理结果时,也适用。
运行要求
无需脚本或特殊工具,仅为指引内容。它假定已有 Codex 助手可用,并可能引用用于身份验证的安装命令。

Codex Result Handling

When the helper returns Codex output:

  • Preserve the helper's verdict, summary, findings, and next steps structure.
  • For review output, present findings first and keep them ordered by severity.
  • Use the file paths and line numbers exactly as the helper reports them.
  • Preserve evidence boundaries. If Codex marked something as an inference, uncertainty, or follow-up question, keep that distinction.
  • Preserve output sections when the prompt asked for them, such as observed facts, inferences, open questions, touched files, or next steps.
  • If there are no findings, say that explicitly and keep the residual-risk note brief.
  • If Codex made edits, say so explicitly and list the touched files when the helper provides them.
  • For codex:codex-rescue, do not turn a failed or incomplete Codex run into a Claude-side implementation attempt. Report the failure and stop.
  • For codex:codex-rescue, if Codex was never successfully invoked, do not generate a substitute answer at all.
  • CRITICAL: After presenting review findings, STOP. Do not make any code changes. Do not fix any issues. You MUST explicitly ask the user which issues, if any, they want fixed before touching a single file. Auto-applying fixes from a review is strictly forbidden, even if the fix is obvious.
  • If the helper reports malformed output or a failed Codex run, include the most actionable stderr lines and stop there instead of guessing.
  • If the helper reports that setup or authentication is required, direct the user to /codex:setup and do not improvise alternate auth flows.

来源与署名

来源:openai/codex-plugin-cc位于plugins/codex/skills/codex-result-handling提交db52e28

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架