用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/code-yeongyu/codex-ultragoal --skill ultragoal命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | ultragoal |
| description | Durable repo-native multi-goal plans with embedded success criteria and evidence audit. |
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 the real surface.
Audit each pass, fail, block, steering change, and checkpoint in .omo/ultragoal/ledger.jsonl.
.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.
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, and stop condition.
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, not vibes: tmux transcript, curl status+body, browser screenshot, Playwright assertion, CLI stdout, DB state diff, parsed config dump.
"Tests pass" is supporting signal, not completion proof.
Record manual QA notes when behavior is user-visible.
Revise any criterion that lacks observable expectedEvidence 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>.omo ultragoal record-evidence --goal-id <id> --criterion-id <id> --status pass --evidence "<observable>" --jsonomo ultragoal record-evidence --goal-id <id> --criterion-id <id> --status fail --evidence "<observable>" --notes "<diagnosis>" --jsonomo ultragoal record-evidence --goal-id <id> --criterion-id <id> --status blocked --evidence "<observable>" --notes "<safety/blocker>" --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":
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.pass plus final quality gate clean: DONE.get_goal reports a different active goal: checkpoint blocker, stop, surface./cancel: release in-progress state cleanly and do not auto-resume.