What it does
The rule configures Claude Code so that Sonnet runs as the main model, Opus serves as an advisor that the main model consults at decision points, and Haiku handles every subagent. This includes subagents whose definitions pin a different model. Removing the CLAUDE_CODE_SUBAGENT_MODEL_FORCE setting lets those subagents keep their own model. The rule uses model aliases, so each model family resolves to its latest version.
It suits users who want a fixed split of models by role, with a stronger model advising and a lighter model running subagents.
The advisor calls the Anthropic API, so it needs access to that API. It stays disabled when DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. The force flag requires Claude Code v2.1.257 or later.
Limitations and requirements
Requires access to the Anthropic API for the Opus advisor. The advisor stays off when DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. The CLAUDE_CODE_SUBAGENT_MODEL_FORCE flag requires Claude Code v2.1.257 or later.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 17 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 824
sonnet-opus-advisor-haiku-subagents
Sonnet as the main model, Opus as the advisor it consults at decision points, and Haiku for every subagent, including agents whose definition pins another model (remove CLAUDE_CODE_SUBAGENT_MODEL_FORCE to let them keep theirs). Uses aliases, so it follows the latest version of each family. The advisor needs the Anthropic API and stays off when DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set; the force flag needs Claude Code v2.1.257+.
As shown on www.aitmpl.com when we last read it