ultragoal
它能做什么
这个技能把一份大型简报转化为一系列目标,并按顺序完成。适合需要长期项目持续推进、保持方向的人。
适用场景
- ✓当一个大型项目应该拆分成多个目标并按顺序完成的时候。
- ✓当你希望保存进度,让长时间运行的工作在休息后能够继续的时候。
- ✓当你想在开始任何工作前,把简报细化为目标计划的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/ultragoal/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这份产品简报拆分成一系列目标,然后逐个完成。”
每周 5 个新技能,1 分钟读完。
工作原理
它会根据你的描述创建一个简报文件、一个目标文件和一个进度日志。然后按顺序完成各个目标,每完成一个就检查一次状态,直到全部完成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Ultragoal Workflow
When to use
Use for ultragoal, create-goals, complete-goals, durable multi-goal planning, or sequential execution over Codex /goal. Read AGENTS.md#durable-runtime-invariants-canonical-ssot for state ownership and goal-tool boundaries.
Inputs and preconditions
- Durable artifacts are
.omx/ultragoal/brief.md,.omx/ultragoal/goals.json, and.omx/ultragoal/ledger.jsonl. - New plans use aggregate Codex goal mode by default: one stable pointer objective for the plan while OMX tracks individual stories. Use
--codex-goal-mode per-storyonly when explicitly requested. - Do not call
/goal clearfrom shell or this skill. After a completed run, the operator may clear the interactive Codex goal in the Codex UI before another same-thread run.
Operational steps: create
Run one command, then inspect the generated plan:
omx ultragoal create-goals --brief "<brief>"
omx ultragoal create-goals --brief-file <path>
cat <brief> | omx ultragoal create-goals --from-stdin
omx ultragoal create-goals --codex-goal-mode per-story --brief "<brief>"
If refinement is needed, use explicit supported steering rather than editing durable artifacts by hand.
Operational steps: execute
Repeat until omx ultragoal status reports all goals complete:
- Run
omx ultragoal complete-goalsand read its handoff. - Call
get_goal. Callcreate_goalwith the printed payload only when no active Codex goal exists; otherwise continue the matching aggregate objective. - Complete one OMX story and audit its objective against real artifacts and verification evidence.
- For intermediate aggregate stories, keep the Codex goal active and checkpoint:
omx ultragoal checkpoint --goal-id <id> --status complete --evidence "<evidence>" --codex-goal-json <fresh-get-goal-json-or-path> - For a blocked/failed story, use
--status blocked|failedwith evidence; resume failed work withomx ultragoal complete-goals --retry-failed. - On the final story, complete the final gate below before
update_goal({status: "complete"}); then callget_goalagain and checkpoint the fresh complete snapshot.
Explicit steering
Use evidence-backed directives only when the decomposition must change:
omx ultragoal steer --kind add_subgoal --title "<title>" --objective "<objective>" --evidence "<evidence>" --rationale "<reason>" --json
omx ultragoal steer --directive-json ./steering.json --json
Supported kinds: add_subgoal, split_subgoal, reorder_pending, revise_pending_wording, annotate_ledger, and mark_blocked_superseded. Ordinary prose does not mutate the plan; repeated structured directives dedupe.
Phase/HUD handoff
At standalone activation, declare the smallest accurate phase (planning, executing, verifying, reviewing, checkpointing, or blocked):
omx state write --input '{"mode":"ultragoal","active":true,"current_phase":"planning"}' --json
Inside Autopilot, keep the parent mode active and set current_phase:"ultragoal"; persist Ultragoal evidence under handoff_artifacts.ultragoal before a code-review handoff. Mark standalone Ultragoal complete only when every durable goal is complete.
Optional Team bridge
For parallel story execution, use the separate Team command. The leader records the Ultragoal checkpoint with a fresh get_goal snapshot; see the Team skill for the bridge details.
Final gate and exit evidence
Before final completion:
- Run targeted story verification.
- Run
ai-slop-cleaneron changed files, then rerun verification. - Audit every architecture/domain invariant from the brief/spec/accepted steering against implementation, test, and review evidence.
- Run
$code-reviewthrough independentcode-reviewerandarchitectlanes. If review or invariant proof is not clean, do not update the Codex goal; record durable blockers:omx ultragoal record-review-blockers --goal-id <id> --title "Resolve final code-review blockers" --objective "<objective>" --evidence "<findings>" --codex-goal-json <active-get-goal-json-or-path> - If clean, call
update_goal({status: "complete"}), callget_goal, and checkpoint with--quality-gate-jsoncontaining cleaner, verification, review, and architecture-invariant evidence.
Report goal ids/statuses, ledger/checkpoint paths, fresh goal snapshot evidence, review verdicts, and any blocker. Never claim completion from OMX state alone.
常见问题
进度保存在哪里?
保存在一个 ultragoal 文件夹中,包括目标文件和已完成步骤的记录。
之后可以修改计划吗?
可以。你可以使用支持的命令细化计划,而不必手动编辑文件。
一次运行完成后,我需要在界面中清除目标吗?
需要的话,在同一个对话中开始下一次运行之前,你可以自行清除交互式目标。
详情
作者的原始描述
Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
repo: Yeachan-Heo/oh-my-codex
热度
- GitHub 星标
- 34k
- 排名
- #8426
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …