Home › Rules › Claude Code advisor

Claude Code advisor: how to turn on /advisor, which model can advise which, and what it costs

From Anthropic's own pages (Claude Code Advisor tool, Model configuration, Settings reference, Commands, CLI reference, Environment variables, Error reference, and the Claude API's Advisor tool page), checked Nov 13, 2026. Sources below.

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

The three ways to set it, from Anthropic's docs
/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

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

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 modelAdvisors it accepts
Haiku 4.5Fable, Opus, Sonnet, Haiku 5.5
Sonnet 4.6Fable, Opus, Sonnet, Haiku 5.5
Opus 4.6Fable, Opus, Sonnet 5 or later, Haiku 5.5
Sonnet 5 or Haiku 5.5Fable, Opus 4.7 or later, Sonnet 5 or later, Haiku 5.5
Opus 4.7 or 4.8Fable, Opus 4.7 or later, Sonnet 5.5
Sonnet 5.5Fable, Opus 5 or later, Sonnet 5.5
Opus 5 or 5.5Fable, Opus 5 or later
Fable 5Fable 5.2, 5.1 or 5
Fable 5.1Fable 5.2 or 5.1
Fable 5.2Fable 5.2 only

What each model is and costs: Claude Code models.

Pairings Anthropic suggests

Main + advisorWhat it's for (Anthropic's notes, shortened)
Sonnet + OpusSonnet does the routine work and hands planning, unclear failures and the done-check to Opus
Sonnet + FableFable's guidance at decision points without running Fable the whole time (needs Fable access)
Haiku + OpusThe cheapest main model with strong planning; costs more than Haiku alone but less than moving the main model to Sonnet or Opus
Opus + OpusA second Opus reviews the first, for jobs where an independent check matters more than cost
Fable + FableThe strongest pairing when you have Fable. An Opus or Sonnet advisor is never applied to a Fable main model
Sonnet + SonnetA 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):

Our example (VibeKits): Sonnet main, Opus advisor
{
  "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.

Our example (VibeKits): when Claude should consult the advisor
## 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:

Our example (VibeKits): advisor for one session
# 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:

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
overloadedThe advisor model hit capacity limits
too_many_requestsThe advisor call was rate-limited
prompt_too_longThe conversation is bigger than the advisor model's context window
execution_time_exceededThe advisor call timed out
model_not_foundThe advisor model you set isn't available
max_uses_exceededA per-turn call cap was reached (an API setting; Claude Code doesn't give you one)
unavailableAny 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:

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

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

  1. 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.
  2. 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 /clear or /compact, even after you switch models. Same when you pick a new advisor after a refusal.
  3. claude --advisor ... exits right away. The main model can't use an advisor, the model can't be one (Haiku 4.5), availableModels leaves it out, or Fable still needs your usage-credits consent. Background sessions start without the advisor instead of exiting.
  4. No advisor on Bedrock, Agent Platform or Foundry. It isn't offered there, and advisorModel does nothing. On Claude Platform on AWS, update to v2.1.300 or later.
  5. No advisor with telemetry turned off. DISABLE_TELEMETRY and the other variables above stop the feature-flag download the advisor needs (except on Claude Platform on AWS).
  6. 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.
  7. /advisor fable doesn't stick. Accept the Fable usage-credits consent with /model fable first. Fable also needs Fable access, and v2.1.321 or later for Fable 5.2.
  8. 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:

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

Sources

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].

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.

After that, an occasional email when I publish a new guide or rules file.

Free. No spam. Unsubscribe anytime. See our privacy note.