
Type /goal followed by what finished looks like. Claude starts right away. After each turn, a separate small model reads the conversation and decides whether the finish line has been reached. If it hasn't, Claude takes another turn instead of stopping to wait for you. Add or stop after 20 turns so it can't run on forever. Type /goal on its own to see how it's going, and /goal clear to stop it early. /goal works in the terminal and in the desktop app. From version 2.1.329 the goal also shows in /tasks: press x on it, then choose "Yes, stop" (we tried that in the terminal).
In our test we set a goal that needed three turns. Twice Claude stopped early, and both times the check sent it back with a reason, such as "count.txt does not yet contain 3". It stopped when the goal was met.
/goal every recipe in the recipes folder is listed in index.md with its total time, and you have shown me the finished index.md. Or stop after 20 turns./goal clearWhy it works
Claude sometimes ends a turn with a progress update while work is still open. The goal sends it back, and the call that it's finished is made by a model that didn't do the work.
Watch out
The check only sees what Claude shows in the conversation. It doesn't open your files or your app itself. So write a finish line Claude can prove, like "and show me the finished file", not "the site looks nice". A goal also doesn't stop Claude asking your permission: if it asks before each change, a long goal waits for you to say yes.