What
A new slash command that records a goal Claude tests before ending a turn. Pass a condition to set one, or clear to remove it.
Details
- Ships as a local command in this build; whether its registration is conditional on anything is not settled in the code.
Usage
/goal all tests pass
/goal clearEvidence
Set a goal Claude checks before stopping
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundle/goal/goal clear
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up /goal clear, on Keep Claude working toward a goal.
| `/goal` | The previous turn finishes, or, in an interactive session, an [idle check-in](#background-work-defers-evaluation) or an [automatic retry](#other-errors-retry-or-pause-the-goal) comes due | A model confirms the condition is met …goal see the edit
Confirmed since
Anthropic's documentation has since written up /goal, on Claude Code changelog.
* Fixed `/goal` runs silently stalling after API errors, network drops, or token limits: the goal now retries with backoff, or pauses and says why, including until a usage limit resetschangelog see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up /goal, on Claude Code changelog.