agentleFS
PuntoyComaTechPuntoyComaTech/hermes-agent-squads/skills/assigning-models/SKILL.md

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.

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
  1. Very specific:

    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 …

    line 22
  2. Very specific:

    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 …

    line 34
  3. Very specific:

    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 …

    line 36

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

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

Assigning models

When to Use

  • plan notes list no model assigned for a bot or lane.
  • The user connects a new provider, or asks to change or audit bot models.

Procedure

  1. Run scripts/hpy model_advisor.py <key> --json > local/models-<key>.json (<key> is a squad key or builder; --help documents the fields). It detects the authenticated providers from Hermes itself; never ask the user which providers they have.
  2. Providers the user never wants recommended go one slug per line in local/providers-exclude.txt; the advisor lists them as excluded and never picks them. Re-run step 1 after editing it.
  3. 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 re-run step 1.
  4. Survey, never skipped, also on reinstall and update: show the table (bot, lane, model, provider, effort, cost, why), then one clarify call with one question per bot (batches of five): choices are the pick first (marked recommended), then its alternatives; "Other" takes any connected model. The advisor already puts economical models first: a cost: high model appears as the pick only on a critical lane, 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 into local/models-<key>.json (model, provider, reasoning).
  5. 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 once. 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 install and to their children. The user may edit, drop (fallback: []) or keep it. A row's reasoning may 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.
  6. On OK run scripts/hpy squadctl.py apply <key> --models local/models-<key>.json (--self instead of <key> for the builder). apply saves the choice in local/installed.yaml and 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. A credentials <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.yaml for one user: put overrides in local/model-roles.yaml, which merges over it.
  • Expecting the effort to follow --model: default effort is per profile; per-model overrides go in agent.reasoning_overrides (profile config.yaml).
  • Expecting a card to pin effort: hermes kanban create/set-model carry only --model/--provider; per-card reasoning_effort is 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 --models reads only the advisor's JSON shape. Write local/models-<key>.json; a yaml file beside it is ignored.

Verification

  • scripts/hpy squadctl.py plan <key> --json notes list no no model assigned.
  • scripts/hpy squadctl.py doctor reports <bot>:models as assigned and no <bot>:provider-plugin warning.
  • local/installed.yaml -> bots, lanes and fallback match what the user accepted; each bot's config.yaml has the same fallback_providers and delegation.fallback_providers.

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.