ultragoal
Create and execute durable repo-native multi-goal plans. Break a brief into tracked goals, drive them to verified completion, and steer as findings change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and execute durable repo-native multi-goal plans. Break a brief into tracked goals, drive them to verified completion, and steer as findings change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a regression-tests-first, smell-by-smell deslop/refactor workflow that preserves behavior and raises signal quality. Use when the user asks to "cleanup", "refactor", "deslop", or when follow-up code has duplicates, dead code, weak boundaries, or fallback-like slop.
Run read-only deep repository analysis and return a ranked synthesis with explicit confidence, concrete file references, and clear evidence-vs-inference boundaries. Use when a user says "analyze", "investigate", "why does", "what's causing", or needs grounded cross-file explanation before any changes are proposed.
Deprecated compatibility shim for Claude advisor requests. Use `ask` with the claude backend instead.
Deprecated compatibility shim for Gemini advisor requests. Use `ask` with the gemini backend instead.
Ask a locally installed external advisor CLI (Claude or Gemini) for focused questions, reviews, brainstorming, or second opinions, and capture a reusable artifact. Use when the user wants a Claude/Gemini second opinion, "ask claude", or "ask gemini".
Strict autonomous delivery loop that runs deep-interview, ralplan, ultragoal, code-review, and ultraqa in order with automatic re-planning when gates are not clean. Use on "autopilot", "autonomous", "build me", "create me", "make me", "full auto", "handle it all", or "I want a/an…".
| name | ultragoal |
| category | planning |
| status | active |
| core | true |
| description | Create and execute durable repo-native multi-goal plans. Break a brief into tracked goals, drive them to verified completion, and steer as findings change. |
| agent_created | true |
| triggers | ["ultragoal","create-goals","complete-goals","durable plan","multi-goal","sequential goals"] |
Ported from oh-my-codex
ultragoal. OMX runtime conventions ($macroinvocation,omxCLI,.omx/state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list,.workbuddy/memory).
Use when the user asks for durable multi-goal planning or sequential execution over a set of stories/objectives. Ultragoal turns a brief into repo-native artifacts and drives them to verified completion. There is no Codex /goal mode or omx ultragoal CLI — tracking is the task list (the live goal board), memory (durable brief/ledger), and optional files under .omw/ultragoal/.
.omw/ultragoal/brief.md — the original brief and constraints..omw/ultragoal/ledger.jsonl — checkpoint and structured steering audit events (append-only).Write the brief once at creation via the Write tool. Append every checkpoint/steering decision to ledger.jsonl.
brief.md path) into .omw/ultragoal/brief.md.TaskCreate:
subject: short goal titledescription: objective, acceptance criteria, constraintsowner: leader (Ultragoal stays leader-owned)addBlockedBy/addBlocks for dependenciesin_progress; keep the rest pending.Loop until the task list reports all goals complete:
ultragoal complete-goals (i.e. pick the next in_progress story).team skill (skill: team) and pass Team the evidence; the leader stays Ultragoal owner.plan, skill: tdd discipline, etc.)..omw/ultragoal/ledger.jsonl:
{"goal_id":"<id>","status":"complete","evidence":"<tests/files/review evidence>","at":"<now>"}{"goal_id":"<id>","status":"failed","evidence":"<blocker/evidence>","at":"<now>"}TaskUpdate → in_progress) and re-running.Use steering when real findings/blockers prove the decomposition should change while the brief's aggregate objective and constraints stay fixed. Steering is explicit-only and evidence-backed; broad natural-language requests are rejected instead of guessed.
Allowed mutation kinds (apply via TaskCreate/TaskUpdate/Edit on the board + brief):
add_subgoal — add a new task.split_subgoal — split a pending task.reorder_pending — reorder addBlockedBy/order.revise_pending_wording — edit a pending task description.annotate_ledger — append a note to ledger.jsonl.mark_blocked_superseded — mark a task deleted with steering metadata retained in the brief.Steering invariants:
.omw/ultragoal/ledger.jsonl is the audit trail.ledger.jsonl.Use both for a story that benefits from parallel execution. Ultragoal stays leader-owned (task list + ledger.jsonl); team is the parallel execution engine and returns task/evidence status to the leader. The leader checkpoints Ultragoal from Team evidence. Workers do not own Ultragoal goal state and do not checkpoint Ultragoal.
The final story is not complete until the active agent has run the final quality gate:
ai-slop-cleaner on changed files only (skill: ai-slop-cleaner); if no relevant edits, it still runs and records a passed/no-op report.code-review through the independent review path (skill: code-review). Clean means an APPROVE recommendation, CLEAR architect status, distinct completed code-reviewer and architect evidence, and every required architecture invariant proved. COMMENT/WATCH/REQUEST CHANGES/BLOCK, missing subagent evidence, or unproved invariants are non-clean.review_blocked, keeping the board open so the next cycle starts the blocker.TaskUpdate → completed) and checkpoint with a structured final gate entry in ledger.jsonl that includes the quality-gate summary:{
"aiSlopCleaner": { "status": "passed", "evidence": "cleaner report" },
"verification": { "status": "passed", "commands": ["npm test"], "evidence": "post-cleaner verification" },
"codeReview": {
"recommendation": "APPROVE",
"architectStatus": "CLEAR",
"evidence": "final review synthesis",
"independentReview": {
"codeReviewer": { "agentRole": "code-reviewer", "evidence": "code-reviewer APPROVE evidence" },
"architect": { "agentRole": "architect", "evidence": "architect CLEAR evidence" }
}
},
"architectureInvariantGate": {
"status": "passed",
"sourceArtifacts": [".omw/ultragoal/brief.md"],
"evidence": "final invariant audit proved all required invariants",
"invariants": [
{ "invariant": "Preserve the existing parser boundary.", "source": "brief.md#architecture-invariants", "status": "proved", "implementationEvidence": "...", "testEvidence": "...", "reviewEvidence": "..." }
]
}
}
ledger.jsonl as the durable audit trail; checkpoint after every success or failure.complete entry.