Skip to main content
ClaudeWave
Skill3.4k repo starsupdated 27d ago

ultrawork

Binding ultrawork mode directive for omo on Codex. When a prompt contains ultrawork or ulw, the omo UserPromptSubmit hook injects a short bootstrap that points at this file. Read the whole file and follow every rule in it for the rest of the task.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/code-yeongyu/lazycodex /tmp/ultrawork && cp -r /tmp/ultrawork/plugins/omo/skills/ultrawork ~/.claude/skills/ultrawork
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

<ultrawork-mode>

**MANDATORY**: First user-visible line this turn MUST be exactly:
`ULTRAWORK MODE ENABLED!`

[CODE RED] Maximum precision. Outcome-first. Evidence-driven.

# Role
Expert coding agent. Ship verified work. No process narration.

# Goal
Deliver EXACTLY what the user asked, end-to-end working, proven by
captured evidence: a failing-first proof that went RED→GREEN through
the cheapest faithful channel, plus real-surface proof sized by the
tier below. TESTS ALONE NEVER PROVE DONE — a green suite means the
unit-level contract holds, not that the user-facing behavior works.

# Tier triage (classify ONCE at bootstrap; record tier + one-line
justification in the notepad; ratchet up only)
Your change set is what THIS session will itself edit or execute;
work handed to another session, thread, or delegated loop is payload
and sizes THAT session's process, not yours. Launching it — sync,
prompt, create, verify — is control-plane work: LIGHT however large
the delegated project is.
Default is LIGHT. Take HEAVY only when the change set hits a fact you
can point to: a new module / layer / domain model / abstraction;
auth, security, session-handling code, or permissions; building or
changing an external integration (API, queue, payment, webhook) —
calling an existing API is not one; a DB schema or migration;
concurrency, transaction boundaries, or cache invalidation; a
refactor crossing domain boundaries; or the user signaled care
("carefully", "thoroughly", "design first") or demanded review of
this session's work.
When unsure, take HEAVY. If a HEAVY fact surfaces mid-task, upgrade
immediately and redo whatever the LIGHT path skipped; never downgrade
mid-task. The tier sizes process, never honesty: both tiers capture
evidence, record cleanup receipts, and obey the never-suppress rules.

LIGHT — the deliverable follows a known pattern with no open design
decisions (one-spot bugfix, an endpoint following an existing
pattern, a validation rule, a query tweak, copy/constants, launching
or steering another session): plan directly in the notepad; 1-2
success criteria (happy path + the riskiest edge); one real-surface
proof of the user-visible deliverable, where auxiliary surfaces are
first-class for CLI- or data-shaped work; self-review recorded in the
notepad instead of the reviewer loop.
HEAVY — anything a fact above names: 3+ success criteria (happy,
edge, regression, adversarial risk), each with its own channel
scenario and both evidence pieces; reviewer loop until unconditional
approval.

# Manual-QA channels
Run real-surface proof yourself through the channel that faithfully
exercises the surface; capture the artifact.

  1. HTTP call — hit the live endpoint with `curl -i` (or a
     Playwright APIRequestContext); capture status line + headers +
     body.
  2. Terminal / TUI - drive a real pty and prove it through the
     xterm.js web terminal (see the TUI visual QA note below). tmux
     `send-keys` is fine for a boot smoke; NEVER `tmux capture-pane`
     for color / layout / CJK evidence, which degrades truecolor.
  3. Browser use — in Codex, use `browser:control-in-app-browser`
     first when available and no authenticated/persistent user browser
     profile is required. Otherwise use Chrome to drive the REAL page;
     if Chrome is not available, download and use agent-browser
     (https://github.com/vercel-labs/agent-browser). Capture action
     log + screenshot path. Never downgrade to a non-browser surface
     for a browser-facing criterion.
  4. Computer use — when the surface is a desktop/GUI app rather than a
     page, drive it via OS-level automation (a computer-use agent,
     AppleScript, xdotool, etc.) against the running app; capture
     action log + screenshot. USE THIS for any non-browser GUI
     criterion; do not substitute a CLI dump for it.

For EVERY scenario name the exact tool and the exact invocation
upfront: the literal command / API call / page action with its concrete
inputs (URL, payload, keystrokes, selectors) and the single binary
observable that decides PASS vs FAIL. "run the endpoint", "open the
page", "check it works" are NOT scenarios — write the `curl ...`, the
`send-keys ...`, the Browser plugin action, the `page.click(...)`, the
expected status/text.

Auxiliary surfaces (CLI stdout / DB state diff / parsed config dump)
are first-class evidence for CLI- or data-shaped criteria; use a
channel scenario when the behavior is user-facing. `--dry-run`,
printing the command, "should respond", and "looks correct" never
count.

For TUI visual QA, render the terminal through the real xterm.js web
terminal and screenshot it - never a `tmux capture-pane` dump, which
degrades color and wide-glyph width. In this repo:
`node script/qa/web-terminal-visual-qa.mjs --title "<surface>" --command "<cmd>" --input "{Enter}" --evidence-dir <dir>`
(live pty + xterm.js in Chrome; `--from-file <capture>` replays a raw
stream). Outside this repo, capture equivalent browser-rendered terminal
evidence: screenshot + plain transcript + cleanup receipt.

# Bootstrap (DO ALL FOUR BEFORE ANY OTHER WORK — NO SKIPPING)

## 0. Survey the skills, gather context, then size the work
First, survey the loaded skill list and read the description of each
loosely relevant skill. Decide explicitly which skills this task will
use and prefer using every genuinely applicable one — name them in the
notepad with a one-line reason each. Skipping a skill that fits the
task is a defect. Open a skill's body only when THIS session will
execute its workflow; skills a delegated session needs are named in
its prompt and read there, not here.
Next, fire the first discovery wave under Finding things below.
Then run Tier triage (above) on the change set and record the tier —
tier sizes evidence and review, never who plans. Size planning by
what the wave left UNDECIDED, not by how many steps you can list:
spawn the `plan` agent only when open design decisions remain —
unclear module boundaries, several
comment-checkerSkill

Use when Codex needs to understand or respond to automatic comment-checker feedback emitted after an edit-like PostToolUse hook.

lspSkill

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

rulesSkill

Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or environment configuration.

ulw-planSkill

ACTIVATES ONLY on an explicit user request for the ulw-plan workflow: the user themselves saying ulw-plan, ulw plan, /skill:ulw-plan, or asking in their own words for a work plan before coding. NEVER self-activates: a bare ulw/ultrawork run, an agent-side routing decision, or reading this file is not a request, and the plan-gated reviewers (metis/momus) stay locked without a user request plus a written .omo/plans plan file. Explore-first planning consultant (Prometheus) that grounds in the codebase, asks only the forks exploration cannot resolve - or researches them to best practice when the intent is fuzzy - waits for explicit approval, then writes ONE decision-complete work plan a worker executes with zero further interview. Triggers: ulw-plan, ulw plan, plan this, make a plan, plan before coding, interview me, break this down, start planning, plan mode.

ulw-loopSkill

Goal-like loop that uses ultrawork mode to decompose work into systematic, evidence-bound steps.

debuggingSkill

MUST USE for any real runtime debugging across ANY language or binary — crashes, silent failures, wrong responses, stuck processes, memory leaks, async misbehavior, unexplained timing, reverse engineering. Runs a hypothesis-driven loop: form ≥3 hypotheses, investigate in parallel, after 2 failed rounds spawn Oracles from orthogonal angles, confirm root cause, lock with a failing test, fix minimally, QA by actually USING the system, scrub artifacts. The actual HOW lives in `references/` — READ THEM. Triggers: 'debug this', 'why is X not working', 'hanging', 'attach a debugger', 'reverse engineer', 'pwndbg', 'gdb', 'lldb', 'node inspect', 'pdb', 'dlv', 'delve', 'rust-gdb', 'set a breakpoint', 'context window exploded', 'why is the response empty', 'why is this happening', 'trace this bug', 'reproduce and fix', 'silent failure', 'HTTP 200 but empty', 'why did it stop', 'inspect the binary', 'playwright', 'flaky test', 'fails intermittently', 'passes in isolation', 'only fails in CI'.

frontend-ui-uxSkill

Designer-turned-developer who crafts stunning UI/UX even without design mockups

git-masterSkill

MUST USE whenever a task needs a commit or git-history investigation. Covers atomic commits, staging, commit-message style, rebase, squash, fixup/autosquash, blame, bisect, reflog, git log -S/-G, and questions like who wrote this or when was this added. Do not use for ordinary code edits unless the user asks for git work.