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★ 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:
- Agent-role fit:
Exploreis 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. - 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
updatetoken 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:
- 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
enabledModelsand do not search session state for another scope.
- Only when the skill arguments are empty, read the effective
enabledModelsvalue from the normal settings files:- Start with
enabledModelsfrom~/.dreb/agent/settings.json, when present. - If
.dreb/settings.jsonin the current working directory explicitly definesenabledModels, that project array replaces the global array; if it does not define the key, retain the global array. - A non-empty effective
enabledModelsarray is the complete authoritative scope. Stop looking for scope as soon as it is found.
- Start with
- This skill-only workflow does not receive the current session's runtime
--modelsvalue 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--modelsscope, they must pass the same comma-separated patterns as skill arguments. - Do not infer scope from the current model, agent-definition defaults, all authenticated models,
agentModels.models, or subagent session history. - 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. - Run
dreb --list-modelsto obtain the complete available-model listing. If the command fails or returns no usable listing, stop loudly. - 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. - Fail loudly and name every selected pattern that resolves to no available candidate.
- Compare the resolved candidate set with the complete
dreb --list-modelsset. 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic