According to a post on X, Claude Code 2.1.139 has added /goal.
The command appears to let Claude keep working across turns until a completion condition is met, and the post claims it works in interactive mode, -p, and Remote Control.
The post also outlines how Claude Code determines when to continue and when to stop. These modes are now listed as:
/goalwaiting for an outcome/loopwaiting for the clock- stop hooks waiting for a script
/goal was also added last week on Codex, where it drew positive feedback from the community, along with a practical path from repeated turn-by-turn prompting to a single declared exit condition. One reply described the appeal as finishing work without constant intervention, though the same thread repeatedly returned to the practical constraint of token and usage limits.
Source: X post


