/goal
A Claude Code slash command, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Set a goal: Claude keeps working across turns until the condition is met or the goal clears for another reason. With no argument, shows the current or most recently achieved goal. clear, stop, off, reset, none, or cancel removes an active goal early
Anthropic's own wording. Read off Commands, captured 2026-09-28.
In the changelogs
11Releases whose published page names /goal.
-
v2.1.300
Plugin commands, marketplaces and /goal wait until organization settings are read
In some sessions, command-sourced plugins, plugin marketplaces and /goal are held back until your organization's settings load, then reloaded
found in this entry's text, named in this entry
-
v2.1.269
New structured pause/retry/stop classification for autonomous 'goal' turns, with user-facing pause messages
Autonomous 'goal' turns get structured pause/retry/stop handling with clear 'Goal paused' messages
found in this entry's text, named in this entry
-
v2.1.248
/goalsets a condition Claude checks before it stopsNew /goal command records a condition Claude checks before it finishes a turn.
named in this entry, found in this entry's text
-
v2.1.248
Completion goals can skip the approval prompt
Completion goals can be set without an approval dialog by passing ask_user false; clear with /goal clear.
named in this entry, found in this entry's text
-
v2.1.248
Goal state is published as a live event
Goal progress is now streamed live, so goal indicators update as it advances.
named in this entry, found in this entry's text
-
v2.1.234
Goals nudge themselves when background work is blocking them
Goals now nudge Claude every 30 minutes when background shells or agents are blocking evaluation.
named in this entry, found in this entry's text
-
v2.1.227
ProposeGoal: Claude can propose a session goal for one-keypress approval
Claude could propose a session goal you approve with one keypress, but it is switched off.
named in this entry, found in this entry's text
-
v2.1.169
/goalError Message Updatedfound in this entry's text
-
v2.1.140
/goalNow Blocked byallowManagedHooksOnlyfound in this entry's text
-
v2.1.139
/goalStatus and Completion Behaviorfound in this entry's text
-
v2.1.132
Goal Command [In Development]
found in this entry's text
First cited
6The earliest release whose published evidence quoted /goal was v2.1.139, 11 May 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the slash command does. All slash commands.