ultragoal
它能做什么
这项技能管理由若干有顺序的子目标组成的一项大型工作,并保存进度记录。适合工作跨越多个会话或工作树、且不能丢失进度的人。
适用场景
- ✓当一项大任务有多个需要长期跟踪的有顺序子目标的时候。
- ✓当工作将跨越多个 Claude 会话或工作树继续进行的时候。
- ✓当你希望在任务被标记为完成之前检查最终的完成情况的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/ultragoal/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这次迁移有八个有顺序的子目标,需要好几个会话才能完成。请设置好,让进度被保存下来,我们可以从中断的地方继续。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把这些子目标写入项目内的计划和持久日志,并在开始、检查点和阻碍出现时进行记录。它会打印一份交接说明,让当前会话知道如何继续,并把完成状态放在验证之后。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
On plugin-only installs where omc is not on PATH, replace the omc prefix in
the commands below and in generated handoffs with oh-my-claudecode.js, or use
node <plugin-root>/bin/oh-my-claudecode.js.
Create a plan from a brief:
omc ultragoal create-goals --brief-file plan.mdOr with explicit stories:
omc ultragoal create-goals --brief "ship the migration" \ --goal "Schema::Add new columns" \ --goal "Backfill::Backfill rows in batches" \ --goal "Cutover::Drop old columns and switch reads"The default mode is
aggregate(one Claude/goalcovers the run). Pass--claude-goal-mode per-storyif you want each story to have its own/goal.Multi-repo workspaces / parallel sessions: when several Claude sessions in the same workspace need to run
/ultragoalconcurrently, pass either--plan-id <stable-id>or--auto-plan-idso the plan is written to.omc/ultragoal/plans/{planId}/instead of the shared single-plan path. Without that flag, two sessions creating goals would clobber each other.--auto-plan-idderives{epochMs}-{slug}from the brief title. Then thread the same--plan-id <id>through every subsequent subcommand in that session. Useomc ultragoal list-plansto enumerate available planIds when needed.Start (or resume) the next story:
omc ultragoal complete-goals [<goal-id>]With no goal id, this preserves the default behavior of resuming the active story or starting the first pending story. With a goal id, OMC targets exactly that named eligible story (a pending story may be started out of order); it never falls through to another story. An active different story, unknown id, completed or review-blocked story, or failed story without
--retry-failedis rejected without state mutation. An in-progress named story is resumed without changing its attempt. This prints a model-facing handoff. The active Claude agent must read it and:- Set the native Claude
/goalfor this session — in standalone Claude Code neither the shell nor the agent can do it, so ask the user to type/goal <aggregate objective>and wait.--claude-goal-json(below) reconciles the ledger only and does not satisfy the PreToolUse/goalguard, which blocks tool calls until it observes an active/goal. - Work the story.
- When the story is complete (and for the final story, after the full quality gate), share back a snapshot of the active
/goalstate and callcheckpoint.
- Set the native Claude
Checkpoint a story:
omc ultragoal checkpoint --goal-id G001-... --status complet
常见问题
它可以直接控制 Claude 的目标功能吗?
不可以。它保存文件并打印交接文字,由当前会话根据这些文字采取行动。
它适合小改动吗?
不适合。单个小改动更适合直接处理,或使用更简单的循环。
进度保存在哪里?
保存在项目内的一个文件夹中,是一个只追加的日志,会话重启后仍然保留。
详情
作者的原始描述
Durable multi-goal workflow that persists plan/ledger artifacts under .omc/ultragoal and prints Claude /goal handoff text for the active session
热度
- GitHub 星标
- 41k
- 排名
- #7030
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-doc-discipline
41k教你的智能体编写其他 AI 智能体能够独立遵循的说明,规则可以检验,并且每条规则都附有明确的理由。
ai-slop-cleaner
41k帮你的智能体整理 AI 写出的代码,这些代码能运行但臃肿或重复,在不改变其功能的前提下删除多余部分。
architecture-survey
41k帮你的智能体审查代码库的结构,列出越来越难修改的部分并附上证据,且自身不做任何更改。
ask-navigator
41k帮你的智能体把模糊的项目整理成一张清晰的决策问题图,然后逐个处理,直到路径变得清楚。