# Codex /goal 怎麼用

> 📖 本站完整內容索引（documentation index）：[llms.txt](/llms.txt)

> 原作者：Vox (@Voxyz_ai) · 策展與摘要：EasyVibeCoding · 平台：X (Twitter) · 熱度：🔥🔥🔥 · 日期：2026-08-24

> 原始來源：https://x.com/Voxyz_ai/status/2091603024817062192

## 證據與延伸閱讀

- [Codex `/goal` 怎麼用？五套長期任務工作流程。](https://learn.chatgpt.com/docs/developer-commands) — 官方文件 · 最後核對：2026-08-24 · 支持主張：Adds concrete prompt workflows and safety constraints: verify skill availability, map up to 20 primary nodes, measure before changing performance, revert ineffective changes, forbid destructive actions in workspace triage, and back up and audit Codex configuration. The docs distinguish persistent /goal controls from the /skills picker.
- [Codex /goal workflow and five workspace-audit prompts — @voxyz_ai](https://x.com/voxyz_ai/status/2091603026842701830) — 一手來源 · 最後核對：2026-08-24 · 支持主張：Adds concrete prompt workflows and safety constraints: verify skill availability, map up to 20 primary nodes, measure before changing performance, revert ineffective changes, forbid destructive actions in workspace triage, and back up and audit Codex configuration. The docs distinguish persistent /goal controls from the /skills picker.
- [Codex /goal workflow and five workspace-audit prompts — @voxyz_ai](https://x.com/voxyz_ai/status/2091603028734279760) — 一手來源 · 最後核對：2026-08-24 · 支持主張：Adds concrete prompt workflows and safety constraints: verify skill availability, map up to 20 primary nodes, measure before changing performance, revert ineffective changes, forbid destructive actions in workspace triage, and back up and audit Codex configuration. The docs distinguish persistent /goal controls from the /skills picker.
- [Codex /goal workflow and five workspace-audit prompts — @voxyz_ai](https://x.com/voxyz_ai/status/2091603030634291283) — 一手來源 · 最後核對：2026-08-24 · 支持主張：Adds concrete prompt workflows and safety constraints: verify skill availability, map up to 20 primary nodes, measure before changing performance, revert ineffective changes, forbid destructive actions in workspace triage, and back up and audit Codex configuration. The docs distinguish persistent /goal controls from the /skills picker.
- [Codex /goal workflow and five workspace-audit prompts — @voxyz_ai](https://x.com/voxyz_ai/status/2091603032450465971) — 一手來源 · 最後核對：2026-08-24 · 支持主張：Adds concrete prompt workflows and safety constraints: verify skill availability, map up to 20 primary nodes, measure before changing performance, revert ineffective changes, forbid destructive actions in workspace triage, and back up and audit Codex configuration. The docs distinguish persistent /goal controls from the /skills picker.
- [Codex /goal workflow and five workspace-audit prompts — @voxyz_ai](https://x.com/voxyz_ai/status/2091603034438778987) — 一手來源 · 最後核對：2026-08-24 · 支持主張：Adds concrete prompt workflows and safety constraints: verify skill availability, map up to 20 primary nodes, measure before changing performance, revert ineffective changes, forbid destructive actions in workspace triage, and back up and audit Codex configuration. The docs distinguish persistent /goal controls from the /skills picker.
- [Codex /goal 轉化任務](https://x.com/Voxyz_ai/status/2091603024817062192)

## 中文摘要

Codex `/goal` 怎麼用？五套長期任務工作流程。

**功能邊界** OpenAI [官方文件](https://learn.chatgpt.com/docs/developer-commands) 將 `/goal` 定義為管理持久任務目標的指令，可設定、編輯、暫停、恢復、檢視或清除目標；`/skills` 則是把已安裝技能選入下一次請求的選擇器。文件支持長時間工作的流程，但沒有證實 @Voxyz_ai 首則提示詞提到的三個第三方技能一定已經附帶或隨時可用，因此應先檢查，缺少時也要人工核對原始來源再安裝。

**五組工作流程** @Voxyz_ai 在 [原始貼文](https://x.com/Voxyz_ai/status/2091603024817062192) 與回覆中提供完整 `/goal` 提示詞：

- UI/UX 稽核：確認三個具名設計技能是否可用，啟動真實網站、測試核心流程，修正視覺與動態問題，重跑流程，最後交付前後截圖與未解決事項。
- 互動式程式庫地圖：瀏覽器首屏最多呈現 20 個主要節點，整理模組、服務、資料庫、相依性、資料流與測試，並在 `docs/codemap` 產出 HTML、JSON 和 lock 等檔案。
- 效能改善：先量測載入時間、回應性、CPU、記憶體與卡頓基準；每次只做一項變更，重跑相同流程，無法帶來可量化改善就還原。
- 工作區整理：為每個專案建立卡片，分類為保留、完成、合併、封存或刪除候選，完成價值最高的三項未完成工作；同時明確禁止刪除、合併、推送與部署。
- Codex 設定稽核：先備份並檢查 `AGENTS.md`、技能、自訂 Agent、指令、外掛、MCP 伺服器與自動化，再減少重複及過時設定，產出可點選的工具包地圖。

**實務意義** 五組提示詞分別把網站稽核、程式庫地圖、效能改善、工作區整理與 Codex 設定稽核拆成具體步驟。效能流程要求先量基準、逐項修改，沒有量化改善就還原；工作區整理則明確排除破壞性操作。這些寫法可作為長期 Agent 任務的流程範本，但是否真的降低執行偏離仍需實測。至於配額即將重設前「不用就浪費」的說法，是 Voxyz_ai 的使用策略，不是 OpenAI 的配額政策。

## 標籤

Codex, 功能更新, Skills, OpenAI, Codex
