Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

16 pages for /goal.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Best practices for Claude Code Claude Code CLI · in the page best-practices …, as in the table above. * **Across a session**: set the check as a [`/goal` condition](/docs/en/goal). A separate evaluator re-checks it after every turn and Claude keeps working until the goal resol… Commands Claude Code CLI · in the page commands …| | `/goal [condition\|clear]` | Set a [goal](/docs/e… Manage costs effectively Claude Code CLI · in the page costs …oal check-ins**: while background work keeps an active [goal](/docs/en/goal.md) waiting, Claude Code [asks Claude to check on that work](/docs/en/goal.md#background-work-defers-evaluation) even when t… Environment variables Claude Code CLI · in the page env-vars …goal waiting before Claude Code [asks Claude to check on it](/docs/en/goal#background-work-defers-evaluation). Default `30`. Set `0` to turn check-ins off. Give whole minutes in plain digits, at most… Glossary Claude Code CLI · in the page glossary …ping after one attempt. A verification loop is the prerequisite for [`/goal`](/docs/en/goal), unattended runs, and [dynamic workflows](/docs/en/workflows.md): without one, the only thing deciding the… Keep Claude working toward a goal Claude Code CLI · in the page goal …Keep Claude working toward a goal > Set a completion condition with /goal and Claude keeps working until it's met, a model judges it impossible, or an error you have to fix clears the goal. The `/g… Hooks reference Claude Code CLI · in the page hooks …errors fire [StopFailure](#stopfailure) instead. > [!TIP] > > The [`/goal`](/docs/en/goal) command is a built-in shortcut for a session-scoped prompt-based Stop hook. Use it when you want Claude to… Model configuration Claude Code CLI · in the page model-config …he path. To keep it working toward that outcome, [set a goal](/docs/en/goal.md). * **Hand it ambiguous problems**: root-cause investigations, outage debugging, and architecture decisions are where the… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …s/en/hooks.md) and in plugins' `hooks/hooks.json`, status lines, and `/goal` aren't affected * **Built-in mods keep running**: mods built into Claude Code, such as `AGENTS.md` support, each have [thei… Prompt library Claude Code CLI · in the page prompt-library …mpare it to the original, and fix any differences', nextHref: '/en/goal', src: 'best-practices' }, { id: 'follow-an-existing-pattern', sdlc: 'build', cat: 'Implement', roles:… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …urn after turn toward a condition rather than on an interval**: see [`/goal`](/docs/en/goal). Tasks are session-scoped. When you resume with `--resume` or `--continue`, Claude Code restores tasks tha… Manage sessions Claude Code CLI · in the page sessions …sions` to override the restored mode. * Active goal: a [goal](/docs/en/goal.md#resume-with-an-active-goal) that was still active when the session ended carries over; its turn count, timer, and token-s… All settings Claude Code CLI · in the page settings-reference …file suggestion gates](#status-line-and-file-suggestion-gates) The [`/goal`](/docs/en/goal) command can't run while this key is set, because it depends on hooks. ### `disableAllHooks` Turn off [hoo… Week 20 · May 11–15, 2026 Claude Code CLI · in the page whats-new/2026-w20 …theme={null} claude agents ``` [Agent view](/docs/en/agent-view.md) /goal v2.1.139 Set a completion condition and Claude keeps working toward it across turns without you prompting each step. After… Week 34 · August 17–21, 2026 Claude Code CLI · in the page whats-new/2026-w34 …s apply to the rest of the current turnWhen background tasks keep a [`/goal`](/docs/en/goal#background-work-defers-evaluation) waiting, Claude checks in on them after 30 minutes instead of waiting ind… What's new Claude Code CLI · in the page whats-new/index …running, what's blocked on you, and what's done. Also this week: **`/goal`** keeps Claude working across turns until a completion condition holds; **fast mode** now runs on Opus 4.7 by default; and…
Feedback