# Codex目标功能使用指南与架构设计解析

- 来源：Greg Brockman (@gdb)
- 发布时间：2026-05-19 01:44
- AIHOT 分数：69
- AIHOT 链接：https://aihot.virxact.com/items/cmpbiq35t17ptslnzm2d49jk4
- 原文链接：https://x.com/gdb/status/2056430780809892252

## AI 摘要

如何在 Codex 中使用 /goal —— 让 Codex 持续执行一个明确目标直至解决：

[引用 @derrickcchoi]：我的同事撰写了一篇关于在 Codex 中使用 Goals 的精彩文章。

他们介绍了何时使用 Goals、激活 Goals 时会发生什么变化，以及如何编写能为 Codex 提供明确结果、约束和验证标准的 Goals。

如果你感兴趣，文章还介绍了我们在架构层面如何设计 Goals。

https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex

## 正文

how to use /goal in codex - keep Codex working on a persistent objective until it's solved：

### 引用推文

> Derrick Choi：My colleagues wrote up a great post on using Goals in Codex. They go through when to use them, what changes when a Goal is active, and how to write Goals that g...
