Advisor: a stronger model on call for your coding agent
Updated on Nov 27, 2026Advisor is an agent skill, a single SKILL.md file, that teaches a coding agent to consult a stronger model two or three times per task: before it commits to an approach, when it gets stuck, and before it says the work is done. The agent you already run keeps doing the work. The stronger model reads a short brief and answers with a plan or a correction.
The skill follows the executor and advisor pattern of Anthropic's advisor tool for the Claude API, and moves it from the API into the agent. It needs no API key and no script. It uses the subagents your coding agent already has.
Repository on GitHubWhat the agent does with it
- It orients first: finds the files, reads the source, checks what exists.
- Before writing anything, it starts a subagent on the strongest model the harness offers and sends a brief: the task, what it found, what it plans to do, what it ruled out, and one question.
- It does the work, saves it, and runs the tests.
- Before declaring done, it consults again with what changed and the test output.
- It tells you in one line what the advisor changed.
It skips the advisor on a one-line edit, a rename, or a factual lookup. If the harness cannot start a second agent, it says so and carries on without one.
Install
The shortest route is the skills CLI (npx skills), which finds the agents installed on your machine and puts the skill in each one's global directory; it needs Node.js. Without Node, the skill is one folder: installing means copying it into the agent's skills directory, and the repository's install.py does the copy and knows each agent's directory.
npx skills add RogerioTrani/coding-agent-advisor-skill -ggit clone https://github.com/RogerioTrani/coding-agent-advisor-skillpython coding-agent-advisor-skill/install.py --host agentspython coding-agent-advisor-skill/install.py --host claude/plugin marketplace add RogerioTrani/coding-agent-advisor-skill
/plugin install advisor@coding-agent-advisor-skill- With npx skills, @<tag> after the repository name pins a release, -a claude-code codex chooses the agents, and --copy installs copies instead of symlinks. npx skills update -g updates the skill and npx skills remove advisor -g removes it. The CLI sends anonymous usage data unless DISABLE_TELEMETRY=1 is set.
- The skills CLI covers every agent in the table below except Codewhale and Manus. For some, such as Windsurf, it uses a different directory; the agent's own documentation decides which one it reads.
- With install.py, add --project to install into the current repository, or --dir PATH for any other location.
- For Manus, download advisor.skill from the repository's latest release and upload it under Skills, Add, Upload a skill.
- For agents without a skills directory, point the project's AGENTS.md at SKILL.md; the README has the snippet.
Directories by agent
Paths come from each agent's documentation as read in November 2026. Only Claude Code was tested with this skill.
| Agent | User directory | Project directory |
|---|---|---|
| Claude Code | ~/.claude/skills | .claude/skills |
| Codex | ~/.agents/skills | .agents/skills |
| Cursor | ~/.cursor/skills | .cursor/skills |
| GitHub Copilot | ~/.copilot/skills | .github/skills |
| Gemini CLI | ~/.gemini/skills | .gemini/skills |
| Google Antigravity | ~/.gemini/config/skills | .agents/skills |
| Kimi Code | ~/.kimi-code/skills | .kimi-code/skills |
| Qwen Code | ~/.qwen/skills | .qwen/skills |
| opencode | ~/.config/opencode/skills | .opencode/skills |
| Codewhale | ~/.codewhale/skills | .codewhale/skills |
| Devin | ~/.config/devin/skills | .agents/skills |
| Windsurf | ~/.config/devin/skills | .devin/skills |
| Cline | ~/.cline/skills | .cline/skills |
| Roo Code | ~/.roo/skills | .roo/skills |
| Kilo Code | ~/.kilo/skills | .kilo/skills |
| Mistral Vibe | ~/.vibe/skills | .vibe/skills |
| JetBrains Junie | ~/.junie/skills | .junie/skills |
| Kiro | ~/.kiro/skills | .kiro/skills |
| Amp | ~/.config/agents/skills | .agents/skills |
| Goose | ~/.agents/skills | .agents/skills |
Test results
Three tasks, each run once with the skill and once without. The executor was Claude Sonnet at medium effort inside Claude Code, and the advisor was a Claude Opus subagent.
| Task | With the skill | Without the skill |
|---|---|---|
| Thread-safe sliding window rate limiter for a payments API, with pytest | Two advisor calls. The first replaced per-key locks with a single lock because key eviction could race and admit up to twice the limit. The second caught that the result object was always truthy, so if limiter.allow(key) let everything through. 44 tests pass. | No advisor call. Chose a single lock on its own and returned a plain bool. 17 tests pass. |
| Change one timeout value in config.py | Edited the line, no advisor call | Edited the line |
| Recommend cookie sessions or Redis sessions for a Flask app | One advisor call before answering | Same recommendation, fewer details |
What these runs do not show: each configuration ran once, so there is no measure of variance. The baseline rate limiter had neither bug the advisor caught, because it made simpler choices from the start. Token counts for the advisor calls were not captured. Only Claude Code was tested.
Frequently asked questions
What is the advisor pattern for coding agents?
A faster, cheaper model (the executor) does the whole task and consults a more capable model (the advisor) at a few decision points. Most turns of a coding task are mechanical, so the stronger model is paid for only where the approach is decided.
How is this different from Anthropic's advisor tool?
The advisor tool is a Claude API feature (advisor_20260301) that you add to a Messages API request in your own application, and the server passes the full transcript to the advisor. This skill gives the same working habit to an agent you use interactively, where that tool is not available. The advisor here is a subagent and sees nothing of the session, so the skill spends a section on how to write the brief.
Does it need an API key?
No. It uses the subagent or second-model feature of the agent you are already signed in to.
Which coding agents does it work with?
It was tested in Claude Code. The file follows the Agent Skills format (SKILL.md with name and description), which Codex, Cursor, GitHub Copilot, Gemini CLI, Antigravity, Kimi Code, Qwen Code, opencode, Devin, Windsurf, Cline, Roo Code, Kilo Code, Mistral Vibe, Junie, Kiro, Amp, Goose and Manus document as supported. It only does something useful where the agent can start a subagent or a second model session.
Does it need a YAML file?
Only Codex reads one: agents/openai.yaml inside the skill folder, which sets the display name and default prompt, and it is included. The other agents read SKILL.md alone, and their plugin manifests are JSON.
What if my agent already runs the strongest model?
The skill asks for a subagent on the same model with fresh context. A reader who was not inside the reasoning still catches what the executor has stopped seeing.
How many advisor calls does a task take?
Two on a task longer than a few steps: one before committing to an approach and one before declaring done. More only when the agent is stuck or about to change approach. The skill asks the advisor for answers of about 100 words to keep the cost down.
