Introducing /external-advisor: A Second Opinion from GPT, Gemini and Grok Inside Claude Code
- —When Claude reviews Claude’s code, it tends to miss whatever it missed while writing it.
- —This plugin runs a different model over the same work: GPT, Gemini, Grok or Composer.
- —It drives the Cursor, Antigravity or Codex CLI you already pay for, in read-only mode, so there’s no API key.
- —It can critique what Claude just did, review a diff or a PR, talk through a decision, or research with sources.
Update, 29 November, 2026: Cursor and Antigravity runs now have a call budget and, on macOS, leave your Claude Code setup behind, so they should use fewer tokens. What changed.
Why /advisor Wasn't Enough
Claude reviewing Claude's code is grading its own homework. The same habits that wrote the bug are the ones reading it back, so it looks fine both times.
Claude Code has a built-in tool for this, /advisor. It pairs your main model with a second, usually stronger one and consults it at key decision points. I use it and it's worth turning on, but it can't fix that.
Every Advisor Is Still a Claude
The advisor has to be at least as capable as your main model, and every model that qualifies is a Claude. Sonnet with an Opus advisor gets you a bigger model from the same family, carrying the same blind spots. You get more capability, but the same assumptions, and those were what I wanted a second opinion on.
It Reads Your Whole Conversation
The advisor always gets the full transcript, including every step of the reasoning that produced the code. Mid-task that's the right call, since it needs to know what you've already tried. For review it works against you. Once a reviewer has read how you got to the code, it tends to agree with it.
It Comes Without Tools
The advisor runs on Anthropic's side and sends back advice, and that's all it can do. A CLI gives you a second agent that can open your files and search the web on its own.
It Fails, a Lot
The built-in advisor falls over more often than I'd like, and when it does you're back to Claude checking its own work. The external advisor runs through a different vendor's CLI, so an outage on one side doesn't take the other with it.
| Built-in /advisor | /external-advisor | |
|---|---|---|
| Who triggers it | Claude decides, or you ask | you do, explicitly |
| Where it runs | server-side, Anthropic API | a local CLI |
| What it costs | tokens or usage credits | your existing Cursor / Google / OpenAI plan |
I still use /advisor too, and reach for this when I want a model that isn't a Claude.
Four Ways to Ask
How much context the other model gets depends on the job. Too little and the model can't help; too much and it just agrees with you.
Critiques the work your agent just did
WHAT IT SEES
- +The session transcript, distilled automatically
- +Your visible messages and every tool call
- +The repository
WHAT IT NEVER SEES
- −Claude’s internal reasoning. Thinking blocks are stored with the text stripped, so it never leaves your machine.
SAY THIS TO CLAUDE
Naming the mode is the reliable way in, but you don't have to. Claude reads the request, picks a mode, and tells you which one it went with.
What Actually Happens When You Ask
Under the hood it’s a Node script Claude shells out to. It builds a briefing on disk, runs one of your local CLIs against it, and hands back a JSON envelope. There’s no daemon and no API key, just the CLI login you already have.
The briefing is written to disk
The runner writes one packet file, then hands the CLI only its path.
runs/portfolio-v2-417eb5a7/2026-09-07T09-12-40-1x5fd4df-review/packet.md- ›The exact input stays on disk, so you can read what the model was asked.
- ›The agent reads your repository directly too.
Whatever lands in that packet goes to the vendor behind the CLI you picked: Cursor, Google or OpenAI. Antigravity and Codex also keep their own copy of each session on your machine. In advise mode the packet is your session, so it’s worth knowing before the first run.
What It Looks Like in Practice
Ask Claude to review a PR with the external advisor and you get two reviews. The external run starts in the background first, and Claude does its own pass over the diff while that one thinks.
That order keeps the two reviews independent. Reading the other model’s findings first would anchor Claude to them.
Claude Makes the Call
When the answer comes back it doesn’t go straight into the chat. In my runs a fair few findings turn out wrong. A confident note about a call site or a missing guard often falls apart after two minutes with the actual file. So Claude checks each finding before passing it on, and tells you which ones it checked and which are the advisor’s word alone.
When the files contradict an answer, Claude can reopen that same advisor session with resume and push back, instead of briefing a fresh run.
Update: Fewer Tokens Per Run
Runs were burning through my Cursor quota. Every model call re-sends everything the other model has read so far, so each call costs more than the last. A typical run made over 20. Cursor was also loading my whole Claude Code setup into every one of them. Both are fixed on Cursor and Antigravity now, so a run there should use fewer tokens than before.
- A review gets a call budget of 12 model calls, consult and advise 8, research 15. At the limit the run is asked for its answer so far.
--max-callschanges it for one run. - On macOS, Cursor and Antigravity no longer load your skills, plugins, hooks, rules and MCP servers. The repo’s own
AGENTS.mdandCLAUDE.mdstill load. - After a timeout Claude reports it and stops. It doesn’t run the job again.
- Lock files and generated snapshots are left out of reviews.
On a small test repo the clean home halved Cursor’s first message, from 43.6K to 20.8K characters, and one review cost $0.47 against an average of $0.59. Antigravity used about 23% fewer prompt tokens. Codex gets neither change yet.
Adding Your Own CLI
Cursor, Antigravity and Codex are in there because those are the accounts I had. Nothing stops you adding another. It means answering a few questions about that CLI: how to run it read-only, how to hand it the request, and how to read the reply. The shortest of the three I wrote came to 58 lines. OpenCode, Gemini CLI and Amp are the ones I’d try next. If you add one, send a PR.
You don’t write any of the safety. The write guard, the throwaway checkout and the timeouts sit above whatever you plug in, so a new CLI gets them for free.
Getting It Running
It’s a Claude Code plugin, so it’s two commands. All you need is Node, and one of the three CLIs signed in.
/plugin marketplace add alphainfinitus/claude-code-external-advisor
/plugin install external-advisor@alphainfinitusThen say set up the external advisor once. It checks which CLIs you’ve got, helps install one if you have none, and has you pick a model for each mode. It also tells you what advise sends to the vendor before you ever use it. From then on you just ask.
Thanks for reading.
References
THE PROJECT
- claude-code-external-advisor
the plugin, the runner, and the test suite. MIT.
THE CLIS IT DRIVES
- Cursor CLI
cursor-agent: GPT, Grok, Composer
- Antigravity CLI
agy: Gemini
- OpenAI Codex CLI
codex: GPT
- Codex web search
the cached / indexed / live modes, and what each one queries
CLAUDE CODE
- Claude Code
- The advisor tool
the built-in one: accepted pairings, cost, when it fires
- The advisor tool in the Claude API
the server tool underneath it
- The advisor strategy
why a fast main model plus a stronger advisor works
- Plugins
how /plugin install and marketplaces work
What each CLI’s read-only mode actually blocks is vendor behaviour, and it changes between releases. Run doctor to see what the plugin currently measures on your own machine.
GIFs via Tenor.

