Claude Code 4-Model Team Setup Prompt
From Wikiprompt, the free prompt encyclopedia
Claude Code 4-Model Team Setup Prompt A comprehensive prompt to configure Claude Code as a 4-model team (Sonnet, Fable, Opus, Haiku) with specific roles, settings, and verification steps. Includes detailed instructions for setup and validation.
Prompt ContentSave
π
Set up my Claude Code as a 4-model team, at user level so it works in every project:
- Sonnet 5.5 = main session. It builds: writes code, runs tests.
- Fable 5.2 = advisor, the brain. It only advises, never writes code.
- Opus 5.5 = checker subagent. It tests finished work and tries to break it, never edits.
- Haiku 5.5 = search and research. It replaces the built-in Explore agent and is the default for other subagents.
Before you change anything, read Anthropic's official docs:
https://code.claude.com/docs/en/advisor
https://code.claude.com/docs/en/sub-agents
https://code.claude.com/docs/en/model-config
Use only the settings, fields and file formats those pages describe. If something below doesn't match the docs, follow the docs and tell me what you changed.
Steps:
1. Check my Claude Code version. Fable 5.2 needs v2.1.321 or later. If it's older, run claude update, or tell me to.
2. In ~/.claude/settings.json: main model sonnet, advisorModel fable, env CLAUDE_CODE_SUBAGENT_MODEL haiku. Merge, never delete my settings. If my settings lower the main model's effort below its default, tell me: at lower effort the main model consults the advisor far less.
3. Create ~/.claude/agents/checker.md with model opus. It runs the tests, reads the diff and tries edge cases. It never edits code. It reports each real problem with the file, the line or command, and what it saw.
4. Create ~/.claude/agents/Explore.md with name Explore, model haiku and read-only tools (no Write, no Edit). A user subagent named Explore replaces the built-in one, which otherwise runs on my main model and ignores CLAUDE_CODE_SUBAGENT_MODEL. It finds files, greps, reads docs and returns short structured results.
5. Add to ~/.claude/CLAUDE.md:
"Consult the advisor before you commit to an approach, when the same error comes back twice, and before you say a task is done. Run the checker before you call any task done. Send search and docs lookup to Explore. If a subagent must write code, give it model sonnet, never haiku. For a small task that fits in this session, skip subagents and do it yourself."
6. Fable as advisor needs a one-time usage-credit consent on some plans. If mine needs it, stop and tell me: run /model fable once, accept, then switch back with /model sonnet.
Back up every file before you edit it. Show me all changes as one diff and apply them only after my yes.
Done means: after a restart, Claude Code starts on Sonnet, /advisor shows fable, and /agents lists checker (opus) and Explore (haiku).
End with three headings: Changed, Needs me, How to check it works. Under the last one tell me: an "Advising" line appears when Fable is consulted, Ctrl+O shows its advice, and /usage shows what it cost.
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/0xCodila/status/2120316345279553693
Talk
0 comments