ultragoal
Durable multi-goal workflow that persists plan/ledger artifacts under .omq/ultragoal and prints Claude /goal handoff text for the active session
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Durable multi-goal workflow that persists plan/ledger artifacts under .omq/ultragoal and prints Claude /goal handoff text for the active session
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Cancel any active OMQ mode (autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, team)
Configure notification integrations (Telegram, Discord, Slack) via natural language
Configure HUD display options (layout, presets, display elements)
Extract a learned skill from the current conversation
Diagnose and fix oh-my-qoder installation issues
Install or refresh oh-my-qoder for plugin, npm, and local-dev setups from the canonical setup flow
| name | ultragoal |
| description | Durable multi-goal workflow that persists plan/ledger artifacts under .omq/ultragoal and prints Claude /goal handoff text for the active session |
| argument-hint | <brief or subcommand> |
| level | 3 |
<Use_When>
/goal directive coordinated with the ledger so that a session restart does not lose progress
</Use_When><Do_Not_Use_When>
ralph instead/goal itself from the shell — that is not possible; omq ultragoal only writes artifacts and prints handoff textplan instead
</Do_Not_Use_When><Why_This_Exists>
Qoder CLI /goal is a session-scoped Stop hook: it blocks the session from stopping until a condition holds, and auto-clears on success. That is a great single-session execution primitive, but it loses state across sessions and does not by itself enforce a final review gate. omq ultragoal adds a durable plan, ledger, and gating layer so a long multi-step initiative can survive session restarts, fresh worktrees, and review iterations while still leveraging Claude /goal to keep the active agent focused.
</Why_This_Exists>
<How_To_Use>
Create a plan from a brief:
omq ultragoal create-goals --brief-file plan.md
Or with explicit stories:
omq ultragoal create-goals --brief "ship the migration" \
--goal "Schema::Add new columns" \
--goal "Backfill::Backfill rows in batches" \
--goal "Cutover::Drop old columns and switch reads"
The default mode is aggregate (one Claude /goal covers the run).
Pass --claude-goal-mode per-story if you want each story to have its own /goal.
Multi-repo workspaces / parallel sessions: when several Claude sessions
in the same workspace need to run /ultragoal concurrently, pass either
--plan-id <stable-id> or --auto-plan-id so the plan is written to
.omq/ultragoal/plans/{planId}/ instead of the shared single-plan path.
Without that flag, two sessions creating goals would clobber each other.
--auto-plan-id derives {epochMs}-{slug} from the brief title. Then thread
the same --plan-id <id> through every subsequent subcommand in that session.
Use omq ultragoal list-plans to enumerate available planIds when needed.
Start (or resume) the next story:
omq ultragoal complete-goals
This prints a model-facing handoff. The active Claude agent must read it and:
/goal condition in this session./goal state and call checkpoint.Checkpoint a story:
omq ultragoal checkpoint --goal-id G001-... --status complete \
--evidence "tests/files/PR evidence" \
--claude-goal-json '{"goal":{"objective":"...","status":"active"}}'
For the final story, also pass --quality-gate-json containing
aiSlopCleaner, verification, and codeReview evidence (all clean).
If the final review is not clean, do NOT mark complete. Record blockers:
omq ultragoal record-review-blockers --goal-id G00X-... \
--title "Resolve final code-review blockers" \
--objective "Fix the listed review findings and rerun final gates" \
--evidence "<the review findings>" \
--claude-goal-json '{"goal":{"objective":"...","status":"active"}}'
This appends a new blocker story and keeps the Claude /goal active.
Inspect state at any time:
omq ultragoal status
</How_To_Use>
<Important_Limitations>
/goal state. omq ultragoal only persists durable artifacts and prints instructions that the active Claude agent reads and acts on in-session.--claude-goal-json are model-supplied proof of the active /goal state; OMQ validates them for textual consistency with the plan's expected objective and ledger event, but it cannot independently observe Claude /goal state./goal slash command is renamed or restructured, only the handoff wording needs to change; the reconciliation logic is name-agnostic.
</Important_Limitations>