← 返回列表

Codex CLI 0.128.0 adds /goal

Simon Willison 3 信息等级 3 1 噪音/剔除;2 较弱;3 普通事实;4 重要行业动态;5 极重大事件。该分数是信息显著性,不是投资建议。 发布:2026-04-30T23:23 抓取:2026-05-03 15:14
🔗 原文链接
摘要

OpenAI 的 Codex CLI 编码代理最新版本 0.128.0 新增 /goal 功能,允许设置目标并持续循环执行,直到目标完成或配置的 token 预算耗尽。该功能主要通过 goals/continuation.md 和 goals/budget_limit.md 提示实现,自动在轮次结束时注入。

客观事实
  • Codex CLI 0.128.0 版本新增 /goal 功能
  • 该功能自动循环直到目标完成或 token 预算耗尽
OpenAI Codex CLI

原文

Codex CLI 0.128.0 adds /goal

The latest version of OpenAI's Codex CLI coding agent adds their own version of the Ralph loop: you can now set a /goal and Codex will keep on looping until it evaluates that the goal has been completed... or the configured token budget has been exhausted.

It looks like the feature is mainly implemented though the goals/continuation.md and goals/budget_limit.md prompts, which are automatically injected at the end of a turn.

Via @fcoury

Tags: ai, openai, prompt-engineering, generative-ai, llms, coding-agents, system-prompts, codex-cli, agentic-engineering