model-selection

Resolves the LLM model for each agent spawn using a five-layer priority hierarchy.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/codebytes/btt --skill model-selection-codebytes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-selection
Source: https://github.com/codebytes/btt/tree/main/.squad/templates/skills/model-selection
Command: npx skills add https://github.com/codebytes/btt --skill model-selection-codebytes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinators spawning multiple agents need a consistent, deterministic way to pick the right LLM model for each task without re-deciding every time or ignoring user preferences. ## Core Features & Use Cases - Five-Layer Resolution Hierarchy: Resolves models first-match-wins across persistent config, session directives, charter preferences, task-aware auto-selection, and a hardcoded fallback. - Persistent Preferences: Saves defaultModel and per-agent agentModelOverrides to .squad/config.json so choices survive across sessions. - Tiered Fallback Chains: Retries within the same tier (premium, standard, fast) when a model is unavailable, never falling up in tier. - Use Case: A user says "always use opus for Fenster"; the skill validates the model ID, writes the override to config.json, and every future spawn of that agent acknowledges the resolved model. ## Quick Start Ask the coordinator to set a default model, for example by saying "always use claude-sonnet-4.6 for everything", and it will save the preference and apply it to all future agent spawns.

Frequently Asked Questions about model-selection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set a default model for all agent spawns?

Say a trigger phrase like "always use X" or "default to X". The skill validates the model ID against the catalog, writes defaultModel to .squad/config.json, and applies it to all future sessions until cleared.

How do I assign a specific model to one agent?

Use a per-agent trigger such as "use X for {agent}". The skill writes the override to agentModelOverrides in .squad/config.json, which takes priority over the global defaultModel for that agent.

Which model is chosen automatically for coding tasks?

Task-aware auto-selection maps code work (implementation, tests, refactoring, bug fixes) and prompt design to claude-sonnet-4.6, visual tasks to claude-opus-4.6, and non-code work like docs and triage to claude-haiku-4.5.

What happens when a selected model is unavailable?

The skill retries within the same tier using defined fallback chains, for example premium falls from claude-opus-4.6 to claude-opus-4.5 then claude-sonnet-4.6. It never falls up from a lower tier to a premium model.

How do I clear a saved model preference?

Say "switch back to automatic", "clear model preference", or "use default models". The skill removes defaultModel from .squad/config.json and returns to the automatic layer-based selection.