ulw-loop

ulw-loop is a skill for Codex from code-yeongyu/lazycodex. It costs 37 tokens per session (2,095 once invoked), scanned A, original, MIT.

A workflow for breaking large goals into smaller, checkable steps and continuing work through recorded checkpoints. It is intended for long-running coding tasks that need evidence and manual quality checks.

In plain words
What is it for?
Use it for durable multi-step implementation, testing, quality assurance, and delivery work that needs checkpoints and explicit stop conditions.
Why use it?
It makes progress visible and reduces the chance that tests or partial work are mistaken for a finished result.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

Good fit Use it for durable multi-step implementation, testing, quality assurance, and delivery work that needs checkpoints and explicit stop conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/code-yeongyu/lazycodex/ulw-loop
About the project

LazyCodex is an agent harness for working on complex codebases, combining project memory, planning, execution, and completion checks inside Codex. It is for developers who want structured, repeatable assistance when handling substantial software projects. The catalogue contains the skills, hook, and MCP integration that provide its workflow inside Codex.

code-yeongyu/lazycodex · 3,960 stars · on GitHub · lazycodex.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add code-yeongyu/lazycodex --skill ulw-loop
Clone the repo
git clone --depth 1 https://github.com/code-yeongyu/lazycodex

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ulw-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/code-yeongyu/lazycodex/ulw-loop/github.svg)](https://agentmods.dev/skills/code-yeongyu/lazycodex/ulw-loop)
Your own site
<a href="https://agentmods.dev/skills/code-yeongyu/lazycodex/ulw-loop"><img src="https://agentmods.dev/badge/skills/code-yeongyu/lazycodex/ulw-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ulw-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/code-yeongyu/lazycodex/ulw-loop"><img src="https://agentmods.dev/badge/skills/code-yeongyu/lazycodex/ulw-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.02095
Opus 5.5 $0.00015 $0.00838
Sonnet 5.5 $0.00007 $0.00419
Haiku 4.5 $0.00004 $0.00210

Measured yesterday against content hash 1b320371e060, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ulw-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/omo/components/ulw-loop/skills/ulw-loop/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on 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

  1. Open references/full-workflow.md.
  2. 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.
  3. Open references/define-goal.md and 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.
  4. 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, then create_goal from the printed handoff), and mirror every atomic step into the live update_plan checklist: 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 bundled ultrawork skill 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_ID in the environment also resolves it). The CLI refuses unscoped state (ULW_LOOP_SESSION_SCOPE_REQUIRED) instead of touching the shared .omo/ulw-loop root.
  • If omo-agent-toolkit ulw-loop create-goals says 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 --force only 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_agent message starts with TASK:, then names DELIVERABLE, SCOPE, and VERIFY; put role and specialty instructions inside message; use fork_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_agent calls, 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, and BLOCKED: <reason> only when it cannot progress.
  • Track spawned agent names locally. Use wait_agent for 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, explicitly BLOCKED:, or no longer running. Then record inconclusive and respawn a smaller fork_turns: "none" task with the missing deliverable.
  • Use git for git-tracked edits: inspect recent and touched-path commit history, then commit each verified work unit atomically in the repository's observed language, scope, and message style with only that unit's files staged. Never carry verified units into a later omnibus commit. Then push, open the PR, wait for CI and merge with the github skill.

Read the full file on GitHub · 75 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 1b320371e060
  2. 20d ago Changed 604b89c59991
  3. 1mo ago Changed ed31c6f0c2f1
  4. 2mo ago Changed · +6 lines · +13 tokens per session 45b06df164ed
  5. 3mo ago First seen · 69 lines · 24 tokens per session scan A 615f11ab07bf

Subscribe to this mod's changes

ulw-loop is a skill published in the GitHub repository code-yeongyu/lazycodex (3,960 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 2,095 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ulw-loop compared with skills from other repositories

ulw-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ulw-loopcode-yeongyu/lazycodexSkill4.0kyesterdayMITA37Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
interviewHmbown/CodeWhaleSkill41kyesterdayMITA40Claude Code, Codex
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
recipe-create-meet-spacegoogleworkspace/cliSkill33k5d agoApache-2.0A18Claude Code, Codex
printing-press-importmvanhorn/cli-printing-pressSkill5.1ktodayMITA104Claude Code
atmos-validationcloudposse/atmosSkill1.4ktodayApache-2.0A31Claude Code