model-selection
Skill3.4k starsChanged 2 months agoMITView on GitHub
Resolve explicit and persistent model preferences for Squad spawns without pinning stale defaults
16 other projects use a version of this.
Adopted by
Most recently taken up by
- Walsworth-Group/physkittheir own version, first seen Nov 8, 2026
- agentstation/skillstheir own version, first seen Nov 1, 2026
- microsoft/github-vteam-industry-demostheir own version, first seen Oct 25, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Oct 13, 2026
- awslabs/agent-pluginstheir own version, first seen Oct 13, 2026
- maxatwork/skillstheir own version, first seen Oct 13, 2026
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- github/gh-aw★ 5.6ksame name
- leookun/cursor-byok★ 3.2ksame name
- awslabs/agent-plugins★ 918same name
- Resgrid/Core★ 238same name
- nimadorostkar/Claude-Skills-collection★ 33same name
- Azure/apiops-cli★ 32same name
- han69611/math-modeling-skills★ 10same name
- yuanhao667/Skills★ 10same name
- tstapler/dotfiles★ 8same name
- Walsworth-Group/physkit★ 7same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository247 other files it gives its agents.
- .github/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- packages/squad-cli/templates/copilot-instructions.mdCopilot instructions
- packages/squad-sdk/templates/copilot-instructions.mdCopilot instructions
- .squad-templates/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- templates/copilot-instructions.mdCopilot instructions
- action-skill-contractsSkill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- architectural-reviewSkill
- archival-integritySkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- content-scopeSkill
- distributed-meshSkill
- documentation-maintenanceSkill
- github-multi-accountSkill
- git-workflowSkill
- history-hygieneSkill
- init-modeSkill
- model-selectionSkill
- pr-lifecycleSkill
- protected-filesSkill
- release-processSkill
- reskillSkill
- reviewer-protocolSkill
- secret-handlingSkill
- security-reviewSkill
- squad-conventionsSkill
- test-disciplineSkill
- windows-compatibilitySkill
- agentic-workflow-designerSkill
- gh-aw-reliabilitySkill
- iterative-retrievalSkill
- reflectSkill
- {skill-name}Skill
- agent-collaborationSkill
- agent-conductSkill
- architectural-proposalsSkill
- ci-validation-gatesSkill
- client-compatibilitySkill
- cli-wiringSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-machine-coordinationSkill
- cross-squad-communicationSkill
- cross-squadSkill
- distributed-meshSkill
- docs-standardsSkill
- e2e-template-testingSkill
- economy-modeSkill
- error-recoverySkill
- external-commsSkill
- fact-checkingSkill
- gh-auth-isolationSkill
- gh-aw-enlistmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when the user requests a model, the team configuration contains a saved model preference, or a specialist charter explicitly …
- Very specific: line 32
Use active specialist IDs from .squad/casting/registry.json.
- Distinctive: line 42
If a requested model is unavailable, report that failure and fall back to runtime automatic selection unless the user supplied a different …
- Distinctive: line 47
Stop if the requested model is not supported and no automatic fallback is acceptable.
- Very specific: line 48
Stop rather than rewriting configuration when .squad/config.json cannot be parsed safely.
- Distinctive: line 49
Do not benchmark models, estimate billing, or modify specialist responsibilities under this skill.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Model Selection
Use this skill when the user requests a model, the team configuration contains a saved model preference, or a specialist charter explicitly requires one.
Resolution Order
Apply the first available value:
- Explicit model requested for the current spawn.
- Current-session model directive from the user.
.squad/config.jsonagentModelOverrides.{specialist-id}..squad/config.jsondefaultModel.- The specialist charter's explicit model requirement.
- Runtime automatic selection by omitting the model parameter.
An explicit current request always overrides older persistent configuration. Do not invent a model preference from task type alone, and do not pin a hardcoded fallback that can become obsolete.
Persistent Preferences
- Save
defaultModeloragentModelOverridesonly when the user explicitly asks for persistence. - Merge model fields into the existing
.squad/config.json; do not replace unrelated settings. - Use active specialist IDs from
.squad/casting/registry.json. - Validate a requested model against the runtime's currently supported model list.
- To return to automatic routing, remove the applicable override rather than writing an
"auto"sentinel unless the runtime schema explicitly supports it.
Spawn Behavior
- Pass a model only when resolution steps 1-5 produce a supported value.
- Otherwise omit the model parameter and allow the runtime to select.
- Preserve the user's requested reasoning effort or context tier only when the runtime supports it.
- If a requested model is unavailable, report that failure and fall back to runtime automatic selection unless the user supplied a different fallback.
Stop Conditions
- Stop if the requested model is not supported and no automatic fallback is acceptable.
- Stop rather than rewriting configuration when
.squad/config.jsoncannot be parsed safely. - Do not benchmark models, estimate billing, or modify specialist responsibilities under this skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

