Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

model-routing-guide

БесплатноБез исполняемых скриптовНе проверен

Research model patterns passed as skill arguments, or enabledModels when no arguments are supplied, and generate or update an evidence-based subagent routing…

aebrerот aebrer★ 34 звезды на GitHub

Об этом скилле

model-routing-guide — Generate or Update the Subagent Routing Guide

Mode and explicit model patterns, when supplied: $ARGUMENTS

Generate, replace, or incrementally update ~/.dreb/agent/model-routing-guide.md. This is a deep research workflow, not a quick opinion. Use normal dreb tools (read, bash, find, grep, web_search, web_fetch, and the Reddit reader when applicable); no special runtime support is required.

The optional first argument update selects UPDATE mode. Remove that keyword before parsing model patterns. Without it, use GENERATE mode. The candidate scope still has exactly two supported sources: non-empty model-pattern arguments after the optional mode keyword, or the effective non-empty enabledModels setting when no model patterns were supplied. Once one source is selected, it is authoritative. Do not search for a separate runtime, session, or "scoped models" value.

Non-negotiable routing goals

The guide must help a later dispatcher make two especially important corrections:

  1. Agent-role fit: Explore is for factual collection, codebase navigation, file discovery, web research, and answering bounded questions. Planning, architecture ownership, implementation, editing, and feature development are not Explore work. Explicitly call out examples such as a planning workflow delegating its plan to Explore, or a feature-development task being sent to Explore.
  2. Capability/cost fit: routine fact checks, repetitive inspection of many mundane files, lookup, extraction, and straightforward summarization should use the least expensive/lowest-latency selected candidate that the evidence shows is adequate. Reserve frontier or strongest-tier models for tasks whose complexity, ambiguity, risk, or demonstrated failure rate justifies them.

Do not turn the guide into a generalized policy engine. Research the selected canonical provider/model candidates and give practical recommendations for the existing dreb agent roles.

Step 1: Select the mode and one authoritative scope source

First parse the invocation mode:

  • If the first whitespace-delimited argument is exactly update (case-insensitive), select UPDATE mode and remove only that keyword from the argument text.
  • Otherwise select GENERATE mode and leave the argument text unchanged.
  • UPDATE is a mode keyword, never a model pattern. An update token anywhere except first position is ordinary pattern text and should fail normally if unresolved.

There are exactly two supported scope sources. Apply these rules in order, choose one source, and then stop looking for scope:

  1. Read the model-pattern argument text remaining after optional mode parsing.
    • If it is non-empty after trimming, split it as a comma-separated model-pattern list.
    • That argument list is the complete authoritative scope. Do not read enabledModels and do not search session state for another scope.
  2. Only when the skill arguments are empty, read the effective enabledModels value from the normal settings files:
    • Start with enabledModels from ~/.dreb/agent/settings.json, when present.
    • If .dreb/settings.json in the current working directory explicitly defines enabledModels, that project array replaces the global array; if it does not define the key, retain the global array.
    • A non-empty effective enabledModels array is the complete authoritative scope. Stop looking for scope as soon as it is found.
  3. This skill-only workflow does not receive the current session's runtime --models value or later in-session scope changes. Never try to discover them from session logs, process state, the current model, or another file. If the user wants the runtime --models scope, they must pass the same comma-separated patterns as skill arguments.
  4. Do not infer scope from the current model, agent-definition defaults, all authenticated models, agentModels.models, or subagent session history.
  5. If neither source provides a non-empty pattern list, stop with an actionable error before researching or writing a guide. Tell the user to pass skill arguments or configure enabledModels.
  6. Run dreb --list-models to obtain the complete available-model listing. If the command fails or returns no usable listing, stop loudly.
  7. Resolve every selected pattern against that listing using the same normal model-pattern semantics as --models, including case-insensitive canonical/exact matching, fuzzy single-model matching, and globs. Preserve provider identity: the same upstream model through two providers is two candidates.
  8. Fail loudly and name every selected pattern that resolves to no available candidate.
  9. Compare the resolved candidate set with the complete dreb --list-models set. If they are equal, or the selected patterns otherwise amount to unbounded all-model research (for example a bare *), refuse and ask the user for a narrower scope.

Keep the canonical candidate list. It is the coverage checklist for eve

Полный SKILL.md на GitHub

Установить model-routing-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл model-routing-guide?

Research model patterns passed as skill arguments, or enabledModels when no arguments are supplied, and generate or update an evidence-based subagent routing guide. This is a user-triggered, potentially expensive workflow.

Как установить скилл model-routing-guide?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл model-routing-guide запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить model-routing-guide с