In a recent video, the channel Code & bird put Anthropic's Claude Code through its paces, focusing on a new feature called /goal. This command allows developers to set a condition, and Claude will autonomously work toward it without requiring step-by-step prompts.
How /Goal Works
/goal is essentially a wrapper around a Stop hook. When you set a goal, two separate models are involved:
- The main model (Sonnet, Opus, etc.) does the actual work—reading files, writing code, running commands.
- The evaluator model (Haiku by default) is a small, fast model that never touches tools. It can't run
npm testorcata file; it only reads the conversation transcript to determine if the condition has been met.
This separation is deliberate. The main model has a bias toward declaring victory—it's been working for a while, the diff looks plausible, so it assumes it's done. The evaluator model comes in fresh and checks objectively whether the condition is actually satisfied.
Real-World Testing
The video demonstrates /goal in action, showing how it can persist through multiple iterations until the goal is achieved. The reviewer notes that while the feature is powerful, it's not magic: you still need to frame the goal clearly. However, once set, Claude Code can grind through the work without constant oversight.
Verdict
While the video doesn't deliver a verdict, the demonstration suggests that /goal is a significant productivity boost for developers who use Claude Code extensively. It reduces context-switching and lets the AI handle the heavy lifting on well-defined tasks.