Skip to content

Claude Code Advisor Tool Explained: Setup, Pairings, and Limits

AINewss Editorial Team

The claude code advisor is an experimental Claude Code feature that pairs your main model with a stronger advisor model consulted at key decisions: before committing to a plan, on recurring errors, and before marking work done. Enable it with /advisor, the advisorModel setting, or the --advisor flag. It runs on Anthropic's infrastructure, needs the Anthropic API (v2.1.300+ on AWS), and is unavailable on Bedrock or Google Cloud's Agent Platform.

View 4 references
1 views 0 likes

Allow the functional cookie to save your likes. Privacy details

Illustration of two Claude Code AI agents, one advising the other at a coding decision point

What Is the Claude Code Advisor Tool?

The claude code advisor feature — officially named the advisor tool — is an experimental capability in Claude Code that pairs your main model with a second, usually stronger model. During a task, Claude consults this advisor at key moments: before committing to an approach, when an error keeps recurring, and before it declares the work finished.

When a claude code advisor consultation runs, the advisor receives the full conversation, including every tool call and its result, then returns guidance Claude applies before continuing. The advisor runs server-side on Anthropic's infrastructure as a server tool, so it works for both subscription and API-billed accounts. You pick which model plays the advisor; Claude decides when to call it. Anthropic documents this on its official advisor tool page and labels the behavior experimental, noting that pricing and availability may change.

A common point of confusion: "claude code advisor" is the phrase most people search, but the official feature name is simply the advisor tool, toggled with the /advisor command.

Why Use a Claude Code Advisor?

The claude code advisor shines on long, multi-step tasks where most turns are routine but the quality of each decision determines the outcome. Typical examples include large refactors, debugging sessions where the same bug resurfaces, and any work you want independently checked before Claude calls it done.

The claude code advisor adds little value on short tasks with nothing to plan, or on jobs where every single turn needs your strongest model. For those, Anthropic suggests switching the main model with /model instead. A useful mental model: the claude code advisor is a second opinion at decision points, not a replacement for choosing the right primary model.

How to Enable the Claude Code Advisor

There are three documented ways to turn on the claude code advisor. Each enables it for sessions whose main model supports the advisor tool.

/advisor Command

Run /advisor with no arguments to open a picker of available advisor models, or pass a model directly:

/advisor opus

Claude Code confirms with "Advisor set to" and the model name, then saves the choice as advisorModel in your user settings so it persists across sessions. This text form also works without a terminal picker — in -p non-interactive mode, the Agent SDK, the desktop app, and Remote Control (Claude Code v2.1.260 or later).

advisorModel Setting

To set a persistent default without opening a session, add this to your settings file:

{ "advisorModel": "opus" }

--advisor Flag

To set the claude code advisor for a single session at launch:

claude --advisor opus

This overrides advisorModel for that session and is not listed in claude --help. Claude Code exits at launch if the main model does not support an advisor, the requested model cannot act as one (for example Haiku 4.5), your organization's availableModels allowlist excludes it, or you request Fable without the required consent. In a background session those conditions start the session without an advisor instead of exiting.

Once any method is active, you'll see: "Advisor Tool (experimental) is on and may use more tokens · /advisor."

Which Model Pairings the Claude Code Advisor Accepts

The claude code advisor must be at least as capable as your main model; weaker pairings are rejected. Aliases fable, opus, and sonnet resolve to the current default version of each family, and you can pass a full model ID such as claude-opus-5-5.

Common, documented pairings include Sonnet main + Opus advisor (Sonnet handles routine edits while Opus handles planning, ambiguous failures, and completion checks), Haiku main + Opus advisor (lowest-cost main model with stronger planning), and Opus main + Opus advisor (a second Opus reviews the first for high-risk work). Haiku 4.5 can call an advisor but can never act as one. Subagents inherit your configured claude code advisor, but the same pairing check is reapplied against each subagent's own model, so a weaker subagent may end up with no advisor.

When Claude Consults the Advisor

There is no setting that forces or caps how often the claude code advisor is called. Timing is model-driven rather than rule-based: Claude tends to consult it before committing to a plan, when an error repeats, and before declaring completion. If you want more frequent checks, say so in your prompt — for example, "consult the advisor before you continue."

What You See During a Consultation

When Claude calls the claude code advisor, the transcript shows an "Advising" line with the advisor's model name. When the call returns, that line changes to one of three states: Reviewed (the advisor returned guidance; press Ctrl+O to read it), Declined ("Advisor declined to advise on this request"), or Unavailable ("Advisor unavailable" plus an error code).

Claude usually follows advisor guidance, but not blindly. If its own evidence conflicts with a specific suggestion — a recommended step fails, or file contents contradict the advice — Claude flags the conflict instead of following it.

How the Claude Code Advisor Is Billed

Every claude code advisor call makes the advisor model read the whole conversation, consuming extra tokens on top of the main model. Under API billing you pay the advisor model's input and output rates. On subscription plans, advisor usage counts toward your plan limits (Fable used as an advisor may bill to usage credits on plans where Fable already does). Advisor tokens appear in /usage.

Because the claude code advisor is invoked at decision points rather than every turn, a fast main model plus a strong advisor is often cheaper than running the strong model throughout. Note that the advisor's own read of the transcript is not cached, so each call reprocesses the full conversation.

Claude Code Advisor vs. opusplan and Subagents

The claude code advisor is one of several ways to get a stronger model involved. The advisor tool runs mid-task at decision points and is invoked by Claude. opusplan uses a stronger model during plan mode (when allowed by availableModels) then switches back to Sonnet for execution. A subagent with model set runs a whole delegated subtask on another model. /model changes the main model from the next request onward. Pick the claude code advisor when you want targeted second opinions during a task; pick a subagent for a full independent subtask.

Limitations and Requirements

Keep these boundaries in mind before relying on the claude code advisor:

  • It is experimental; behavior, pricing, and availability may change.
  • It requires the Anthropic API or Claude Platform on AWS (which needs Claude Code v2.1.300 or later). It is not available on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry.
  • Through an LLM gateway using ANTHROPIC_BASE_URL, availability depends on full forwarding to the Anthropic API.
  • Supported main models include Fable, Opus 4.6+, Sonnet 4.6+, Haiku 4.5, and Haiku 5.5.
  • The advisor needs a feature flag from Anthropic; disabling flag fetching (for example with DISABLE_TELEMETRY) keeps it off.
  • Organization availableModels allowlists and Fable's usage-credit consent can block a chosen advisor.

How to Turn Off the Claude Code Advisor

For a single session, run /advisor off or pick "No advisor" in the picker. To disable the claude code advisor tool entirely, set:

export CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1

With that variable, /advisor is unavailable, any saved advisorModel is ignored, and --advisor is accepted but has no effect.

Frequently Asked Questions

Is the claude code advisor the same as a subagent?

No. The claude code advisor sees the full conversation and runs as a server-side consultation inside the same task, while a subagent works in a separate context with only what you give it.

Does the claude code advisor review my code?

It can help review decisions and plans, and Claude may consult it before declaring work done. For a dedicated bug review of the current diff, use the separate /code-review skill, which runs in a fresh subagent.

Does the claude code advisor work offline or on Bedrock?

No. It needs Anthropic-hosted infrastructure (the Anthropic API or Claude Platform on AWS); it does not run on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry.

References

References

  1. Escalate hard decisions with the advisor tool - Claude Code Docscode.claude.com
  2. Claude Code changelog - Claude Code Docscode.claude.com
  3. anthropics/claude-code CHANGELOG.mdgithub.com
  4. Claude Code Advisor Tool: How to Set Up /advisor - Claude Code Blogclaudcod.com