ulw-loop
它能做什么
这个工具可以帮你把大型任务拆分成更小、更容易管理的步骤。它会确保每个步骤都正确完成,并在进入下一步之前提供工作的证据。
适用场景
- ✓你有一个大型项目,不知道从哪里开始时。
- ✓你需要确保工作有条理地完成,并经过检查时。
- ✓你想分阶段追踪复杂工作的进展时。
技能链接
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把创建网站的项目拆分成多个步骤,并在每个阶段设置检查点。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会先确定主要目标和成功标准。然后详细列出每个必要步骤,要求你在进入下一步之前,先证明当前阶段已经完成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ulw-loop
Use this skill when the user asks for ulw-loop, ulw, durable goal execution, evidence-led work, manual QA, or checkpointed long-running delivery.
This skill is intentionally compact. The full workflow lives in references/full-workflow.md. Read only the sections needed for the current phase, then execute them exactly.
Required First Steps
- Open
references/full-workflow.md. - Read through Bootstrap (including its tier triage), Execution Loop, the Manual-QA channels table, and the Stop Rules before running any ULW command or recording evidence.
- Open
references/define-goal.mdand register the run's goal by it. Goal creation is NEVER skipped: shape the objective and every success criterion by that reference before any implementation. - If the task has code edits, tests, QA, or commit work, follow the full workflow's delegation and evidence rules. Tests alone never prove done.
Non-Negotiables
- Use the ulw-loop CLI state under
.omo/ulw-loop; do not hand-edit goal state. - Register goals up front, shaped by
references/define-goal.md(omo-agent-toolkit ulw-loop create-goals, thencreate_goalfrom the printed handoff), and mirror every atomic step into the liveupdate_planchecklist: one ultra-granular step per action, exactly one in_progress, transitions marked the instant they happen. Use the ultrawork directive’s Task resources and todo rules; read those sections of the bundledultraworkskill if absent from context. - After any compaction or context loss, re-read brief + goals + ledger FIRST plus
omo-agent-toolkit ulw-loop status --json, then resume; never re-plan from scratch. - Every ulw-loop command needs the session scope: pass
--session-id <id>(the printed handoff and resume directive carry it;CODEX_THREAD_IDin the environment also resolves it). The CLI refuses unscoped state (ULW_LOOP_SESSION_SCOPE_REQUIRED) instead of touching the shared.omo/ulw-looproot. - If
omo-agent-toolkit ulw-loop create-goalssays this session's aggregate is already complete, start unrelated new work with a fresh--session-id <new-id>(passed on every later call) instead of steering or forcing the completed state. Use--forceonly to intentionally overwrite completed evidence. - Every success criterion needs observable evidence from a real surface: a channel (terminal/TUI via the xterm.js web terminal, HTTP, browser, computer-use) or, for CLI- or data-shaped criteria, an auxiliary surface (CLI stdout, DB diff, parsed config dump).
- Evidence is bound to the tree it was captured at (
git rev-parse --short "HEAD^{tree}"); it goes stale only when tracked content changes — a rebase or amend that keeps the tree identical keeps it valid. When the tree differs, re-run at the current HEAD and re-record, never relabel or regenerate. Record only after cleanup receipts exist. - Delegate code edits, test writes, fixes, and QA execution to right-sized Codex subagents when the workflow requires it.
- Every
spawn_agentmessage starts withTASK:, then namesDELIVERABLE,SCOPE, andVERIFY; put role and specialty instructions insidemessage; usefork_turns: "none"(v1:fork_context: false) unless full history is truly required. - Plan and reviewer agents may run for a long time; spawn them in the background and keep doing independent root work. Between
wait_agentcalls, back off — double the timeout up to ~5 minutes — instead of spinning short cycles. - For work likely to exceed one wait cycle, require the child to send
WORKING: <task> - <current phase>before long reading, testing, or review passes, andBLOCKED: <reason>only when it cannot progress. - Track spawned agent names locally. Use
wait_agentfor mailbox signals, not proof of completion. A timeout only means no new mailbox update arrived. Treat a running child as alive. - While children run, surface the active subagent count, agent names, and latest
WORKING:phase. - Fallback only when the child is completed without the deliverable, ack-only after
followup_task, explicitlyBLOCKED:, or no longer running. Then record inconclusive and respawn a smallerfork_turns: "none"task with the missing deliverable.
…
常见问题
工作的“证据”是什么?
能够证明某个步骤已完成的具体材料,例如代码片段、测试结果或截图。
我可以跳过某些步骤吗?
不可以。工具要求所有步骤都必须按顺序完成,并提供证明,以确保目标的质量和正确完成。
如果某个步骤无法完成怎么办?
工具允许你记录阻塞的原因,必要时还可以把任务进一步拆分成更小的部分,便于完成。
详情
作者的原始描述
A goal-like loop that decomposes work into systematic, evidence-bound ultrawork steps. Use when the user wants a goal loop or durable, checkpointed execution.
热度
- GitHub 星标
- 70k
- 排名
- #3117
- 许可证
- NOASSERTION
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
comment-checker
70k帮你的智能体理解并回应自动代码检查工具的反馈。适用于处理自动化代码或内容审查的结果。
lcx-contribute-bug-fix
70k帮你的智能体为 LazyCodex 相关项目贡献错误修复。它会创建 issue 或 pull request,保障代码质量。
lcx-doctor
70k让你的智能体检查 LazyCodex 和 Codex CLI 安装的健康状况。当系统在更新或改动后表现异常时很有用。
lcx-report-bug
70k帮你的智能体为 LazyCodex 项目详细报告 bug。它会创建包含有用信息的 issue,方便开发者定位并修复问题。