ulw-loop
Makes your agent execute tasks continuously and organized. It's useful for long jobs that need saving and resuming, ensuring steady progress.
What it does
This tool helps break down large tasks into smaller, manageable steps. It ensures each step is done correctly and provides evidence of work before moving to the next.
When to use it
- ✓When you have a large project and don't know where to start.
- ✓When you need to ensure work is done in an organized way with checks.
- ✓When you want to track the progress of complex work in stages.
Example of what to ask your AI
“Break down the project of creating a website into steps, with checks at each stage.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool first defines the main goal and success criteria. Then, it details each necessary step, requiring you to prove each stage is complete before proceeding to the next.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add code-yeongyu/oh-my-openagent --skill ulw-loopOr download just the file:
curl -L https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from 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.
…
FAQ
What is 'evidence' of work?
Concrete proof that a step is completed, such as a code snippet, a test result, or a screenshot.
Can I skip any steps?
No, the tool requires all steps to be followed and proven to ensure the quality and correct completion of the goal.
What happens if I can't complete a step?
The tool allows you to record the reason for the blockage and, if necessary, can break the task into even smaller parts to facilitate completion.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 70k
- Ranking position
- #1722
- License
- NOASSERTION
- Updated
- 10/16/2026
Comments
- …
More skills from this repository
comment-checker
Helps your agent understand and respond to feedback from automatic comment checkers. It's useful when the agent needs to process information from tools that automatically review code or content.
code-yeongyu/oh-my-openagent
lcx-contribute-bug-fix
Helps your agent contribute bug fixes for LazyCodex-related projects. It creates issues or pull requests to ensure code quality.
code-yeongyu/oh-my-openagent
lcx-doctor
Lets your agent check the health of LazyCodex and Codex CLI installations. It's useful when the system behaves oddly after updates or changes.
code-yeongyu/oh-my-openagent
lcx-report-bug
Helps your agent report bugs in detail for LazyCodex projects. It creates issues with useful information for developers to fix the problem.
code-yeongyu/oh-my-openagent
Similar skills
agent-architecture-audit
Makes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
affaan-m/ECC
agent-eval
Helps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
affaan-m/ECC
agent-harness-construction
Makes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
affaan-m/ECC