/goal
A slash command in Claude Code that has the AI execute a task repeatedly until a preset goal condition is satisfied; after each round, a separate small model determines whether the condition has been met.
Timeline (last 90 days)
Using the /goal command to make the AI keep working until every checklist item is checked off, the process was run twice, and the first run even went all night.
/goal is a command in Claude Code for setting persistent session goals, allowing the top-level task description to be pinned throughout a long conversation and to remain visible after context compression.
All Facts (12)
Users can set safety caps in the /goal finish-line conditions, such as round limits or time limits, to prevent infinite runs.
85%UnverifiedTo achieve fully autonomous operation of /goal, Auto-approve mode must be enabled; otherwise, Claude will pause and wait for confirmation at each operation.
85%Unverified文章提出的五段式 /goal 模板包含目标、背景、范围、验收、交付五个部分,借鉴了软件工程中的用户故事和验收测试驱动开发(ATDD)的思想
85%UnverifiedThe /goal command is backed by a dual-agent architecture that runs two AI agents simultaneously: one responsible for executing tasks (the worker) and another responsible for verifying whether the goal has been achieved (the boss).
80%UnverifiedTraditional AI coding assistants typically operate in a single-turn interaction mode; the /goal command introduces a goal-oriented continuous loop mechanism.
80%UnverifiedEntering /goal again without arguments while /goal is running displays a dashboard containing the elapsed time, number of completed rounds, and number of tokens consumed.
75%Unverified/goal 引入的持久目标状态本质上是 AI Agent 架构的核心组件之一,与 AutoGPT、LangChain Agent 等框架的设计理念一脉相承
75%UnverifiedTristen O'Brien曾因一个/goal任务耗光了一天的token额度
70%Unverified/goal命令中的老板智能体无法自行查看用户的文件,只能看到工人智能体汇报的内容
70%UnverifiedThe boss agent in the /goal command intervenes after each round of worker operations to review whether the goal has been achieved; if not, it initiates the next round.
60%UnverifiedUsing the /goal command to make the AI keep working until every checklist item is checked off, the process was run twice, and the first run even went all night.
50%Unverified/goal is a command in Claude Code for setting persistent session goals, allowing the top-level task description to be pinned throughout a long conversation and to remain visible after context compression.
50%