Home › Rules › Claude Code advisor
Claude Code advisor: how to turn on /advisor, which model can advise which, and what it costs
Short answer: the Claude Code advisor is an experimental tool that lets your main model ask a second, usually stronger model for guidance partway through a task. Turn it on with /advisor opus (saved as your default), "advisorModel": "opus" in settings, or claude --advisor opus for one session. Claude decides when to ask. The advisor has to rank at or above your main model, so with the default Opus 5.5 main model only Fable or Opus 5 and later can advise. Each call reads the whole conversation and is billed at the advisor's rates, or counts toward your plan's usage limits. It only works on the Anthropic API and Claude Platform on AWS.
What the advisor does
It's a server-side tool that runs on Anthropic's side, on subscription plans and API billing alike. When Claude calls it, the advisor model gets the full conversation, every tool call and result included, and sends back guidance that Claude applies before it carries on. You pick the advisor model; Claude picks the moments. Anthropic says it tends to ask before committing to an approach, when an error keeps coming back, and before saying a task is done, but "the timing is model-driven rather than rule-based."
When it's worth it, per Anthropic: long, multi-step jobs where most turns are routine but the plan decides how it turns out, like big refactors, a bug that keeps coming back, or work you want checked before Claude calls it finished. It adds less on short tasks, or on work where every turn needs the strongest model. For those, just switch the main model with /model.
Turning on the advisor
/advisor # open the picker (or print the current advisor where there's no picker)
/advisor opus # set Opus as the advisor and save it as your default
/advisor off # stop using it
claude --advisor opus # this session only; your saved setting stays as it is
Free rules starter pack for Cursor, Claude Code, Codex and Antigravity
One shared AGENTS.md that works across Cursor, Claude Code, Codex, Copilot and Antigravity, plus database and test rules in each tool's format. Unzip it into your project and fill in two sections. I'll email you the link.
Free. No spam. Unsubscribe anytime. See our privacy note.
/advisoropens a picker with the models that can advise you and No advisor. Picking one printsAdvisor set toand the model name, and saves it toadvisorModelin~/.claude/settings.json. Picks made over Remote Control or in a session attached to a remote worker apply to that session only.- No picker? In
claude -p, the Agent SDK, the desktop app and Remote Control, type the model oroffafter/advisor. With nothing after it, it prints the current advisor and the names it accepts (Claude Code v2.1.260 or later). advisorModeltakes"fable","opus","sonnet"or a full model ID such as"claude-haiku-5-5". It's unset by default, which means the advisor is off. It works in any settings file.--advisorbeatsadvisorModelfor that one session. It isn't listed inclaude --help, though the CLI reference has it.
Once it's on, Claude Code shows Advisor Tool (experimental) is on and may use more tokens · /advisor when the session starts.
Where it works
- Provider: the Anthropic API or Claude Platform on AWS (Claude Code v2.1.300 or later there). Subscription plans and API billing both work. Not Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry.
- Through an LLM gateway (
ANTHROPIC_BASE_URL): only if the gateway passes the request through to Anthropic untouched. - Main model: Fable, Opus 4.6 or later, Sonnet 4.6 or later, Haiku 4.5 or Haiku 5.5.
- Feature flags: outside Claude Platform on AWS, the advisor is switched on by a flag Claude Code downloads from Anthropic.
DISABLE_TELEMETRY,DO_NOT_TRACK,CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICandCLAUDE_CODE_DISABLE_FEATURE_FLAGSstop that download, so no advisor.
Which model can advise which
Claude Code ranks the models for this job, and the advisor must rank at or above the main model. Anthropic's table, weakest main model first:
| Your main model | Advisors it accepts |
|---|---|
| Haiku 4.5 | Fable, Opus, Sonnet, Haiku 5.5 |
| Sonnet 4.6 | Fable, Opus, Sonnet, Haiku 5.5 |
| Opus 4.6 | Fable, Opus, Sonnet 5 or later, Haiku 5.5 |
| Sonnet 5 or Haiku 5.5 | Fable, Opus 4.7 or later, Sonnet 5 or later, Haiku 5.5 |
| Opus 4.7 or 4.8 | Fable, Opus 4.7 or later, Sonnet 5.5 |
| Sonnet 5.5 | Fable, Opus 5 or later, Sonnet 5.5 |
| Opus 5 or 5.5 | Fable, Opus 5 or later |
| Fable 5 | Fable 5.2, 5.1 or 5 |
| Fable 5.1 | Fable 5.2 or 5.1 |
| Fable 5.2 | Fable 5.2 only |
- The catch most people hit: Opus 5.5 is the default main model on every paid plan and the API, so a Sonnet advisor never activates there. Either pick Opus or Fable as the advisor, or switch the main model to Sonnet or Haiku with
/model. - The
fable,opusandsonnetnames point at the version Claude Code picks by default, which moves up with new releases. Haiku 5.5 can only be set by full ID (claude-haiku-5-5). Haiku 4.5 can use an advisor but can't be one. - Versions: Fable 5.2 needs Claude Code v2.1.321 or later, Fable 5.1 v2.1.257, Haiku 5.5 (either side) v2.1.293, and Sonnet 5.5 advising Opus 4.7 or 4.8 v2.1.287. Fable also needs Fable access on your account.
- Subagents get the same advisor, checked against their own model. So an advisor that's too weak for your Opus main session can still help a Haiku subagent.
What each model is and costs: Claude Code models.
Pairings Anthropic suggests
| Main + advisor | What it's for (Anthropic's notes, shortened) |
|---|---|
| Sonnet + Opus | Sonnet does the routine work and hands planning, unclear failures and the done-check to Opus |
| Sonnet + Fable | Fable's guidance at decision points without running Fable the whole time (needs Fable access) |
| Haiku + Opus | The cheapest main model with strong planning; costs more than Haiku alone but less than moving the main model to Sonnet or Opus |
| Opus + Opus | A second Opus reviews the first, for jobs where an independent check matters more than cost |
| Fable + Fable | The strongest pairing when you have Fable. An Opus or Sonnet advisor is never applied to a Fable main model |
| Sonnet + Sonnet | A cheaper second opinion for catching routine slips |
Our setup: a cheaper main model with Opus at the hard points
A project settings file that runs Sonnet and gives it Opus as the advisor (Sonnet 5.5 accepts Opus 5 or later, so this pairing activates on the Anthropic API):
{
"model": "sonnet",
"advisorModel": "opus"
}
There's no setting that caps or forces advisor calls. Anthropic says to put it in your instructions instead, and you can always ask in a prompt ("consult the advisor before you continue"). This block goes in your CLAUDE.md. The timing follows the advice in Anthropic's API docs: ask once early after a look around, and once at the end after the files are written and tests have run.
## Advisor
- On any task that changes more than 3 files, read what you need first, then consult the advisor before you edit anything.
- After the tests have run, consult the advisor again before you tell me the task is done.
- If the same error comes back twice, consult the advisor before you try a third fix.
- Don't consult it for one-line edits, renames, or questions about how the code works.
- If the advisor's advice doesn't match what the files or test output show, tell me which one you went with and why.
And two one-session launches, for when you don't want to change your saved setting:
# Haiku does the routine work, Opus is asked at the hard points (this session only)
claude --model haiku --advisor opus
# Opus does the work and a second Opus checks it before it's called done
claude --model opus --advisor opus
New to CLAUDE.md? Start from our CLAUDE.md examples or the free rules generator.
What you'll see while it works
During a call, the transcript shows an Advising line with the advisor's name. When it comes back, the line says one of three things:
- Reviewed: the advisor read the conversation. If it sent readable guidance, press
Ctrl+Oto read it. - Declined:
Advisor declined to advise on this request.Ctrl+Oshows the reason if it gave one. - Unavailable:
Advisor unavailable (<error_code>). The call failed and Claude carries on without advice; your request doesn't fail.
Claude usually follows the advice, but if a suggested step fails or the files say otherwise, it tells you about the conflict instead of following blindly. The error codes come from the Claude API's Advisor tool page:
| Code in "Advisor unavailable (...)" | Meaning |
|---|---|
overloaded | The advisor model hit capacity limits |
too_many_requests | The advisor call was rate-limited |
prompt_too_long | The conversation is bigger than the advisor model's context window |
execution_time_exceeded | The advisor call timed out |
model_not_found | The advisor model you set isn't available |
max_uses_exceeded | A per-turn call cap was reached (an API setting; Claude Code doesn't give you one) |
unavailable | Any other failure |
For overloaded and too_many_requests there's nothing to fix on your side; the next call may go through. For prompt_too_long, /compact shrinks the conversation.
Matching kit: MVP Spec-to-Build Pack ($7)
The free rules set the boundaries. The MVP pack gives you the build order: a 1-page spec to fill in first, then 7 prompts in sequence (skeleton, review, login, database, security, one feature at a time, polish), plus a "did I leak user data?" checklist.
See the MVP Spec-to-Build Pack ($7) →
Instant download. 7-day refund, no questions asked.
What the advisor costs
Every call has the advisor read the whole conversation, so you pay for those tokens on top of your main model:
- API billing: the advisor model's input and output prices.
- Pro, Max, Ultra and other plans: it counts toward your plan's usage limits, except that a Fable advisor bills to usage credits on plans where Fable usage does.
/usageincludes advisor use in the session totals. If a limit stops you mid-task, Claude Code usage limits covers the messages and what to do.
Anthropic's reasoning for why it can still save money: Claude calls the advisor "at decision points rather than on every turn, so pairing a faster main model with a stronger advisor typically costs less than running the stronger model throughout." That's their claim, not a test of ours.
Caching: turning the advisor on or off mid-session doesn't break your main model's prompt cache (switching /model does), and the advice it returns is cached with the rest of the chat. But the advisor's own read is never cached in Claude Code: each call reads the full conversation fresh.
Fable as advisor: if your account needs the one-time consent to bill Fable to usage credits, /advisor fable saves nothing and points you to /model fable. Run that, choose to continue on Fable (which also makes Fable your main model), then set Fable as the advisor. Plan details: Claude Pro vs Max vs Ultra.
Advisor vs opusplan, subagents, /model and ultracode
- Advisor: the stronger model steps in at decision points, and Claude chooses when.
opusplan: Opus while you're in plan mode, then Sonnet builds. You choose when, by entering plan mode.- A subagent with
modelset: the other model does a whole side job. Examples: Claude Code subagents examples. /model: the new model takes over from your next message.- Higher effort or ultracode: the same model thinks harder, or plans a workflow of many agents. See effort levels and workflows.
Anthropic's side-by-side table of the first four is on our Claude Code models page.
Turning the advisor off
/advisor off, or No advisor in the picker. To block it completely, set CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1: /advisor goes away, advisorModel is ignored, and --advisor is still accepted but does nothing, so old scripts don't break. A company can also leave the advisor's models out of its availableModels list; Claude Code then won't use a saved advisor that isn't on it.
Advisor not working: 8 things to check
Advisor will not activate on the main model (advisor is less capable). Your advisor ranks below your main model, often a Sonnet advisor with the default Opus main. Pick a stronger advisor or a smaller main model (table above). Leave it set if you want subagents on smaller models to keep using it.- You fixed the pairing and still get no advisor calls. If the API already refused the advisor once in this conversation, it stays off until
/clearor/compact, even after you switch models. Same when you pick a new advisor after a refusal. claude --advisor ...exits right away. The main model can't use an advisor, the model can't be one (Haiku 4.5),availableModelsleaves it out, or Fable still needs your usage-credits consent. Background sessions start without the advisor instead of exiting.- No advisor on Bedrock, Agent Platform or Foundry. It isn't offered there, and
advisorModeldoes nothing. On Claude Platform on AWS, update to v2.1.300 or later. - No advisor with telemetry turned off.
DISABLE_TELEMETRYand the other variables above stop the feature-flag download the advisor needs (except on Claude Platform on AWS). - Behind a proxy, every request failed with
400 … Input tag 'advisor_20260301'. Claude Code now retries without the advisor; the changelog says this was a 2.1.275 regression that was fixed. Update Claude Code, and if you want the advisor, the gateway has to pass the request through untouched. /advisor fabledoesn't stick. Accept the Fable usage-credits consent with/model fablefirst. Fable also needs Fable access, and v2.1.321 or later for Fable 5.2.Advisor unavailable (overloaded)or another code. The call failed on Anthropic's side and Claude kept going without advice; see the code table above.
Where Claude Code and the Claude API differ
The same advisor is also a Claude API tool (advisor_20260301, beta header advisor-tool-2026-03-01). The API page lists controls that Claude Code's Advisor page doesn't mention, so don't look for them in your settings:
- A call cap. The API has
max_usesper turn. Claude Code says "there is no setting to cap or force advisor calls"; use your instructions. - Caching the advisor's own reads. The API has an opt-in
cachingoption that it says breaks even at about three calls. Claude Code says the advisor's read "is not cached" and each call processes the full transcript anew. - Prompting. The API page gives Anthropic's suggested system prompt for coding agents, aimed at two or three advisor calls per task. In Claude Code you can only steer it through CLAUDE.md or your prompt, like our block above.
Related setups
The advisor sits on top of the rest of a Claude Code setup. Put your project rules in CLAUDE.md, pick the main model on Claude Code models, set how hard it thinks on effort levels, and hand off side jobs with subagents. Need a starting rules file? The free rules generator writes one.
Next step for Claude Code: Agent Skills
Skills are folders your AI coding agent loads only when the job comes up, and Claude Code, Cursor and OpenAI Codex all read the same SKILL.md format. The Vibe Coder Skills Pack ($9) is 6 ready-to-copy SKILL.md skills (fix-one-bug, stop-the-loop, leak-check, ship-check, explain-project, builder-handoff) for Claude Code, Cursor and OpenAI Codex. Also included in the 6-kit bundle.
Get the Skills Pack for $9 on Gumroad → See what's inside
One .zip of skill folders plus one markdown file. 7-day refund, no questions asked.
Best value
All 6 kits for $29 — or $20.30 with code WELCOME30 (through Nov 30)
The advisor gives Claude a second opinion at the hard points of one task. The kits give your AI the plan for a whole project, step by step: a small game, a Discord bot, an email-triage agent, an MVP, or a cleanup of messy code.
Get all 6 kits for $29 → See what's in each kit
$29 instead of $48 for the six kits bought separately; WELCOME30 takes 30% off that at checkout ($20.30). Instant download from Gumroad. 7-day refund, no questions asked.
Related
- Claude Code models (full list, aliases, /model, opusplan, effort)
- Claude Code effort levels (low to max, ultrathink vs ultracode)
- Claude Code workflows (/deep-research, saving a workflow, workflows vs skills)
- Claude Code agent teams (turn them on, cost, teams vs subagents, tmux)
- Claude Code subagents examples (7 copy-paste subagents)
- Claude Pro vs Max vs Ultra (which plan for Claude Code)
- Claude Code usage limits and rate limits (limit messages, resets, /usage, auto-continue, 429s)
- CLAUDE.md examples (copy-paste template)
- Free rules file generator
Sources
- Claude Code docs: Escalate hard decisions with the advisor tool
- Claude Code docs: Model configuration (aliases, availableModels)
- Claude Code docs: Settings reference (advisorModel)
- Claude Code docs: Commands (/advisor)
- Claude Code docs: CLI reference (--advisor)
- Claude Code docs: Environment variables (CLAUDE_CODE_DISABLE_ADVISOR_TOOL, feature-flag fetching)
- Claude Code docs: Error reference (advisor is less capable)
- Claude Code docs: Manage costs effectively
- Claude Code docs: Changelog
- Claude API docs: Advisor tool
Every command, setting, pairing and version number here was checked Nov 13, 2026 on Anthropic's own docs. The advisor is experimental and Anthropic says "behavior, pricing, and availability may change", so run /advisor and check the Advisor page if something looks different. If something here no longer matches, tell us at [email protected].