loop-goal
Installation
SKILL.md
loop-goal
Turns a loose request into a runnable artifact. This skill writes it; it never executes it.
The artifact is a pair
/goal is a real command in Claude Code and Codex: it re-checks a condition after every turn and
starts another turn until the condition holds. The condition is capped at 4.000 characters.
So emit two pieces:
- The document —
.claude/goals/<slug>.md: the full contract (autonomy, product defaults, gates, review, progress, stop rules). No size limit. - The
/goalline — target ≤600 characters: the measurable criterion written out, a pointer to the document, the turn cap.
Cursor has no engine: same document, plus a short opening message telling the agent to read and execute it.