write-agent-stop-condition
Installation
SKILL.md
Write Agent Stop Condition
A stop condition decides when the agent may finish. A vague one is met by a claim ("tests pass"),
and an unbounded one loops until limits end it. Claude Code has two forms: /goal, judged by a
small model from the transcript, and a Stop hook, which runs a real command. Codex has only the Stop
hook.