Back to Settings

Sonnet Opus Advisor Haiku Subagents

Settings model

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

Install Command
npx claude-code-templates@latest --setting model/sonnet-opus-advisor-haiku-subagents
View on GitHub
claude-code — sonnet-opus-advisor-haiku-subagents

Content

JSON
{
"description": "Sonnet as the main model, Opus as the advisor it consults at decision points, an..."
"model": "sonnet"
"advisorModel": "opus"
"env": {
"CLAUDE_CODE_SUBAGENT_MODEL": "haiku"
"CLAUDE_CODE_SUBAGENT_MODEL_FORCE": "1"
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.