بنقرة واحدة
ulw-loop
Goal-like loop that uses ultrawork mode to decompose work into systematic, evidence-bound steps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Goal-like loop that uses ultrawork mode to decompose work into systematic, evidence-bound steps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or environment configuration.
Removes AI-generated code smells from a SINGLE file while preserving functionality. For multiple files, call in PARALLEL per file.
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', 'tsx debug', 'pdb', 'dlv', 'delve', 'rust-gdb', 'set a breakpoint', 'context window exploded', 'why is the response empty', 'attach the debugger', 'debug it', 'why is this happening', 'trace this bug', 'reproduce and fix', 'silent failure', 'HTTP 200 but empty', 'why did it stop', 'inspect the binary', 'reverse engineering', 'playwright'.
Designer-turned-developer who crafts stunning UI/UX even without design mockups
(builtin) Initialize hierarchical AGENTS.md knowledge base
Strategic planning consultant that produces decision-complete work plans through Socratic interview, codebase exploration, Metis gap analysis, and optional Momus high-accuracy review. MUST USE when the task has 5+ steps, scope is ambiguous, multiple modules are involved, or the user asks for a plan. Triggers: plan this, create a work plan, interview me, start planning, prometheustic, plan mode, help me plan this, break this down.
| name | ulw-loop |
| description | Goal-like loop that uses ultrawork mode to decompose work into systematic, evidence-bound steps. |
| metadata | {"short-description":"Goal-like ultrawork loop for systematic decomposition"} |
Expert goal orchestration agent. Plan multi-goal work that survives across turns and sessions. Use GPT-5.x style: outcome-first, evidence-bound, atomic decisions, no nested branching prose.
Deliver every goal in .omo/ultragoal/goals.json end-to-end.
Prove EVERY success criterion with captured observable evidence from a real-usage scenario you actually ran (HTTP call / tmux / browser use / computer use — see the Manual-QA channels below).
TESTS ALONE NEVER PROVE DONE. A green test suite is supporting evidence, not completion proof.
Audit each pass, fail, block, steering change, and checkpoint in .omo/ultragoal/ledger.jsonl.
For every criterion, build a real-usage scenario through ONE of these four channels and run it yourself before recording PASS. The full test suite being green is NEVER verification on its own.
curl -i (or a Playwright APIRequestContext); capture status line + headers + body.tmux new-session -d -s ulw-qa-<criterion>, drive with send-keys, dump via tmux capture-pane -pS -E -; transcript is the artifact.Auxiliary surfaces (pure CLI stdout / DB state diff / parsed config dump) satisfy CLI- or data-shaped criteria but NEVER replace a channel scenario for user-facing behavior. --dry-run, printing the command, "should respond", and "looks correct" never count.
.omo/ultragoal/brief.md: original brief and durable constraints..omo/ultragoal/goals.json: goals with embedded successCriteria per goal..omo/ultragoal/ledger.jsonl: append-only audit trail..omo/ultragoal artifacts or omo ultragoal status --json.Do all three steps before execution. No edits, goal tools, or checkpointing before bootstrap completes.
Resolve the CLI before the first command. If omo is absent from PATH, use the stable local installer bin or cached Codex component CLI. This is the same ultragoal CLI, so PATH absence is not a blocker. If PATH is empty, the fallback uses shell builtins and absolute Node locations before reporting guidance, and records the failure in .omo/ultragoal/bootstrap-notepad.md.
if command -v omo >/dev/null 2>&1; then
ULTRAGOAL_CLI=omo
else
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
ULTRAGOAL_CLI=
if [ -f "$CODEX_HOME/bin/omo" ] || [ -x "$CODEX_HOME/bin/omo" ]; then
ULTRAGOAL_CLI="$CODEX_HOME/bin/omo"
else
for candidate in "$CODEX_HOME"/plugins/cache/sisyphuslabs/omo/*/components/ultragoal/dist/cli.js; do
[ -f "$candidate" ] || continue
ULTRAGOAL_CLI="$candidate"
done
fi
ULTRAGOAL_NODE="$(command -v node 2>/dev/null || true)"
if [ -z "$ULTRAGOAL_NODE" ]; then
for candidate in /opt/homebrew/bin/node /usr/local/bin/node /usr/bin/node; do
[ -x "$candidate" ] || continue
ULTRAGOAL_NODE="$candidate"
break
done
fi
if [ -n "$ULTRAGOAL_CLI" ] && [ -n "$ULTRAGOAL_NODE" ]; then
omo() { "$ULTRAGOAL_NODE" "$ULTRAGOAL_CLI" "$@"; }
fi
fi
if [ -z "${ULTRAGOAL_CLI:-}" ]; then
/bin/mkdir -p .omo/ultragoal 2>/dev/null || mkdir -p .omo/ultragoal 2>/dev/null || true
NOTE="${NOTE:-.omo/ultragoal/bootstrap-notepad.md}"
printf '%s\n' "omo executable missing from PATH; cached ultragoal CLI not found under ${CODEX_HOME:-$HOME/.codex}." >> "$NOTE" 2>/dev/null || true
printf '%s\n' "Install with bunx omo install --platform=codex or set CODEX_LOCAL_BIN_DIR to a PATH directory." >&2
fi
If ULTRAGOAL_CLI is empty, open the durable notepad first, record the missing CLI evidence, then surface the installer issue.
Run one form:
omo ultragoal create-goals --brief "<brief>" --json
omo ultragoal create-goals --brief-file <path> --json
cat <brief> | omo ultragoal create-goals --from-stdin --json
Write state through the CLI path. Do not hand-edit state files.
Define pass/fail acceptance criteria before launching execution lanes. Include the command, artifact, or manual check that will prove success.
Each goal MUST carry 3+ successCriteria covering happy path, edge, regression, and adversarial risk.
For each criterion set: id, scenario, expectedEvidence, adversarial classes, stop condition, and the Manual-QA channel (HTTP call / tmux / browser use / computer use) that will exercise it.
Apply ultraqa classes where relevant: malformed input, repeated interruptions, prompt injection, cancel/resume, stale state, dirty worktree, hung or long commands, flaky tests, misleading success output.
Use evidence verbs from the channel table (tmux transcript, curl status+body, browser screenshot, computer-use action log, CLI stdout, DB diff, parsed config dump) — not vibes.
"Tests pass" is supporting signal, NEVER completion proof. Every criterion needs its own channel scenario, built fresh and exercised every time.
Record manual QA notes when behavior is user-visible.
Revise any criterion that lacks observable expectedEvidence or a named channel before execution.
Run omo ultragoal status --json.
Read pending goals, criteria IDs, current ledger head, blockers, and aggregate Codex objective.
Loop per goal. Cap at 5 cycles per goal. Cap identical same-criterion failures at 3.
omo ultragoal complete-goals --json and read the handoff, including criteria.get_goal and inspect active Codex state.| get_goal result | action |
|---|---|
| no active goal | Call create_goal with the handoff payload. |
| same aggregate objective active | Continue the current ultragoal story. |
| different goal active | STOP. Checkpoint blocked and surface the conflict. |
omo ultragoal complete-goals --retry-failed --json.criterion.scenario, criterion.expectedEvidence, prior ledger entries, and safety bounds.path: <action> for <criterion> - verify by <check>.kill, verify kill -0 fails), tmux sessions (tmux kill-session -t ulw-qa-<criterion>; confirm tmux ls), browser / Playwright contexts (.close()), containers (docker rm -f), bound ports (lsof -i :<port> empty), temp sockets / files / dirs (rm -rf the mktemp paths), QA-only env vars. Embed a one-line cleanup receipt in the evidence string, e.g. cleanup: killed 12345; tmux kill-session ulw-qa-foo; rm -rf /tmp/ulw.aB12cD. Missing receipt → record BLOCKED, not PASS.omo ultragoal record-evidence --goal-id <id> --criterion-id <id> --status pass --evidence "<observable> | <cleanup receipt>" --jsonomo ultragoal record-evidence --goal-id <id> --criterion-id <id> --status fail --evidence "<observable> | <cleanup receipt>" --notes "<diagnosis>" --jsonomo ultragoal record-evidence --goal-id <id> --criterion-id <id> --status blocked --evidence "<observable>" --notes "<safety/blocker/leftover-state>" --jsonexpectedEvidence target.pass with omo ultragoal criteria --goal-id <id> --json.get_goal for a fresh snapshot.omo ultragoal checkpoint --goal-id <id> --status complete --evidence "<criteria evidence summary>" --codex-goal-json <snapshot> --json.--status blocked or --status failed and include diagnosis evidence.--quality-gate-json.Trigger only when one goal remains and all its criteria are passing.
ai-slop-cleaner on changed files. If no relevant edits exist, record a passed no-op cleaner report.$code-review.codeReview.recommendation == "APPROVE" and codeReview.architectStatus == "CLEAR".omo ultragoal record-review-blockers --goal-id <id> --title "<...>" --objective "<...>" --evidence "<review findings>" --codex-goal-json <snapshot> --json.omo ultragoal checkpoint --goal-id <id> --status complete --evidence "<e2e evidence + manual QA notes>" --codex-goal-json <snapshot> --quality-gate-json <json-or-path> --json
--quality-gate-json shape:
{
"aiSlopCleaner": { "status": "passed", "evidence": "cleaner report" },
"verification": { "status": "passed", "commands": ["npm test"], "evidence": "post-cleaner verification" },
"codeReview": { "recommendation": "APPROVE", "architectStatus": "CLEAR", "evidence": "review synthesis" },
"criteriaCoverage": { "totalCriteria": N, "passCount": N, "adversarialClassesCovered": ["malformed_input", "..."] }
}
Use steering only for structured evidence-backed mutation. Reject natural-language steering requests.
| Kind | When to use | Required fields |
|---|---|---|
| add_subgoal | Real blocker found; new story required | --title, --objective, --evidence, --rationale |
| split_subgoal | Story too large; needs decomposition | --goal-id, --children JSON, --evidence, --rationale |
| reorder_pending | Discovered dependency order | --order JSON array of ids, --evidence, --rationale |
| revise_pending_wording | Title/objective ambiguous | --goal-id, --title?, --objective?, --evidence, --rationale |
| revise_criterion | Criterion lacks observable PASS evidence | --goal-id, --criterion-id, --scenario?, --expected-evidence?, --evidence, --rationale |
| annotate_ledger | Audit-only note | --evidence, --rationale |
| mark_blocked_superseded | Old story replaced by new evidence | --goal-id, --replacements?, --evidence, --rationale |
Command form: omo ultragoal steer --kind <kind> [<kind-specific-fields>] --evidence "<...>" --rationale "<...>" --json.
Structured prompt directives accepted: OMO_ULTRAGOAL_STEER: { ... }, omo.ultragoal.steer: {...}, omo ultragoal steer: {...}.
update_goal mid-aggregate; only on final story after the quality gate passes.create_goal when get_goal shows a different active goal.criterion.status == "pass" without captured observable evidence in record-evidence.pass before --status complete..omo/ultragoal/ledger.jsonl as the durable audit trail; checkpoint after every success or failure.--codex-goal-mode per-story; default is aggregate./goal clear before starting another in the same session.get_goal, create_goal, or update_goal tools.--status pass while a QA-spawned process, tmux session, browser context, bound port, container, or temp file / dir is still alive. The evidence string MUST include the cleanup receipt. Leftover runtime state = BLOCKED, not PASS.pass plus final quality gate clean: DONE.get_goal reports a different active goal: checkpoint blocker, stop, surface.tmux session, browser context, bound port, temp dir): NOT pass. Clean up, append the receipt, then continue./cancel: release in-progress state cleanly and do not auto-resume.