/goal in Claude Code: Autonomous Mode and Agent View in 2026
MarkdownThe /goal command in Claude Code 2.1.139 launches autonomous mode: the agent works until it achieves the goal. I explain Agent View, worktrees, and 5 examples.
Read full article
Ailoot reference documentation: ailoot.ai/docs/.
What is /goal in Claude Code?
Key takeaways
/goal is a command in Claude Code 2.1.139+ (released May 11, 2026) that launches autonomous mode: you set a completion condition, and Claude writes code, runs tests, and continues with the next turn until the goal is achieved. After each turn, a small model (Haiku by default) reads the transcript and answers “yes/no” to the condition. It can be activated in a regular session or in headless mode via claude -p.
Previously, Claude Code stopped after each response and waited for your next prompt. This worked for short tasks, but broke down on long ones: an API migration, fixing 12 failing tests, refactoring an 800-line file—these tasks require 20–30 iterations, and each one brought you back to the terminal.
/goal solves this problem with a simple idea: separate “the one who does the work” from “the one who decides what’s finished.” The main agent writes code. A separate evaluator (the fast Haiku model) reads the conversation after each turn and answers one question: “Has the condition been met?” If not, the agent starts another turn. If yes, control returns to you.
Anthropic’s official documentation defines it this way:
The /goal command sets a completion condition, and Claude works toward it without waiting for your prompt at each step. After each turn, a small, fast model checks whether the condition has been met. If not, Claude starts the next turn instead of returning control to you. The goal is cleared automatically as soon as the condition is met.
The mechanism that makes long autonomous runs possible is the combination of /goal + Agent View, introduced in the same release on May 11, 2026.
Why is autonomous mode needed: what was there before and after May 11, 2026?
Key takeaways
Before May 11, 2026, Claude Code had no built-in autonomous mode. Developers wrote their own bash scripts with cron timers, which led to financial disasters—one developer spent $6,000 overnight on May 22 because the cache TTL changed from one hour to 5 minutes without notice. /goal built autonomy into the tool itself with a supervisor architecture, a turn limit in the condition, and an evaluator model that stops looping sessions.
The idea of “leaving AI to work overnight” had existed since the fall of 2025, when Cursor Composer and Cline auto mode could already run in the background. But before May 11, 2026, Claude Code required a manual wrapper for this: a cron task that called claude -p every N minutes, or a wrapper that watched git status and launched the next prompt.
This DIY approach regularly led to disasters. On May 22, 2026, a developer left such a script running overnight and woke up to a $6,000 bill. The root cause: Anthropic silently changed Claude Code’s cache TTL from one hour to five minutes without an announcement. Cron called production every 30 minutes—the cache had time to expire between runs. Each run rebuilt an 800,000-token history from scratch. Writing fresh data to the cache costs much more than reading from an active one.
The developer wasn’t doing anything exotic—he was using the tool exactly as Anthropic advertised it.
/goal solves this problem with a built-in architecture:
- Supervisor process that keeps the session outside your terminal and survives closing the window and the laptop going to sleep.
- Haiku evaluator—an inexpensive model checks each turn; the evaluator’s tokens cost pennies.
- Hard turn limit in the condition—you can explicitly write
or stop after 20 turns, and the session is guaranteed to stop. - Worktree isolation for background sessions—changes go to a separate branch without touching your working copy.
The difference from the “write your own bash script” approach is that Anthropic makes all these mechanisms first-class parts of the tool, not third-party hacks.
How to enable /goal in 3 steps
Key takeaways
The minimal process: 1) update Claude Code to 2.1.139+ via claude update or npm i -g @anthropic-ai/claude-code, 2) type /goal + a condition directly in the session, 3) monitor progress through the live overlay (elapsed time, turn count, tokens). The command works in both an interactive session and headless mode claude -p. To stop it, press Ctrl+C; to cancel the goal, use /goal clear.
Step 1. Update Claude Code to 2.1.139 or newer.
Check the version:
claude --version
If it’s below 2.1.139, update:
claude update
# or force it through npm
npm install -g @anthropic-ai/claude-code@latest
Releases between May 12 and 19, 2026 fixed important bugs in the first version. In 2.1.140, they fixed a silent hang where disableAllHooks blocked the evaluator. In 2.1.143, worktree.bgIsolation: "none" and a fix for stop hook loops arrived. In 2.1.144 (May 19), --resume for background sessions and agents --json for scripting were added. The minimum is 2.1.143.
Step 2. Type /goal with a condition.
Open a regular Claude Code session and enter the command:
/goal all tests in test/auth pass and the linter is clean, or stop after 15 turns
You don’t need to send a separate prompt afterward—the command starts the first turn immediately. The condition can be written in Russian, English, or a mix; the model understands both languages. The length limit is up to 4,000 characters.
Step 3. Monitor via the live overlay.
After /goal starts, a live panel appears at the bottom of the terminal:
/goal active · 3 turns · 12m elapsed · 18,400 tokens · last: tests in test/auth/login.test.ts still fail
What it shows:
- Turns—how many turns have been completed
- Elapsed—how much time has passed since launch
- Tokens—total tokens spent (the main figure for budget monitoring)
- Last—the evaluator’s last reason for saying “not yet”
A useful trick: if the evaluator returns the same reason three turns in a row, that’s a sign you’re in a loop. Then press Ctrl+C or enter /goal clear (synonyms: stop, off, reset, cancel), rephrase the condition, and launch again. This is the main sign of looping: “stuck on one reason three times—this is a loop, exit.”
How to write a good condition: 5 rules + 5 examples
Key takeaways
A condition is a verifiable exit condition, not a prompt. A good condition has three elements: a measurable end state (tests pass, build is green), a verification method (npm test exits 0), and constraints that must not be violated (“no edits to files outside /auth”). Bad conditions are vague (“make it look good”), unverifiable (“optimize UX”), or lack a turn limit. One developer burned $200 over 14 hours on a vague condition.
Anthropic’s documentation describes three required elements of a good condition:
A condition that holds up over many turns usually includes: one measurable final state—a test result, build exit code, file count, or empty queue; an explicit verification method—how Claude should prove it, such as
npm test exits 0or a cleangit status; and important constraints—what must not change along the way, such asno other test file is modified.
A ready-made template covers all three elements in one line:
/goal [do the work] until [measurable end state] without [constraints that must be observed]
Five rules that trip most people up:
Rule 1. The end state must be verifiable by a command, not by taste.
Not “make it look good,” but npm test exits 0. Not “improve UX,” but Lighthouse Performance score above 90. The evaluator reads only the transcript—it doesn’t run commands or look at screenshots. If the result can’t be recorded in text, the evaluator will never say “yes.”
Rule 2. Constraints must be explicit and narrow.
Without constraints, Claude might fix tests by deleting the tests themselves or commenting out failing assertions. Specify without modifying any file outside /auth, without removing existing assertions, without bumping major versions of dependencies.
Rule 3. A hard turn limit is required.
Add or stop after N turns to every condition. It’s a lifeline against an endless loop. Without a limit, a loop running for an hour burns more tokens than doing the same task manually. Budget for it.
Rule 4. Describe WHAT, not just HOW.
If you didn’t mention visuals in the condition, Claude won’t create them. If the condition requires only “tests pass,” Claude might comment out complex tests. Describe WHAT you want, not just HOW you’ll verify it.
Rule 5. Make Claude show evidence in the chat.
The evaluator doesn’t run commands—it only reads what Claude has already shown. If the condition requires “npm test is green” but Claude didn’t show the npm test output in the transcript, the evaluator will say “not yet” forever. Add the phrase “show the output of <command> in the conversation” to the condition.
Five working examples for common tasks:
1. API migration:
/goal every call to getUser() has been replaced with fetchUser(), npm test passes, npm run build is green, no other API names have been touched, or stop after 30 turns
2. Fixing tests:
/goal all failing tests in test/auth are now green (npm test shows 0 fails in the chat), without changing assertions or deleting tests, or stop after 20 turns
3. Code quality (file size):
/goal src/legacy/UserService.ts has been split into files under 200 lines each, all imports are updated, npm run build is green, or stop after 25 turns
4. Closing the backlog:
/goal process every issue labeled 'good-first-issue': read the description, implement a fix in a worktree branch, open a PR. Continue until the queue is empty or 6 issues have been processed
5. Security audit:
/goal every npm audit vulnerability with severity >= high is fixed, all existing tests pass, no breaking API changes, or stop after 15 turns
5 examples where /goal really works
Key takeaways
/goal works well for tasks with a verifiable end state: API migrations, fixing failing tests, breaking up large files, closing the issue backlog, and security audits. It works poorly for subjective tasks such as design, UX polishing, finding insights, and creative work. A rule of thumb: can you describe “done” with a bash command? If yes, it’s suitable. If not, return to a regular session or Plan Mode.
Anthropic’s documentation gives four types of tasks for which /goal is a good fit:
Use goal for substantial work with a verifiable end state: migrate a module to a new API until all calls compile and tests pass; implement a design doc until all acceptance criteria are met; split a large file into focused modules until each is within its size budget; process a backlog of labeled issues until the queue is empty.
Here are five examples with ready-made conditions—take them and adapt them to your project.
Example 1. Migrate a module to a new API.
Scenario: you’re moving from REST to GraphQL, or replacing the old getUser() function with the new fetchUser(). The task is mechanical but touches 30–50 files.
Condition:
/goal every getUser() in src/ has been replaced with fetchUser(), all calls updated to the new interface (id instead of userId), npm test passes, no files outside src/ touched, or stop after 30 turns
Why it works: the end state can be checked with grep -r getUser src/ | wc -l (should be 0) and npm test exits 0. The constraint protects test files.
Example 2. Fix failing tests.
Scenario: after a library update, 15 tests broke. You know the fix is mechanical—update mocks and adjust assertions to the new format. You don’t want to do it by hand.
Condition:
/goal all failing tests in test/ are now green, npm test shows the results in the chat with 0 failures, without deleting tests or commenting out assertions, or stop after 25 turns
Another example of the same kind of condition:
Fix all failing tests until npm test returns 0, without changing any file outside the /auth directory
Example 3. Break up a god class.
Scenario: one file with 1,200 lines contains everything—the model, service, utilities, and API client. You want to break it up according to the “one file, one responsibility” principle, update all imports, and keep tests passing.
Condition:
/goal src/legacy/UserService.ts has been split into files under 200 lines, each file handles one responsibility (model, repository, api-client, validator), all imports are updated, npm run build is green, existing tests pass, or stop after 25 turns
Example 4. Close the issue backlog overnight.
Scenario: you have an open-source repository with 20 issues labeled good-first-issue. You want Claude to work through them overnight.
Condition:
/goal process every issue labeled 'good-first-issue': read the description, implement a fix in a separate worktree branch worktree-issue-N, open a PR with a description. Continue until the queue is empty or 6 issues have been processed, or stop after 80 turns
The number 6 wasn’t chosen at random—it’s a realistic ceiling for one night on a Pro plan.
Example 5. Security audit.
Scenario: npm audit shows 8 high-severity vulnerabilities. You want Claude to fix them without updating major versions.
Condition:
/goal every npm audit vulnerability with severity high+ is fixed, npm audit shows 0 high in the chat, all existing tests pass, no breaking API changes, no major version bumps to packages, or stop after 15 turns
What NOT to do with /goal:
| Task type | Why it doesn’t work |
|---|---|
| “Make a beautiful UI” | The evaluator sees only text, not design |
| “Find an insight in the data” | No verifiable end state |
| “Optimize the page UX” | Subjective taste; the agent optimizes what is measured |
| Research / exploration | Open-ended—the evaluator doesn’t know when it’s “enough” |
| Production deployment | External side effects can’t be rolled back |
| Creating content / marketing | Text quality can’t be checked with a command |
Don’t use /goal for tasks where “done” means “looks good,” “feels right,” “well designed,” or “fun.” The evaluator reads only the transcript—it doesn’t run tools and can’t assess how the result works.
When /goal burns money for nothing: 3 anti-patterns
Key takeaways
Three typical /goal anti-patterns: a vague condition without a turn limit (one developer burned $200 over 14 hours), a recursive loop with stale cache ($6,000 overnight because the cache TTL changed), and creative tasks without a verifiable end state (a game generated without visuals, where the evaluator says “done” despite the missing graphics). The safeguards are to always include or stop after N turns, specify a measurable result, and check whether the task is suitable for autonomy in the first place.
Anti-pattern 1. Vague condition without a hard turn limit.
The most common mistake is a condition like “improve the code” / “make it good” / “optimize it.” Without a turn limit, that agent will keep running until it burns through your quota.
One developer reported burning $200 over a 14-hour session with vague conditions: a weak condition that makes the evaluator keep saying “not yet” can run for 50, 100, or 500 turns before you notice.
$200 over 14 hours on a vague condition is the entire weekly limit on the Max plan. You wake up in the morning with no quota and no useful result.
Safeguard: end every condition with or stop after N turns (15 for easy tasks, 50 for hard ones, and 100 maximum for overnight runs).
Anti-pattern 2. Recursive loop with broken caching.
The story from May 22, 2026: $6,000 overnight because Anthropic quietly changed the cache TTL from one hour to 5 minutes. The developer wasn’t using /goal directly, but the logic was the same: an autonomous loop with a 30-minute cron timer rebuilt an 800,000-token history from scratch every time.
The root problem was that external automation didn’t know about the provider’s internal changes. The same thing could happen with /goal if you run it for 8 hours without supervision: token use grows nonlinearly, and the prompt cache doesn’t work the way you think.
Safeguards:
- Don’t run
/goalfor 8+ hours without interim checks. - Enable usage limits in Settings → Usage (a new safeguard after the $6,000 incident).
- Open
claude agentstwice overnight—peek withSpaceand check that the turn count isn’t growing faster than expected. - For expensive model chains (Opus 4.7), set a stricter turn limit—30 maximum.
Anti-pattern 3. Creativity through /goal.
The general rule: the evaluator optimizes exactly what you measure. If the condition doesn’t mention visuals, there won’t be any. If it only mentions tests, it might comment out assertions.
Safeguard: don’t use /goal for anything that relies on taste (design, copy, UX). Return to a regular session or Plan Mode—they keep you in the decision loop.
What is Agent View and how to open the dashboard
Key takeaways
Agent View is a visual dashboard for managing background Claude Code sessions. Open it with the claude agents command in the terminal. Each background session appears as a row with a status (Working, Needs input, Idle, Completed, Failed, Stopped). It’s useful when you’re running 2–5 autonomous tasks at once—instead of switching between terminals, you can see everything on one screen. It includes peek (Space—quick view without attaching), attach (Enter), detach (left arrow), and pin (Ctrl+T).
If /goal is the command “work until you’re done,” Agent View is the control room where you can see all those commands at once. Anthropic describes it this way:
Agent view opens with
claude agents—one screen for all your background sessions: what’s working, what needs your input, and what’s done. Start new sessions, check their status at a glance without scrolling through transcripts, and attach only when a session needs you.
Command to open it:
claude agents
A TUI opens—a text dashboard inside the terminal. The session list is on the left, and the peek pane with the latest message from the selected row is on the right.
Six session states:
| State | Meaning |
|---|---|
| Working | Claude is actively working—making tool calls or generating a response |
| Needs input | Claude is waiting for your answer to a specific question or permission |
| Idle | The session is inactive and ready for the next prompt |
| Completed | The task has been completed successfully |
| Failed | The session ended with an error |
| Stopped | The session was stopped with Ctrl+X or claude stop |
Main shortcuts:
↑ / ↓ move through the session list
Space peek pane (view without attaching)
Enter / → attach to a session (enter it)
← detach (leave without killing it)
Ctrl+T pin (protect the session from auto-stopping)
Ctrl+X stop the session; press again within 2 sec to delete
Ctrl+R rename
Ctrl+S toggle grouping (state ↔ directory)
How to start a background session:
From interactive Claude Code:
/bg fix the failing test test/auth/login.test.ts
Or directly from the shell:
claude --bg "fix the failing test test/auth/login.test.ts"
Or with a name (so it appears in Agent View under a recognizable label):
claude --bg --name "flaky-test-fix" "fix test/auth/login.test.ts"
The background session is automatically added to Agent View—launch with --bg, open claude agents, and you’ll see it in the list.
The main feature: sessions survive the laptop going to sleep and the window closing:
Session state is saved to disk and survives auto-updates and supervisor restarts. Sessions are also saved when the machine goes to sleep. When it wakes, their processes resume and the supervisor reconnects to them rather than treating the pause as idle time.
But shut down the laptop or manually reboot, and the background sessions end in Failed. Overnight runs with many background agents only work on a laptop that isn’t turned off.
Worktrees: how Claude isolates parallel sessions
Key takeaways
A worktree is a separate copy of your repository in .claude/worktrees/<name>/ on a separate worktree-<name> branch. When you launch a background session via /bg or Agent View, Claude automatically moves it into a worktree before editing files. Parallel sessions can read the same checkout but each writes to its own copy, so they don’t overwrite each other’s work. You can opt out with worktree.bgIsolation: "none" in .claude/settings.json (a feature since 2.1.143).
Worktrees solve the main problem with parallel autonomous work: what if two sessions try to edit src/auth.ts at the same time? Before 2.1.139, such sessions could literally overwrite each other’s changes. With Agent View, Anthropic introduced automatic isolation:
Any background session launched from agent view, via /bg, or with
claude --bgstarts in your working directory. Before editing files, Claude moves the session into an isolated git worktree in.claude/worktrees/, so parallel sessions read the same checkout but each writes to its own.
How it works in practice:
# Launched three background sessions:
claude --bg --name "fix-tests" "fix the failing tests in test/"
claude --bg --name "add-oauth" "add Google OAuth according to the plan in plans/oauth.md"
claude --bg --name "split-userservice" "split UserService.ts into modules"
# File structure after launch:
.claude/worktrees/
├── fix-tests/ # separate repo copy on branch worktree-fix-tests
├── add-oauth/ # separate copy on branch worktree-add-oauth
└── split-userservice/ # separate copy on branch worktree-split-userservice
Each session works in its own copy. When the task is done, you merge the needed branches into main.
Dangerous pitfall—deleting a session deletes its worktree.
Worktrees created by Claude are removed along with the session in agent view: merge or push changes before deleting a session that edited files in its own worktree.
If you kill a session in Agent View (press Ctrl+X twice), its worktree disappears. All uncommitted changes are lost. Before deleting a session in Agent View, always commit or push.
Opt-out (for rare cases):
If you have a repository where git worktrees don’t work (for example, a setup with symlinks or a large monorepo with a slow checkout), you can disable isolation:
// .claude/settings.json
{
"worktree": {
"bgIsolation": "none"
}
}
Then background sessions will edit your working copy directly. This opt-out arrived in 2.1.143 after complaints from teams with large monorepos.
Parallelism burns quota:
Rate limits apply here too: background sessions use subscription quota just like interactive sessions, so 10 parallel agents burn quota about 10 times faster than one.
That means a Pro plan ($20/month) is enough for 1–2 parallel sessions overnight, not ten. If you want to run many agents in parallel, you need Max or Enterprise.
Combining /goal + Plan Mode + subagents for long tasks
Key takeaways
/goal is the final link in the chain on its own. Before it, use Plan Mode to create a phased plan in plans/ and subagents to distribute the work. The combination works like this: 1) Plan Mode writes a detailed plan with verifiable checkboxes, 2) subagents can work on different phases in parallel in their own worktree branches, 3) /goal runs the “work → evaluator → next turn” cycle until every checkbox is checked. Without Plan Mode, /goal is useless for complex tasks.
A typical failure is to immediately type /goal build a new feature. This doesn’t work because the evaluator doesn’t know what a “finished feature” looks like. You need a plan with checkboxes that the evaluator can verify one by one.
Layer 1. Plan Mode writes a phased plan.
In Plan Mode, ask Claude to create a detailed change plan divided into 5–7 phases with verifiable checkboxes. Save it as plans/2026-05-24-google-oauth.md. Each phase has 3–7 checkboxes with concrete actions.
Layer 2. Subagents divide the work by phase.
If the plan can be parallelized (for example, the phases are independent—a backend endpoint + frontend form + DB migration), you can launch each phase in a separate background session via claude --bg --name "<phase>". Each session gets its own worktree.
Layer 3. /goal runs the cycle until the checkboxes are complete.
/goal all phases 1–7 in plans/2026-05-24-google-oauth.md are complete and marked [x], all tests in test/auth pass (npm test shows 0 failures), npm run build is green, or stop after 50 turns
After each turn, the evaluator reads the plan, checks which boxes are complete, and if anything remains, the agent continues.
This combination relies on three components:
- the right context in
plans/—the evaluator reads it - the
plans/folder stores the plan between sessions (second brain) - CLAUDE.md sets the rules the agent follows
Without CLAUDE.md, /goal may suggest a solution that breaks the architecture. Without a plan in plans/, the evaluator doesn’t know the success criteria. Without subagents, there are no parallel phases; everything is sequential.
How to compare /goal with Codex, Cursor, and other agent modes
Key takeaways
The useful distinction is how a task continues, where it runs, what permissions it has, and how completion is checked. There is no sourced, like-for-like measurement here supporting a universal token-efficiency multiplier or a fixed number of steps after which another tool loses coherence. Compare the actual model, client, version, execution mode, and task before choosing.
/goal adds a separate completion check after each turn. Other products have different modes, and a local CLI, hosted cloud task, and supervised editor session are not interchangeable comparison units. In particular, do not describe all Codex CLI work as a cloud container or assume one validator model and one billing method for every Codex run.
Use the same repository snapshot and task with the same acceptance checks. Record these dimensions for each candidate:
| Dimension | What to record |
|---|---|
| Execution | Client/version and local or hosted runtime |
| Model | Exact model, reasoning effort, and context limits |
| Continuation | What starts another turn and what stops it |
| Isolation | Working copy, permissions, secrets, and network access |
| Result | Accepted checks, failures, and human corrections |
| Usage | Input, cache-read/write, output tokens, elapsed time, and actual billing method |
A claim that one tool uses a fixed multiple more tokens needs those conditions and measured counts for the same successful outcome. A benchmark percentage likewise needs its benchmark version, model, harness, and run settings; Terminal-Bench percentages without those details are not a substitute for that evidence. This article provides no independent cross-tool benchmark.
Choose based on the workflow you need: supervised edits, a bounded background task, or a multi-turn task with an explicit completion condition. Test the installed product’s supported mode rather than assuming an entire competitor lacks autonomous operation. Keep permission approval separate from task continuation: automatically approving a tool call does not by itself establish that the user’s goal has been met.
/goal vs /loop:
/loop is another command from the same release, and it launches periodic tasks at a time interval (every N minutes). /goal is condition-based (until it is met). Use /loop for cron-like tasks and /goal for discrete goal achievement.
From Anthropic’s documentation:
| Approach | The next turn starts when | It stops when |
|---|---|---|
/goal | The previous turn has ended | The model confirms the condition |
/loop | The time interval has elapsed | You stop it, or Claude decides the work is done |
| Stop hook | The previous turn has ended | Your script or prompt decides |
Pre-launch /goal checklist: 7 items
Key takeaways
Before every /goal run, check 7 items: Claude Code version 2.1.139+, condition includes a verifiable end state, hard turn limit is present, constraints are explicit, all important changes are committed, usage limits are enabled in Settings, and Agent View is open for monitoring. Missing one item could cost you several hundred dollars and lost work.
Checklist before every /goal run:
Claude Code version 2.1.139+—check with
claude --versionand update if lower. The minimum recommended version is 2.1.143 (May 15, 2026), which fixes stop hook loops.The condition includes a verifiable end state—instead of “improve it,” specify
npm test exits 0. If you can’t come up with abashcommand to verify the result,/goalisn’t for this task.There is a hard turn limit—every condition specifies
or stop after N turns. Use 15 for easy tasks, 50 for hard ones, and 100 maximum for overnight runs.Constraints are explicit and narrow—
without modifying files outside /auth,without removing existing assertions,without bumping major versions. Without them, Claude may fix tests by deleting the tests themselves.All important changes are committed or pushed—if you’re not working in a worktree (for example,
worktree.bgIsolation: "none"), Claude edits your working copy. Any mistake could mean losing unsaved work.Usage limits are enabled in Settings → Usage—a new safeguard after the $6,000 incident. Set a limit per day, per session, and per month.
Agent View
claude agentsis open in a separate window—for long tasks, peek with Space once an hour. If the turn count grows faster than expected or the evaluator repeats the same reason for three turns, pressCtrl+Cand rephrase the condition.
One additional item—never run /goal with --dangerously-skip-permissions on someone else’s or unfamiliar code. That combination disables all checks and lets the agent do whatever it wants in your project. The author of this analysis uses it only in a fresh worktree where there is nothing to lose.
/goal is a powerful feature, but it isn’t magic. It works exactly as well as you can formulate the condition. If you can describe “done” in words so that a command can verify it, /goal will do the rest. If you can’t, return to a regular session or Plan Mode.
Sources
You can continue exploring Ailoot at ailoot.ai.
More details
Questions about /goal in Claude Code: Autonomous Mode and Agent View in 2026
How should I write a completion condition the evaluator can check?
State one measurable result, the command or evidence that proves it, and constraints such as preserving assertions or staying within specified files. Include an explicit stopping bound and make the agent show the verification output in the conversation.
Is a fixed token-efficiency multiplier enough to choose an agent?
No. There is no like-for-like measurement supporting that multiplier. Compare the same accepted task and record model, client version, execution mode, cache and token usage, elapsed time, and human corrections.