hermes-models
Skill2 starsChanged 11 days agoMITView on GitHub
Configure Hermes model providers, relay endpoints and pins for interactive sessions, delegation or profiles. When a profile uses the wrong API key, a model returns 404, or reasoning effort, vision or image generation is wrong, verify the effective route with a real request and session record. Not for hermes-updates.
- Reads credentials
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- delegated-work-acceptanceSkill
- dotnet-repo-workflowSkill
- gdd-route-ccSkill
- gdd-route-codexSkill
- gdd-route-copilotSkill
- gdd-route-dshSkill
- gdd-route-omoSkill
- gdd-route-ompSkill
- gdd-route-opencodeSkill
- gdd-route-piSkill
- gddSkill
- git-auto-sync-pipelinesSkill
- harness-engineeringSkill
- measurement-campaign-evidenceSkill
- package-release-verificationSkill
- privileged-host-handoffSkill
- tmux-agent-controlSkill
- hermes-context-file-loadingSkill
- hermes-kanbanSkill
- hermes-models-cutoverSkill
- hermes-ops-claim-verificationSkill
- hermes-runtime-repairsSkill
- hermes-updatesSkill
- agent-harness-settings-paritySkill
- agent-operating-contract-evolutionSkill
- contract-bound-deliverablesSkill
- define-goalSkill
- review-revision-candidatesSkill
- rubric-judgeSkill
- rubric-tuneSkill
- spec-convergenceSkill
- spin-breakerSkill
- evidence-backed-analytical-writingSkill
- evidence-boundary-disciplineSkill
- ghc-searchSkill
- official-document-verificationSkill
- report-claim-auditSkill
- research-stream-consolidationSkill
- writingSkill
- hoa-practice-mineSkill
- hoa-practice-retroSkill
- hoa-repo-reckoningSkill
- hoa-skill-createSkill
- hoa-skill-curateSkill
- hoa-skill-portSkill
- hoa-skill-reviewSkill
- hoa-skill-set-auditSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Use -t clarify for text-only probes.
- Distinctive: line 38
Treat a provider outage as a fleet cutover.
- Distinctive: line 41
Stop on unknown/empty targets or concurrent writers.
- Very specific: line 79
Providers: use top-level providers:, normalize custom: during drift checks, and declare each model's context_length.
- Very specific: line 87
Effort: use agent.reasoning_overrides for per-model tiers.
- Distinctive: line 91
Verify a real child. For per-task paths, read delegation routing.
- Distinctive: line 94
Dotted IDs: use whole-map JSON (not a dotted key).
- Very specific: line 100
Bounded non-default task: use an isolated harness CLI (pi, then omp) before hermes chat.
- Very specific: line 106
Protected config: use hermes config set and verify the YAML shape.
- Very specific: line 117
Read ../hermes-models-cutover/SKILL.md (relative to this skill's directory) and follow it.
- Distinctive: line 124
Follow live proof: enumerate the affected homes, harness settings, bot bindings and roster tiers.
- Very specific: line 139
Only if a script command fails (for example uv is not found), read references/troubleshooting.md.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Hermes Models & Providers
Gates
- Back up before changes; use
hermes config set, not patch/write tools for protectedconfig.yaml. For dotted IDs, use whole-map JSON and parse YAML on read-back. - Writing
model.providerclearsmodel.base_urlandmodel.api_mode; set them after the provider. Reorder any self-fallback in the same pass. - Prove the route with three signals, never
config get: a real one-shot, the per-home session row, and resolved reasoning configuration. agent.reasoning_effortis global; use per-model overrides and confirm the surface before aligning tiers. Test transport and effort variants before editing configs.- Assume drift: distinguish deliberate overrides, read back every write, regenerate the config snapshot. Verify per-home provider, catalog and credentials before pinning; never accept a same-provider fallback or a green doctor as proof of vision.
- Name the routing layer first. Inventory all seven layers and every cron store for a full
audit; do not count
no_agentpins or infer a live harness catalog from its config. - Use
-t clarifyfor text-only probes; empty-tenables the full toolset. Wait on background generation events without blocking on foreground sleeps. Prove inertness before batch use. - For any gateway restart, check real traffic first and obtain explicit approval; do not restart while another session is writing.
- Treat a provider outage as a fleet cutover. Inventory before changes, keep the old catalog entry, edit generator sources rather than generated homes, preserve independent routes and verify per surface. Back up, validate all targets, and review dry-run diffs before applying. Stop on unknown/empty targets or concurrent writers. Writes, restarts, commits, pushes and rollback require their own authorization; leave binding publication to the sync owner.
Install-side hooks (the check is required, the script is not)
$HERMES_HOME/scripts/*.py in these docs names a hook the install may ship — a config snapshot
(config-snapshot.py), an install-facts snapshot (snapshot-install-facts.py), a fleet-switch adapter
(model-switch.py), catalog sync/smoke helpers, and the fleet verification pair
(profile-layer-reconcile.py, contract-drift-check.py). What matters is the outcome each one
verifies (the route is live, the metadata resolves, the generated layer agrees with its source), not the
filename. Resolve the command from the install or from this skill's config keys; when the install ships
none, say the check is unavailable instead of implying it passed.
<!-- install-root: `$HERMES_HOME` below means the install root; it defaults to `~/.hermes` -->Substitute provider keys from your install's providers: block.
When to Use
| You hear / see | Load |
| fleet cutover (including planning, inventory, drift checks and dry runs), or same-provider ID swap at any scope | rule 20 below |
| 换默认模型 | rules below + model switching |
加 provider、某模型 404、does not support the responses endpoint | custom providers for provider shape, transport probes and reasoning budgets |
| 加 alias / 换 endpoint 或 API key / 网关认证失败 | provider rotation before changing an alias, URL or key; .env edits require owner confirmation |
| Add or rotate a provider across root and profiles; verify per-home catalogs, aliases, fallbacks or account availability | fleet provider rollout; for cutovers or same-provider ID swaps, rule 20 still applies |
| "让 subagent 用便宜点的模型" | references/delegation-routing.md |
| "routing 机制怎么运作" / "能不能按任务自动选模型" | rules 6 + 16 + 18, references/delegation-routing.md |
| profile 里模型/密钥不生效、只有 root 能用 | references/delegation-routing.md → per-profile provider |
| 配置在 root 和 profile 之间漂移 | references/config-drift.md |
| "review 全部 model routing" / 审计整条路由策略 | rules 16 + 18, references/config-drift-audit.md |
vision / image_gen 报错、auto 路由 | references/config-drift.md |
| 给模型声明 context_length / 元数据 | references/provider-metadata-audit.md |
| 某 relay 的 effort/成本/流式行为异常 | references/model-endpoint-matrix.md |
Rules
- Transport: probe both endpoint types before declaring a capability missing.
- Providers: use top-level
providers:, normalizecustom:during drift checks, and declare each model'scontext_length. - Switching the default route: writing
model.providerclearsmodel.base_url/model.api_mode. Order: backup →model.default→model.provider→model.api_mode→model.base_url→agent.reasoning_effort. Takes effect on/newor next session start. Promoting a provider that already ledfallback_providersleaves the chain starting with the new default itself — reorder the chain in the same pass so entry 1 is a different provider. - Proof: see the three signals below; a config echo is not live proof.
- Effort: use
agent.reasoning_overridesfor per-model tiers. Read config drift for surface differences and precedence. - Delegation: pin per profile; pin values reload on spawn. The schema is built at session start; never flip it mid-conversation. Verify a real child. For per-task paths, read delegation routing.
- Profiles: provider maps and
.envare per-home; remove inherited inline keys that win overkey_env, then probe live in that home. - Dotted IDs: use whole-map JSON (not a dotted key). Verify parsed shape.
- Reasoning: compare usage, not requested effort; size the token budget per relay and model.
- Vision: pin root and every profile and prove each with a real image call.
- Drift: classify differences before mirroring; read back and regenerate the snapshot.
- Text-only one-shot: see endpoint matrix for inert invocation.
- Aliases and fallbacks: separate per-home records. Prove the chain and remove the probe alias.
- Bounded non-default task: use an isolated harness CLI (
pi, thenomp) beforehermes chat. - Long generation: background + notification or one event wait. On truncation, retry with a lower tier and explicit stop condition. See endpoint matrix.
- Routing layers: session default, delegation pin, backend, cron, profile, invocation and fallback differ in lifetime. Instructions select a layer; they do not implement resolution. Report changed vs instruction-only layers. Read delegation routing.
- Protected config: use
hermes config setand verify the YAML shape. - Tier policy: fast pool for the hot path, free pool for background and at least one paired lane. Probe each ID before blaming routing config.
- Catalog scope: resolve pins against the actual home's catalog. Probe effort before edits.
Fleet cutover gate: an outage, retirement or restore moves all affected homes and harnesses; an ID swap moves only live references and preserves the old ID. Keep old provider definitions, verify generated homes and harness effort metadata. For any fleet cutover or same-provider ID swap, even in a single home, read the child before planning, inventory,
--check, or--dry-run. Re-read it after compaction. Read-only work does not require mutation approval; the Gates above still apply to every mutating step.Read
../hermes-models-cutover/SKILL.md(relative to this skill's directory) and follow it. Do not call the Skill tool for it.
Install the parent and child into the same skills root using the catalog's generated Install row; an update alone does not install a new skill name.
Proof
Follow live proof: enumerate the affected homes, harness
settings, bot bindings and roster tiers. Report uncovered homes. In each changed home get a live
reply, compare the before/after sessions.model rows in its own read-only database, and resolve
reasoning effort. Compare the configured provider separately: the sessions table has no provider
column. Batch per-home calls in the background with individual timeouts. Verify delegation with a
real spawn and live transcript; verify vision with one real image call per profile.
References
references/model-switching.md— switching order, three-signal proof, ghc-proxy deployment, Copilot fallback hygiene.references/delegation-routing.md— layer lifetimes, overrides, pool tiers and profile routing.references/config-drift.md— drift audit, lettered tier menu, reasoning-effort layers, auxiliary vision.references/provider-metadata-audit.md,references/model-endpoint-matrix.md,references/config-drift-audit.md— audit detail.- Only if a script command fails (for example
uvis not found), read references/troubleshooting.md. references/cases.md— historical cases: Copilot fallback cleanup, ghc-proxy deployment.scripts/audit-routing-inventory.py— dumps every routing layer for all homes into JSON and flags self-fallbacks and cron coverage.scripts/audit-provider-metadata.py,scripts/audit-config-drift.py,scripts/probe-provider-endpoint.sh— audit scripts and endpoint probes;templates/ghc-proxy.service— unit template.
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.

