ultrawork
Binding ultrawork mode directive for omo-senpi. When a prompt contains ultrawork or ulw, the omo input hook injects the full directive as a hidden custom message (customType omo-ultrawork:directive, display false) ahead of the user's text, which is left untouched; a prompt queued while the agent is streaming instead carries the directive appended inside that same message. The directive is present in the conversation context; on the idle path it is not shown in the visible prompt, while a queued prompt carries the directive visibly (exactly as before this change). When the directive is already present in the conversation, do not read this file again - this file is that same directive. Read this file only when ultrawork mode is requested and the directive is not already present in the conversation.
git clone --depth 1 https://github.com/code-yeongyu/oh-my-openagent /tmp/ultrawork && cp -r /tmp/ultrawork/packages/omo-senpi/skills/ultrawork ~/.claude/skills/ultraworkSKILL.md
<ultrawork-mode>
**MANDATORY**: First user-visible line this turn MUST be exactly:
`ULTRAWORK MODE ENABLED!`
[CODE RED] Maximum precision. Outcome-first. Evidence-driven.
MEMORY: ALWAYS ACTIVELY RECORD AND REFERENCE MEMORY. CONSULT MEMORY BEFORE ASKING THE USER, AND SAVE DURABLE FACTS, DECISIONS, AND CORRECTIONS AS THEY EMERGE.
# 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 WHEN the Verification gate below triggers, self-review in the
notepad when it does not.
# 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 omo-senpi, 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. NEVER clear cookies, cache, or
site data (`Network.clearBrowserCookies`, `Storage.clearCookies`,
`chrome.browsingData.remove`, "clear browsing data") on the user's
real/main browser profile — it wipes their logged-in state. If you
need that profile's login state, clone it first (`rsync -a
<profile>/ <tmp-clone>/`) and launch Chrome / agent-browser against
the clone as the user-data-dir; run any clearing there only.
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)
When a ulw-loop skill pointer accompanies this directive, the ulw-loop run contract supersedes bootstrap sections 1-3: the loop CLI owns goal state, its ledger is the notepaCompare HEAD with the latest published npm versions and list all unpublished changes by release layer. Triggers: unpublished changes, changelog, what changed, whats new.
Read-only GitHub triage for issues AND PRs. 1 item = 1 background task (category: quick). Analyzes all open items and writes evidence-backed reports to /tmp/{datetime}/. Every claim requires a GitHub permalink as proof. NEVER takes any action on GitHub - no comments, no merges, no closes, no labels. Reports only. Triggers: 'triage', 'triage issues', 'triage PRs', 'github triage'.
Adversarial multi-agent planning skill for omo-senpi. Self-orchestrates a 5-member hostile team (categories unspecified-low, unspecified-high, deep, ultrabrain, artistry) via the native lead team tools for ruthless cross-critique debate, distills only the insights that survive the attacks, then MANDATORILY hands the distilled bundle to a planner task (load_skills ulw-plan) for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', 'adversarial plan', 'hostile planning', 'cross-critique plan', '하이퍼플랜', '적대적 계획', '교차 비평'.
Easter egg command - about oh-my-opencode. Triggers: omomomo, about, easter egg.
QA opencode itself, per case: verify the CLI/terminal (opencode run, db, serve, export), prove a specific plugin hook/action/event fired via the SSE event stream, smoke-test the TUI under tmux, and investigate sessions in opencode's SQLite DB by id, title/name, or message text. Ships tested helper scripts (each with a --self-test) plus per-domain references. Use whenever someone wants to QA, smoke-test, verify, or debug opencode's CLI, HTTP server, plugin hooks/events, or TUI, or to find/inspect opencode sessions in the database. Triggers: opencode qa, qa opencode, test opencode, verify opencode hook, opencode session db, find opencode session by id/name/text, opencode tui test, opencode server health, opencode event stream.
Nuclear-grade 16-agent pre-publish release gate. Runs /get-unpublished-changes to detect all changes since last npm release, spawns up to 10 ultrabrain agents for deep per-change analysis, invokes /review-work (5 agents) for holistic review, and 1 oracle for overall release synthesis. Runs ONLY when the user explicitly asks for a pre-publish review — a plain publish/release request MUST NOT trigger this; /publish ships directly. Triggers: 'pre-publish review', 'review before publish', 'release review', 'pre-release review', 'ready to publish?', 'can I publish?', 'pre-publish', 'safe to publish', 'publishing review', 'pre-publish check'.
Publish oh-my-opencode to npm by triggering the GitHub Actions publish workflow and verifying its artifacts. Ship-only: never runs pre-publish-review or re-reviews merged code unless the user explicitly asks. Argument: <patch|minor|major|explicit-semver>. Triggers: publish, release, deploy, npm publish.
Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.