UltraGoal
Product Mission
UltraGoal exists for one non-negotiable purpose: convert the user's ordinary lazily worded goal into the rigorous goal the agent sets for itself and executes.
Do not treat UltraGoal as a coach, interviewer, planning assistant, prompt critique mode, or preview generator by default. It is a middleman in the goal-entry path:
rough user goal -> upgraded executable goal -> set goal -> proceed
Every instruction in this skill serves that path. If an interpretation would add a confirmation loop, defer execution, or merely suggest a better prompt, reject that interpretation unless the user explicitly asked not to run the goal.
Overview
Turn the user's rough UltraGoal command text into the clear, checkable goal the agent should actually pursue. UltraGoal is a middleman between the user's ordinary lazy goal and goal-mode execution: rewrite the goal, set the upgraded version as the active goal when the runtime supports it, then work from it.
Core Rules
- Treat the text after the UltraGoal invocation as raw user intent, not as the final goal.
- Preserve and augment the user's intent. Make the goal more rigorous without changing what the user is trying to accomplish.
- Do not silently expand the user's scope. Separate required outcomes from optional stretch work.
- If UltraGoal is invoked, assume the user wants the improved goal to become the active working objective immediately.
- Do not pause for clarification or approval. Make conservative assumptions, encode them in the goal, and proceed.
- Clarify inside the upgraded goal, not before it.
- Prefer concrete verification over vague quality bars. Include tests, commands, screenshots, manual checks, artifacts, or review criteria where relevant.
- Treat user-provided wall-clock constraints as first-class goal constraints. Preserve deadlines, maximum time limits, minimum active-work durations, and scheduled work windows in the upgraded goal.
- Never sleep, idle, wait, artificially delay, or burn time to satisfy a minimum duration. Use prescribed time for active work, investigation, verification, documentation, alternate approaches, or blocker analysis.
- Include autonomy boundaries for destructive actions, money, external accounts, publishing, production systems, private data, and broad refactors.
- Keep the improved goal usable as persistent goal text. Avoid long rationale inside the goal itself.
Wall-Clock Constraints
Treat time language as part of the user's goal contract, not as incidental context. This includes maximum time limits, absolute deadlines, scheduled work windows, minimum active-work durations, and phrases like "within X," "by X," "spend at least X," or "work for X."
- Maximum elapsed budgets such as "within 30 minutes" require prioritization, honest triage, and a stop or report point when the elapsed budget is reached.
- Absolute deadlines such as "by 5pm" require preserving the target clock time, prioritizing work against the remaining time, and reporting honestly at or before the deadline.
- Scheduled work windows require preserving the start and end window and stating what fits inside it.
- Minimum durations and active-work windows require relevant active work until the time elapses or the user changes the instruction.
- If blocked before a minimum duration or work window ends, use the remaining time for relevant inspection, alternate approaches, documentation, verification, or blocker analysis.
For every wall-clock constraint, include it in the upgraded goal's context, success criteria, verification, autonomy boundaries, or completion rule as appropriate. Require timestamp, elapsed-time, or active-work evidence when it matters. Missing time evidence is a verification gap.
Workflow
- Strip away the invocation wrapper and identify the raw goal text the user would have typed into native goal entry.
- Infer the user's true objective, audience, surface, repository or tool context, and hard constraints from the conversation and workspace.
- Replace the raw goal with an upgraded goal using the UltraGoal contract:
- Objective: the concrete outcome.
- Context: relevant repo, product, user, or business context.
- Scope: what is in and out.
- Success criteria: measurable definition of done.
- Verification: commands, checks, artifacts, or review steps.
- Wall-clock constraints: deadlines, maximum time budgets, minimum active-work durations, or scheduled work windows.
- Autonomy boundaries: what to avoid, constrain, or document before proceeding.
- Completion rule: what must be true before the agent marks the goal complete.
- Set the upgraded goal as the active goal using the available goal tool. If no goal tool is available, state the upgraded goal briefly and proceed as if it is active.
- Work from the upgraded goal, not the lazy raw text. Put assumptions and risk boundaries inside the goal instead of asking preflight questions.
For vague, high-stakes, or product-strategy goals, read references/goal-rubric.md before drafting.
Output Patterns
For normal UltraGoal execution:
Upgraded goal:
[Goal text]
Setting this as my goal and proceeding.
For a user who explicitly asks to see the upgraded goal but not run it:
Use this as the goal text:
[Goal text]
For a user who explicitly asks to audit or critique goal text without running it:
Prompt audit:
- Score: [N]/16
- Main strength: [Summary]
- Main risk: [Summary]
Findings:
- [Severity] [Issue]: [Evidence] -> [Fix]
Recommended upgraded goal:
[Goal text]
If the raw UltraGoal input is itself an audit task, such as "audit the checkout flow and report issues," treat it as a normal goal to upgrade, set, and run.
Goal Text Style
- Use direct imperatives: "Build", "Refactor", "Investigate", "Ship", "Prepare", "Migrate".
- Put the main outcome in the first sentence.
- Use bullet criteria for anything the agent must keep checking.
- Include explicit non-goals when the rough prompt could cause scope creep.
- Include "Do not..." or "Stay within..." for risky boundaries.
- Include "Complete only when..." for the finish condition.
Examples
Raw UltraGoal input:
Make the app faster.
Upgraded goal:
Improve perceived and measured performance for the app's primary route without changing user-visible behavior.
Scope:
- Identify the current bottlenecks before editing.
- Implement the smallest safe changes that reduce load time or interaction latency.
- Stay within the existing architecture unless a small refactor is clearly required.
Success criteria:
- The primary route loads without console errors.
- The relevant test suite still passes.
- Before/after performance evidence is reported with commands or browser measurements.
Do not change public APIs, data models, or build tooling unless the current implementation cannot meet the performance goal without it; if that happens, document the reason before proceeding.
Complete only when the patch is implemented, verified, and summarized with residual risks.
Raw UltraGoal input:
fix the bug where settings don't save
Upgraded goal:
Investigate and fix the settings persistence bug so user changes reliably save and survive reloads without changing unrelated settings behavior.
Context:
- Use the existing app structure, settings UI, state management, storage layer, and tests to find the failing path.
Scope:
- Reproduce or infer the settings save failure from the code and available tests.
- Implement the smallest fix that makes settings persist correctly.
- Add or update regression coverage for the save flow.
- Avoid redesigning the settings experience or changing unrelated preferences.
Success criteria:
- A changed setting remains saved after the expected reload, navigation, or app restart flow.
- Existing settings behavior still works.
- Relevant tests pass, or any missing test harness is called out with manual verification.
Verification:
- Run the relevant automated test command if one exists.
- Manually exercise the save-and-reload flow if the app can be run locally.
Complete only when the fix is implemented, verified, and summarized with changed files and residual risks.
Quality Check
Before setting the upgraded goal, confirm internally:
- The goal can be judged done or not done.
- Verification is possible in the user's environment.
- Scope boundaries protect the user's intent.
- Any assumptions are visible.
- The text is concise enough to work as persistent completion criteria.
1---2name: ultra-goal3description: Expand UltraGoal command input into a rigorous executable goal objective, set that improved objective as the agent's own goal when the runtime supports goal state, and proceed. Use when the user invokes UltraGoal, writes a lazy or rough goal, asks to replace or improve a native goal prompt, or wants a persistent objective formalized with success criteria, scope, verification, autonomy boundaries, wall-clock constraints, and completion rules. Treat the user's wording as raw intent to preserve and strengthen, not as final goal text. Do not use for ordinary tasks unless the user invokes UltraGoal or asks to turn the task into a goal.4---56# UltraGoal78## Product Mission910UltraGoal exists for one non-negotiable purpose: convert the user's ordinary lazily worded goal into the rigorous goal the agent sets for itself and executes.1112Do not treat UltraGoal as a coach, interviewer, planning assistant, prompt critique mode, or preview generator by default. It is a middleman in the goal-entry path:1314```text15rough user goal -> upgraded executable goal -> set goal -> proceed16```1718Every instruction in this skill serves that path. If an interpretation would add a confirmation loop, defer execution, or merely suggest a better prompt, reject that interpretation unless the user explicitly asked not to run the goal.1920## Overview2122Turn the user's rough UltraGoal command text into the clear, checkable goal the agent should actually pursue. UltraGoal is a middleman between the user's ordinary lazy goal and goal-mode execution: rewrite the goal, set the upgraded version as the active goal when the runtime supports it, then work from it.2324## Core Rules2526- Treat the text after the UltraGoal invocation as raw user intent, not as the final goal.27- Preserve and augment the user's intent. Make the goal more rigorous without changing what the user is trying to accomplish.28- Do not silently expand the user's scope. Separate required outcomes from optional stretch work.29- If UltraGoal is invoked, assume the user wants the improved goal to become the active working objective immediately.30- Do not pause for clarification or approval. Make conservative assumptions, encode them in the goal, and proceed.31- Clarify inside the upgraded goal, not before it.32- Prefer concrete verification over vague quality bars. Include tests, commands, screenshots, manual checks, artifacts, or review criteria where relevant.33- Treat user-provided wall-clock constraints as first-class goal constraints. Preserve deadlines, maximum time limits, minimum active-work durations, and scheduled work windows in the upgraded goal.34- Never sleep, idle, wait, artificially delay, or burn time to satisfy a minimum duration. Use prescribed time for active work, investigation, verification, documentation, alternate approaches, or blocker analysis.35- Include autonomy boundaries for destructive actions, money, external accounts, publishing, production systems, private data, and broad refactors.36- Keep the improved goal usable as persistent goal text. Avoid long rationale inside the goal itself.3738## Wall-Clock Constraints3940Treat time language as part of the user's goal contract, not as incidental context. This includes maximum time limits, absolute deadlines, scheduled work windows, minimum active-work durations, and phrases like "within X," "by X," "spend at least X," or "work for X."4142- Maximum elapsed budgets such as "within 30 minutes" require prioritization, honest triage, and a stop or report point when the elapsed budget is reached.43- Absolute deadlines such as "by 5pm" require preserving the target clock time, prioritizing work against the remaining time, and reporting honestly at or before the deadline.44- Scheduled work windows require preserving the start and end window and stating what fits inside it.45- Minimum durations and active-work windows require relevant active work until the time elapses or the user changes the instruction.46- If blocked before a minimum duration or work window ends, use the remaining time for relevant inspection, alternate approaches, documentation, verification, or blocker analysis.4748For every wall-clock constraint, include it in the upgraded goal's context, success criteria, verification, autonomy boundaries, or completion rule as appropriate. Require timestamp, elapsed-time, or active-work evidence when it matters. Missing time evidence is a verification gap.4950## Workflow51521. Strip away the invocation wrapper and identify the raw goal text the user would have typed into native goal entry.532. Infer the user's true objective, audience, surface, repository or tool context, and hard constraints from the conversation and workspace.543. Replace the raw goal with an upgraded goal using the UltraGoal contract:55 - Objective: the concrete outcome.56 - Context: relevant repo, product, user, or business context.57 - Scope: what is in and out.58 - Success criteria: measurable definition of done.59 - Verification: commands, checks, artifacts, or review steps.60 - Wall-clock constraints: deadlines, maximum time budgets, minimum active-work durations, or scheduled work windows.61 - Autonomy boundaries: what to avoid, constrain, or document before proceeding.62 - Completion rule: what must be true before the agent marks the goal complete.634. Set the upgraded goal as the active goal using the available goal tool. If no goal tool is available, state the upgraded goal briefly and proceed as if it is active.645. Work from the upgraded goal, not the lazy raw text. Put assumptions and risk boundaries inside the goal instead of asking preflight questions.6566For vague, high-stakes, or product-strategy goals, read `references/goal-rubric.md` before drafting.6768## Output Patterns6970For normal UltraGoal execution:7172```text73Upgraded goal:7475[Goal text]7677Setting this as my goal and proceeding.78```7980For a user who explicitly asks to see the upgraded goal but not run it:8182```text83Use this as the goal text:8485[Goal text]86```8788For a user who explicitly asks to audit or critique goal text without running it:8990```text91Prompt audit:92- Score: [N]/1693- Main strength: [Summary]94- Main risk: [Summary]9596Findings:97- [Severity] [Issue]: [Evidence] -> [Fix]9899Recommended upgraded goal:100[Goal text]101```102103If the raw UltraGoal input is itself an audit task, such as "audit the checkout flow and report issues," treat it as a normal goal to upgrade, set, and run.104105## Goal Text Style106107- Use direct imperatives: "Build", "Refactor", "Investigate", "Ship", "Prepare", "Migrate".108- Put the main outcome in the first sentence.109- Use bullet criteria for anything the agent must keep checking.110- Include explicit non-goals when the rough prompt could cause scope creep.111- Include "Do not..." or "Stay within..." for risky boundaries.112- Include "Complete only when..." for the finish condition.113114## Examples115116Raw UltraGoal input:117```text118Make the app faster.119```120121Upgraded goal:122```text123Improve perceived and measured performance for the app's primary route without changing user-visible behavior.124125Scope:126- Identify the current bottlenecks before editing.127- Implement the smallest safe changes that reduce load time or interaction latency.128- Stay within the existing architecture unless a small refactor is clearly required.129130Success criteria:131- The primary route loads without console errors.132- The relevant test suite still passes.133- Before/after performance evidence is reported with commands or browser measurements.134135Do not change public APIs, data models, or build tooling unless the current implementation cannot meet the performance goal without it; if that happens, document the reason before proceeding.136Complete only when the patch is implemented, verified, and summarized with residual risks.137```138139Raw UltraGoal input:140```text141fix the bug where settings don't save142```143144Upgraded goal:145```text146Investigate and fix the settings persistence bug so user changes reliably save and survive reloads without changing unrelated settings behavior.147148Context:149- Use the existing app structure, settings UI, state management, storage layer, and tests to find the failing path.150151Scope:152- Reproduce or infer the settings save failure from the code and available tests.153- Implement the smallest fix that makes settings persist correctly.154- Add or update regression coverage for the save flow.155- Avoid redesigning the settings experience or changing unrelated preferences.156157Success criteria:158- A changed setting remains saved after the expected reload, navigation, or app restart flow.159- Existing settings behavior still works.160- Relevant tests pass, or any missing test harness is called out with manual verification.161162Verification:163- Run the relevant automated test command if one exists.164- Manually exercise the save-and-reload flow if the app can be run locally.165166Complete only when the fix is implemented, verified, and summarized with changed files and residual risks.167```168169## Quality Check170171Before setting the upgraded goal, confirm internally:172173- The goal can be judged done or not done.174- Verification is possible in the user's environment.175- Scope boundaries protect the user's intent.176- Any assumptions are visible.177- The text is concise enough to work as persistent completion criteria.