assigning-models
Skill3 starsChanged 18 days agoMITView on GitHub
Assigns a model per bot from connected providers. Use when a squad needs models chosen or revised.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- authoring-skillsSkill
- changing-botsSkill
- contributing-upstreamSkill
- designing-squadsSkill
- finding-capabilitiesSkill
- hermes-platformSkill
- installing-squadsSkill
- managing-projectsSkill
- tracking-updatesSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
If the advisor reports the cache stale or a provider missing, ask the user to run hermes -p <bot> model --refresh in their terminal, then …
- Very specific: line 34
When the user puts the reviewer on the producer's model family, say it breaks scripts/data/model-roles.yaml -> lanes.review.rule and ask …
- Very specific: line 36
When the advice has a fallback list (a pick runs on a quota_limited provider), show it with the table: it applies to every bot of the …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Assigning models
When to Use
plannotes listno model assignedfor a bot or lane.- The user connects a new provider, or asks to change or audit bot models.
Procedure
- Run
scripts/hpy model_advisor.py <key> --json > local/models-<key>.json(<key>is a squad key orbuilder;--helpdocuments the fields). It detects the authenticated providers from Hermes itself; never ask the user which providers they have. - Providers the user never wants recommended go one slug per line in
local/providers-exclude.txt; the advisor lists them asexcludedand never picks them. Re-run step 1 after editing it. - If the advisor reports the cache stale or a provider missing, ask the user
to run
hermes -p <bot> model --refreshin their terminal, then re-run step 1. - Survey, never skipped, also on reinstall and update: show the table (bot,
lane, model, provider, effort, cost, why), then one
clarifycall with one question per bot (batches of five): choices are the pick first (marked recommended), then itsalternatives; "Other" takes any connected model. The advisor already puts economical models first: acost: highmodel appears as the pick only on acriticallane, or when nothing cheaper is connected (its reason says so). Never upgrade a non-critical bot to a premium model on your own; offer it as a choice. The user's choices win. Write each change intolocal/models-<key>.json(model,provider,reasoning). - When the user puts the reviewer on the producer's model family, say it
breaks
scripts/data/model-roles.yaml->lanes.review.ruleand ask once. When the advice has afallbacklist (a pick runs on aquota_limitedprovider), show it with the table: it applies to every bot of the install and to their children. The user may edit, drop (fallback: []) or keep it. A row'sreasoningmay map primary models to efforts ({<model>: max, default: high}); a bot already on the fallback model keeps its own effort.retries: <n>sets the tries on the primary before the chain. - On OK run
scripts/hpy squadctl.py apply <key> --models local/models-<key>.json(--selfinstead of<key>for the builder).applysaves the choice inlocal/installed.yamland gives every bot every provider the user connected: each API key from the root or builder env file (copied into the bot's env file, mode 600, never printed) and each user-installed provider plugin. Acredentials <NAME>note is a provider the user has not connected yet: they connect it (hermes model), then apply again.
Pitfalls
- Editing
scripts/data/model-roles.yamlfor one user: put overrides inlocal/model-roles.yaml, which merges over it. - Expecting the effort to follow
--model: default effort is per profile; per-model overrides go inagent.reasoning_overrides(profileconfig.yaml). - Expecting a card to pin effort:
hermes kanban create/set-modelcarry only--model/--provider; per-cardreasoning_effortis writable only from the kanban dashboard (skills/hermes-platform/references/kanban.md). - A model change for one card is not a bot assignment: use the card's
--model/--provider. - Applying a hand-written model table:
apply --modelsreads only the advisor's JSON shape. Writelocal/models-<key>.json; a yaml file beside it is ignored.
Verification
scripts/hpy squadctl.py plan <key> --jsonnotes list nono model assigned.scripts/hpy squadctl.py doctorreports<bot>:modelsasassignedand no<bot>:provider-pluginwarning.local/installed.yaml->bots,lanesandfallbackmatch what the user accepted; each bot'sconfig.yamlhas the samefallback_providersanddelegation.fallback_providers.
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.

