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 從公開儲存庫中收錄這些內容。

檢舉或申請下架