Skip to content
Agentmart
Submit a tool

ulw-loop

Ultrawork loop v2 — phase machine explore→implement→verify, hard DONE gate, progress logs.

Skill by Kyou12138

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kyou12138-ulw-loop

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Ultrawork loop v2 — phase machine explore→implement→verify, hard DONE gate, progress logs. /ulw-loop, ultrawork, or mid-sentence ulw.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ulw-loop

What's inside

Skill name
ulw-loop
Description
Ultrawork loop v2 — phase machine explore→implement→verify, hard DONE gate, progress logs. /ulw-loop, ultrawork, or mid-sentence ulw.
License
MIT
Instructions
111 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Ultrawork / ULW Loop v2

## Start

```
/ulw-loop "ship the feature end-to-end"
ultrawork 重构登录
fix flaky tests ulw
```

Also: `/ultrawork`, `/ulw`, bare or **mid-sentence** `ulw` / `ultrawork`.

## Opening ceremony / 开场仪式 (required)

When ULW **starts** (or you re-enter an active ULW session), treat the first reply as a **ritual**, not a casual ack.

Hook inject + disk: `.omg/ulw-loop/CEREMONY.md` (survives if inject is dropped).

**Hard gates:**

| Gate | Since | Behavior |
|------|-------|----------|
| **PreTool ceremony** | v1.1.58 | Write / Edit / mutating shell **denied** until opener seen |
| **PreTool explore** | v1.1.63 | After ceremony, mutates still **denied** until at least one Read (未 explore 不写) |
| **Stop** | v1.1.49 | Skip opener → `CEREMONY INCOMPLETE` / 开场仪式未完成;loop 保持;DONE 被拦 |
| **DONE evidence** | v1.1.63 | implement writes required unless task is **research-only**;stall×3 escalate / ×5 critical |

### Required first message shape

```text
ULTRAWORK MODE ENABLED!

Goal: <restate the task in one line>

Then begin **explore** immediately (Read / search / spawn explore).
```

Chinese opener alternative (整行其一即可):

```text
ULTRAWORK 模式已启动!
```

### Ritual steps

1. **Line 1** — exactly `ULTRAWORK MODE ENABLED!` or `ULTRAWORK 模式已启动!` (no prefix/suffix/fence)
2. **Line 2** — one-line goal restatement
3. **From paragraph 3** — enter **explore** with concrete tools; no pure status chatter
4. **Only after ceremony** — Write / implement / mutating shell

【誓词 OATH】未 explore 不写 · 未 verify 不 DONE · 未仪式不开工

禁止:`ok` / `继续` / `好的` · 跳过开场 · 先写后喊 · 未 VERIFIED 就 DONE

Motto: **开始。推巨石。不得空转。** 🔔 鸣锣开场

## Phases (state machine)

| Phase | You must |
|-------|----------|
| **explore** | Search/Read codebase (spawn `explore`). Record findings. |
| **implement** | Write code (spawn `hephaestus` if deep). |
| **verify** | Run tests/lint/typecheck. |

Hooks advance phases from Read/Write activity.

## DONE gate (hard)

`<promise>DONE</promise>` is **rejected** unless:

1. Explore evidence (Reads)  
2. Implement evidence (Writes) — unless pure research task with writes=0 already past implement  
3. Verify: `<promise>VERIFIED</promise>` **or** diagnostics clean / tests passed  
4. No incomplete todos  
5. No failing `diagCommand` errors  

Recommended finish:

```
<promise>VERIFIED</promise>
<promise>DONE</promise>
```

## Artifacts

| Path | Content |
|------|---------|
| `.omg/ralph-loop.local.md` | Human-readable loop state |
| `.omg/ulw-loop/state.json` | Machine state (phase, stalls) |
| `.omg/ulw-loop/log/iter-NNN-*.md` | Per-iteration audit log |

## Stall (omo-aligned escalation + circuit)

| stallCount | Stop signal |
|------------|-------------|
| 1–2 | STALL DETECTED — change strategy |
| ≥3 | STALL ESCALATED — must spawn explore/oracle or run real verify |
| ≥5 | STALL CRITICAL — narrow scope / report blocker; no fluff |
| ≥ **maxUlwStall** (default **8**) | **STALL CIRCUIT OPEN** — loop **auto-cancelled** (todo-stagnation style) |

Config: `.omg/config.json` `"maxUlwStall": 8` or env `OMG_MAX_ULW_STALL` (`0` = never auto-cancel).

Shell (e.g. `npm test`) counts as progress. Research/audit tasks set `researchOnly` at start (implement writes optional).

## Cancel

```
/cancel-ralph
```

From Kyou12138/oh-my-grok, MIT.

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Jul 17, 2026 (3 months ago)
Last release
Jul 16, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Kyou12138

Cite this page

ulw-loop skill. Agent Mart. https://agentmart.dev/skills/kyou12138-ulw-loop (last updated 2026-10-24)