Goal Writing
Use this skill when a task needs a goal that another agent or future session can
execute without reinterpreting intent.
A goal is the control surface for agent work. It says what should become true,
what evidence proves it, and what the agent must not do while pursuing it. A loop
is only one way to execute a goal; do not make looping the primitive.
What a Good Goal Needs
Write goals with the parts that change behavior:
- Outcome. What should be observably true when the work succeeds?
- Why. What decision, user need, or research question does this unblock?
- Ground truth. What files, artifacts, prior decisions, baselines, or current
state should the agent treat as authoritative?
- Scope. What is in scope, out of scope, and not to be changed?
- Priority. If goals conflict, which outcome wins and which tradeoff is
acceptable?
- Constraints. Cost, time, risk, compatibility, safety, compute, style, or
process limits.
- Evidence. What command, metric, artifact, review, citation, run, or
observation proves the outcome?
- Anti-goals. What would be a bad way to achieve the metric or an invalid
shortcut?
- Stop / ask conditions. When should the agent stop, ask, defer, or declare
the goal blocked?
- Report shape. What should come back: changes, findings, decision,
validation evidence, open risks, or next step?
Do not fill every slot with boilerplate. Name only the information that would
change what the agent does.
Optimization Goals
Optimization goals need extra guardrails because agents can satisfy a narrow
metric while damaging the real objective.
For any goal shaped like "improve X," specify:
- the metric or observable target,
- the baseline being compared against,
- the allowed search space,
- the invariants that must not regress,
- the data, benchmark, evaluator, or review gate that cannot be changed,
- what counts as cheating, leakage, overfitting, cherry-picking, or metric gaming,
- how many attempts, how much budget, or what escalation threshold applies,
- what evidence must be reported for all meaningful attempts, not only the best
attempt.
If the strategy is unknown, write a learning goal first: identify mechanisms,
baselines, constraints, or promising directions. Do not force a performance goal
before the agent has a credible path to improve it.
Quality Checks
Before handing off a goal, check:
- Specific: Could two agents read it and aim at the same outcome?
- Observable: Can success be verified without trusting the agent's opinion?
- Bounded: Does it prevent adjacent work from expanding silently?
- Grounded: Does it name the artifacts, baseline, or state needed to begin?
- Honest: Does it define invalid shortcuts and ways the result could be fake?
- Calibrated: Is this a performance goal when the path is known, or a
learning goal when the path is uncertain?
- Actionable: Does the agent have a plausible next action?
- Reportable: Will the final answer include enough evidence to decide what
to do next?
If a goal fails these checks, rewrite it before spawning or starting the work.
When the Goal Drives a Loop
Some goals require repeated attempts. Add loop mechanics only when feedback from
one attempt should change the next attempt.
For loop-driven goals, specify:
- what changes between attempts,
- what signal is observed after each attempt,
- how the signal is compared to the target or baseline,
- what memory or log is updated,
- when to continue, branch, stop, or ask,
- who reviews the loop when cheating or metric gaming is possible.
A loop without a clear goal is drift. A goal without feedback is wishful
thinking. Keep the goal primary and the loop accountable to it.
Reviewer Gates
Use an independent reviewer when the goal creates incentives to cheat, hide
failures, overfit, or reinterpret success after the fact.
Ask the reviewer to check:
- whether the metric matches the real objective,
- whether the baseline and data were preserved,
- whether failures and non-best attempts were reported,
- whether constraints were violated,
- whether the claimed success follows from the evidence,
- what would change their mind.
For research and benchmark work, prefer reviewer gates before promotion, not
after the result has already been written as a win.
Handoff Template
Goal: <observable outcome>
Why: <decision, user need, or research question this unblocks>
Ground truth:
- <files, artifacts, baselines, prior decisions, current state>
Scope:
- In: <owned work>
- Out: <explicit exclusions>
Priority / tradeoffs:
- <what wins when objectives conflict>
Constraints:
- <limits, invariants, cost/risk boundaries>
Anti-goals / invalid shortcuts:
- <ways not to win>
Evidence of success:
- <commands, metrics, artifacts, citations, review gates, or observations>
Stop / ask if:
- <ambiguity, risk, budget, blocker, or cheating concern>
Report back with:
- <summary shape and evidence>
Keep the template terse. Delete sections that do not change the agent's behavior.
1---2name: goal-writing3description: Load when turning intent into an executable goal for an agent, spawn, work item, experiment, or handoff. Use to define outcome, evidence, constraints, anti-goals, stop conditions, and reporting shape before work begins.4---56# Goal Writing78Use this skill when a task needs a goal that another agent or future session can9execute without reinterpreting intent.1011A goal is the control surface for agent work. It says what should become true,12what evidence proves it, and what the agent must not do while pursuing it. A loop13is only one way to execute a goal; do not make looping the primitive.1415## What a Good Goal Needs1617Write goals with the parts that change behavior:18191. **Outcome.** What should be observably true when the work succeeds?202. **Why.** What decision, user need, or research question does this unblock?213. **Ground truth.** What files, artifacts, prior decisions, baselines, or current22 state should the agent treat as authoritative?234. **Scope.** What is in scope, out of scope, and not to be changed?245. **Priority.** If goals conflict, which outcome wins and which tradeoff is25 acceptable?266. **Constraints.** Cost, time, risk, compatibility, safety, compute, style, or27 process limits.287. **Evidence.** What command, metric, artifact, review, citation, run, or29 observation proves the outcome?308. **Anti-goals.** What would be a bad way to achieve the metric or an invalid31 shortcut?329. **Stop / ask conditions.** When should the agent stop, ask, defer, or declare33 the goal blocked?3410. **Report shape.** What should come back: changes, findings, decision,35 validation evidence, open risks, or next step?3637Do not fill every slot with boilerplate. Name only the information that would38change what the agent does.3940## Optimization Goals4142Optimization goals need extra guardrails because agents can satisfy a narrow43metric while damaging the real objective.4445For any goal shaped like "improve X," specify:4647- the metric or observable target,48- the baseline being compared against,49- the allowed search space,50- the invariants that must not regress,51- the data, benchmark, evaluator, or review gate that cannot be changed,52- what counts as cheating, leakage, overfitting, cherry-picking, or metric gaming,53- how many attempts, how much budget, or what escalation threshold applies,54- what evidence must be reported for all meaningful attempts, not only the best55 attempt.5657If the strategy is unknown, write a learning goal first: identify mechanisms,58baselines, constraints, or promising directions. Do not force a performance goal59before the agent has a credible path to improve it.6061## Quality Checks6263Before handing off a goal, check:6465- **Specific:** Could two agents read it and aim at the same outcome?66- **Observable:** Can success be verified without trusting the agent's opinion?67- **Bounded:** Does it prevent adjacent work from expanding silently?68- **Grounded:** Does it name the artifacts, baseline, or state needed to begin?69- **Honest:** Does it define invalid shortcuts and ways the result could be fake?70- **Calibrated:** Is this a performance goal when the path is known, or a71 learning goal when the path is uncertain?72- **Actionable:** Does the agent have a plausible next action?73- **Reportable:** Will the final answer include enough evidence to decide what74 to do next?7576If a goal fails these checks, rewrite it before spawning or starting the work.7778## When the Goal Drives a Loop7980Some goals require repeated attempts. Add loop mechanics only when feedback from81one attempt should change the next attempt.8283For loop-driven goals, specify:8485- what changes between attempts,86- what signal is observed after each attempt,87- how the signal is compared to the target or baseline,88- what memory or log is updated,89- when to continue, branch, stop, or ask,90- who reviews the loop when cheating or metric gaming is possible.9192A loop without a clear goal is drift. A goal without feedback is wishful93thinking. Keep the goal primary and the loop accountable to it.9495## Reviewer Gates9697Use an independent reviewer when the goal creates incentives to cheat, hide98failures, overfit, or reinterpret success after the fact.99100Ask the reviewer to check:101102- whether the metric matches the real objective,103- whether the baseline and data were preserved,104- whether failures and non-best attempts were reported,105- whether constraints were violated,106- whether the claimed success follows from the evidence,107- what would change their mind.108109For research and benchmark work, prefer reviewer gates before promotion, not110after the result has already been written as a win.111112## Handoff Template113114```markdown115Goal: <observable outcome>116117Why: <decision, user need, or research question this unblocks>118119Ground truth:120- <files, artifacts, baselines, prior decisions, current state>121122Scope:123- In: <owned work>124- Out: <explicit exclusions>125126Priority / tradeoffs:127- <what wins when objectives conflict>128129Constraints:130- <limits, invariants, cost/risk boundaries>131132Anti-goals / invalid shortcuts:133- <ways not to win>134135Evidence of success:136- <commands, metrics, artifacts, citations, review gates, or observations>137138Stop / ask if:139- <ambiguity, risk, budget, blocker, or cheating concern>140141Report back with:142- <summary shape and evidence>143```144145Keep the template terse. Delete sections that do not change the agent's behavior.