agentleFS
GitHubKnown publishergithub/squad/.squad/skills/model-selection/SKILL.md

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

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
  1. Distinctive:

    Use this skill when the user requests a model, the team configuration contains a saved model preference, or a specialist charter explicitly …

    line 11
  2. Very specific:

    Use active specialist IDs from .squad/casting/registry.json.

    line 32
  3. Distinctive:

    If a requested model is unavailable, report that failure and fall back to runtime automatic selection unless the user supplied a different …

    line 42
  4. Distinctive:

    Stop if the requested model is not supported and no automatic fallback is acceptable.

    line 47
  5. Very specific:

    Stop rather than rewriting configuration when .squad/config.json cannot be parsed safely.

    line 48
  6. Distinctive:

    Do not benchmark models, estimate billing, or modify specialist responsibilities under this skill.

    line 49

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. Explicit model requested for the current spawn.
  2. Current-session model directive from the user.
  3. .squad/config.json agentModelOverrides.{specialist-id}.
  4. .squad/config.json defaultModel.
  5. The specialist charter's explicit model requirement.
  6. 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 defaultModel or agentModelOverrides only 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.json cannot be parsed safely.
  • Do not benchmark models, estimate billing, or modify specialist responsibilities under this skill.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.