optimizing-model-routing
Re-derive the library's model bindings from objective evidence — gather the live opencode catalogs (or a local snapshot), identify and verify the most…
Skill by hierovision
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hierovision-optimizing-model-routing
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/optimizing-model-routing
What's inside
- Skill name
optimizing-model-routing- Description
- Re-derive the library's model bindings from objective evidence — gather the live opencode catalogs (or a local snapshot), identify and verify the most objective benchmarks available (independently reproduced first; vendor self-reported numbers are a tier filter and never decide a binding), rank the best default and escalation model per role under the library's recorded policy, and present a table (current vs proposed default/opt-in/escalation) plus a mandatory Questionable/Uncertain section — then apply the approved updates to reference/model-routing.md and agents/*.md on a branch + PR. Use when the user says "optimize model routing", "rebind the models", "find the best model for each skill or role", "the bindings are stale", "catalog check", or "right-size the models". Not for one-off model config edits in a consumer project, changing agent prompts, or price-only lookups.
- License
- MIT
- Instructions
- 171 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (17)
- SKILL.md
- evals.json · evals/
- expected-eval1.json · evals/
- expected-eval3.json · evals/
- AGENTS.md · evals/fixtures/miniframework/
- build.md · evals/fixtures/miniframework/agents/
- council-security.md · evals/fixtures/miniframework/agents/
- council-ux.md · evals/fixtures/miniframework/agents/
- council.md · evals/fixtures/miniframework/agents/
- design.md · evals/fixtures/miniframework/agents/
- triage.md · evals/fixtures/miniframework/agents/
- benchmarks.md · evals/fixtures/miniframework/reference/catalog-snapshot/
- go-catalog.json · evals/fixtures/miniframework/reference/catalog-snapshot/
- zen-catalog.json · evals/fixtures/miniframework/reference/catalog-snapshot/
- model-routing.md · evals/fixtures/miniframework/reference/
- benchmarks.md · references/
- verify_rebind.py · scripts/
SKILL.md (first lines)
# Optimizing Model Routing Re-derive the library's role → model bindings from objective evidence: the opencode catalogs plus the most objective benchmark data available. **Coverage is skill-level** — the approval table lists every skill against its role, so nothing hides behind indirection. **Mutation is role-level** — updates land on `reference/model-routing.md` role rows and `agents/*.md` model lines, keeping the roles-not-model-IDs single source of truth. The pass stops at user approval; no binding is edited before it. ## The routing pass Copy this checklist and check off items as you complete them. ``` Routing Progress: - [ ] 1. Scope the pass (all roles, or one named role) - [ ] 2. Read current state - [ ] 3. Gather catalogs + liveness (live fetch; docs + routing probe) - [ ] 4. Identify + verify objective benchmarks - [ ] 5. Rank candidates per role (library default first — Go, with free as the opt-in column; Zen/direct escalation — live candidates only) - [ ] 6. Capture the evidence (table + Questionable/Uncertain; write no files) - [ ] 7. Present table + evidence + Questionable/Uncertain; STOP for approval - [ ] 8. On approval: apply, verify, commit, PR ``` ### Step 1 — Scope the pass Default: every role in `reference/model-routing.md`. A named role (or a skill named by the user) scopes the pass to that role only — analyze it, present it, touch nothing else, and say so explicitly so a scoped pass is never mistaken for a clean bill of health on the rest. ### Step 2 — Read current state Read `reference/model-routing.md` in full — the bindings table and **hard exclusions** — and every `model:` line in `agents/*.md`. Two absolute rules from this step: - **Hard exclusions win over any score.** An excluded family is dropped from candidacy regardless of benchmark results, even the best ever reported. - **A bound ID missing from the catalog OR failing liveness is a stale binding.** A stale binding is any ID that is not catalog-listed, not docs-listed (free tier), or fails to route in a live opencode session (see Step 3). It can only be flagged and rebound, never re-proposed. ### Step 3 — Gather catalogs + liveness Production default: fetch both live catalogs **and** the docs free list (`https://opencode.ai/docs/zen/#endpoints` — authoritative for free-tier; see `reference/model-routing.md` Update procedure). Cross-check catalog vs docs; any divergence is a catalog-vs-availability mismatch → record in Questionable/Uncertain and exclude the ID from candidacy. Then liveness-probe every remaining candidate (minimal routing test in a live opencode session: select an agent bound to that model / send a trivial prompt and verify clean routing — no error and no opt-in, consent, or region gate). **Only live-verified IDs are candidates** — catalog membership alone never makes a model a candidate. Access restrictions fail the gate: a model routable only behind an explicit opt-in, consent gate, or region lock is **not live** — never opt in on the user's behalf; exclude the ID, name the gate in Questionable/Uncertain. Gates lift without notice: every pass re-probes from scratch, and a rehabilitated model re-enters candidacy automatically. **Go/Zen escalation gate:** for any model proposed for a Go or Zen escalation row, run a live routing probe on its tier (select an agent bound to that model on Go/Zen, invoke with a trivial prompt, confirm no routing error). Record the probe date + result in the routing update note. Non-live escalation IDs are excluded from the row. Offline / snapshot mode: a local snapshot directory containing `zen-catalog.json`, `go-catalog.json`, and `benchmarks.md` — use it when the user points at one or fetching fails. State which mode ran; never silently mix snapshot and live data. Every candidate must be catalog-verified **and** live-verified before ranking; record the retrieval date for the presentation and the routing update note. ### Step 4 — Identify + verify objective benchmarks Read [references/benchmarks.md](references/benchmarks.md) now — the objectivity hierarchy and the role → dominant-trait map. Core discipline: every cited score carries source + date + independence status, and **vendor self-reported numbers never decide a binding** — they are a tier filter and belong in Questionable/Uncertain. Search for the most objective evidence available before settling for less; if the best evidence for a candidate is vendor-only, say so instead of laundering it into a decision. ### Step 5 — Rank candidates per role Per role in scope, rank **only over live candidates** (Step 3) on the role's dominant trait per the reference map, deciding on the most objective evidence available and tie-breaking upward in objectivity (an independent result beats a cross-checked one beats a vendor claim). Propose the best live model for the **default** column first, per the library's recorded policy (`reference/model-routing.md`: Go default, free as an explicit opt-in); a free model is proposed for the opt-in column only, and Zen/direct rows are escalation picks. **Liveness is a hard gate, like capability** — a non-live ID is not a candidate at any benchmark score and never enters ranking. Capability requirements (e.g. native image input for vision seats) are hard gates, not scores — a text-only model cannot hold a vision seat at any benchmark number. **Hard exclusions sit above all scores** — an excluded ID is dropped from candidacy regardless of a live probe or a top benchmark result. ### Step 6 — Capture the evidence Assemble the pass record as the Step 7 presentation itself — table, evidence summary, and Questionable/Uncertain, each entry carrying source + date + independence status. On approval, the *decision* is recorded in the commit message and PR description (Step 8). Write no files before approval. ### Step 7 — Present; STOP Present three things: - a simple table: role → used-by skills → current → proposed (free / Go / Zen) → bench basis (the one decisive number + its source); - a brief evidence summary — one line per decisive benchmark, with source and independence status; - a **Questionable / Uncertain** section — mandatory, never omitted:
From hierovision/ai-framework, MIT.
More from hierovision/ai-framework
- 0.592score
reviewing-code
hierovision
Review a change (a diff, a branch, or an implement pass's output) against the plan that authorized it and against engineering quality, then issue a verdict…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-to-azure-swa
hierovision
Deploy a static front end to Azure Static Web Apps from GitHub Actions — preview-per-PR environments, production promotion on push to main, capturing the…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
debugging-test-failures
hierovision
Diagnose WHY a failing verification won't converge — reproduce first, hypothesis + discriminating experiment, classify the defect (code / test / plan /…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
capturing-ui-evidence
hierovision
Captures the current visual state of UI targets into a structured, addressable EVIDENCE ARTIFACT — screenshots (full-page + element-clipped) plus a…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-with-supabase
hierovision
Deploy to Supabase from CI — `supabase db push` forward-only semantics, "only one db push at a time" concurrency, migrations in CI via session-mode `--db-url`…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-architecture
hierovision
Turn ONE selected roadmap entry or direct feature request into a verifiable implementation plan that a separate build session can execute cold — then stop at…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-cicd
hierovision
Design GitHub Actions CI/CD topology — trigger selection (push / pull_request / workflow_run / workflow_dispatch), job sequencing via needs, concurrency…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
facilitating-product-vision
hierovision
Facilitates an owner-led product vision session and produces two artifacts: a strategy-only vision document plus roadmap items (outcome themes under…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
handling-security-incidents
hierovision
Handle a security incident through the NIST SP 800-61 lifecycle — validate and scope the signal, build a timestamped fact timeline, classify severity, plan…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
auditing-supply-chain
hierovision
Audit a software supply chain — dependency manifests and lockfiles, build provenance, SBOMs, and release artifacts — for what makes it untrustworthy…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
managing-github-issues
hierovision
Persist an established ROADMAP.md as GitHub issues — one issue per open roadmap row, enriched from its source files, tagged with a stable roadmap-id label for…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
modeling-threats
hierovision
Build, refresh, or ratify a threat model for a service, library, or system — the written security contract of assumptions, guarantees, explicit…
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 7
- Last commit (this folder)
- Oct 4, 2026 (24 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hierovision/ai-framework
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hierovision
- 0.592score
auditing-supply-chain
hierovision
Audit a software supply chain — dependency manifests and lockfiles, build provenance, SBOMs, and release artifacts — for what makes it untrustworthy…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-cicd
hierovision
Design GitHub Actions CI/CD topology — trigger selection (push / pull_request / workflow_run / workflow_dispatch), job sequencing via needs, concurrency…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-to-azure-swa
hierovision
Deploy a static front end to Azure Static Web Apps from GitHub Actions — preview-per-PR environments, production promotion on push to main, capturing the…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
deploying-with-supabase
hierovision
Deploy to Supabase from CI — `supabase db push` forward-only semantics, "only one db push at a time" concurrency, migrations in CI via session-mode `--db-url`…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-architecture
hierovision
Turn ONE selected roadmap entry or direct feature request into a verifiable implementation plan that a separate build session can execute cold — then stop at…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
facilitating-product-vision
hierovision
Facilitates an owner-led product vision session and produces two artifacts: a strategy-only vision document plus roadmap items (outcome themes under…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
optimizing-model-routing skill. Agent Mart. https://agentmart.dev/skills/hierovision-optimizing-model-routing (last updated 2026-10-24)