write-agent-goal
Installation
SKILL.md
write-agent-goal
Turns a task into a goal contract an autonomous agent can be held to: a verifiable end state, the evidence that proves it, the boundaries the run must respect, and the exits that stop it. Fixes the two failures goal-gated runs actually die of: a run "marked done" on the worker's own word, and a run that can never satisfy its condition because the condition was never checkable.
When NOT to use
- Runtime symptoms — the loop stalls, repeats itself, drifts, or ignores
caps →
engineer-agent-loop. Diagnose the harness first; the goal text may be fine. - Ordinary prompt work — rewriting a system/task prompt →
optimize-prompt. - Comparing or benchmarking prompts →
evaluate-prompts. - Human/project goal-setting — OKRs, tickets, roadmap "definition of done" with no autonomous run attached.
- Compound asks ("rewrite the goal AND add harness caps"): write the goal
text here, then hand off to
engineer-agent-loopfor enforcement.