skills-selector
Meta-skill gatekeeper that runs FIRST on every task to decide which other skill(s) — if any — should activate. Analyzes the user request, matches it against a…
от Andersonlimahw★ 19 звёзд на GitHub
Установить skills-selector в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skills Selector — The Skill That Picks Skills
Prime directive: you are the first gate for every task. Decide which skill(s) deserve to load, or declare that none are needed. Every token spent on an unused skill is a token stolen from the user's real work.
Why this skill exists
Loading a skill injects hundreds to thousands of tokens into the context. Many CLIs now ship 20–80+ skills. Without a gatekeeper, every plausible match fires, the context fills with orchestration noise, and the model gets slower, more expensive, and more confused. skills-selector fixes that by running once at the top of a task and committing to a minimal, justified selection.
This skill is intentionally short. If you want depth, call the chosen skill — don't add it here.
Decision-native selection
Treat selection as a bounded decision workflow over one shared state:
refined prompt or current request + executor/catalog facts
-> typed selection questions evaluated together
-> deterministic policy clamps
-> SKILLS selection block
-> chosen skill(s)
The state contains only the objective, confirmed context, explicit user routes,
available catalog entries, platform, risk, and verification shape. Evaluate these
independent questions once: intent (Choice from the table), primary_skill
(Choice from the available catalog plus none), secondary_skill (Choice from
the remaining catalog plus none), heavy_signal (Noul), budget (Score:
low/medium/high), and route_fit (Score). Keep the answer space declared;
the selector never invents a skill or emits free-form routing JSON for another
component to parse.
Use the static catalog and rules as the default. A calibrated scorer is optional,
model-agnostic, and advisory until local validation supports enforcement. Its
probabilities are routing signals, not correctness proof. If it is missing, invalid,
slow, or below a calibrated gate, mark confidence unavailable and use the static
catalog, SKILLS: [], or a sharp clarification as appropriate. Never compensate
for uncertainty by selecting a heavier skill or more skills.
Protocol — run exactly these steps, in order
0. Consume the EXEC-MAP contract if present (skip re-classification)
If stage-0 (senior-prompt-engineer) already ran, an EXEC-MAP v1 block is in context. Consume it — do not re-classify from scratch:
- Take
intentdirectly as the primary intent (skip step 1). - Seed candidates from
EXEC-MAP.skills(skip step 2's catalog lookup; still run step 3 rank/prune to validate, cap at 2, and drop heavy skills lacking signal). - Carry
effort/tokensintoBUDGET. - Add
MAP: consumedto the emitted block so the audit trail shows stage-0's work wasn't redone. - Validate
skills,intent,effort, androuter_fallbackagainst the current catalog and platform. Preserve the canonicalrouter,router_mode,router_confidence, androuter_fallbackfields losslessly when valid; otherwise use the static policy values.
Only fall through to steps 1–2 when no EXEC-MAP block exists.
1. Build the shared state and classify once — only if no EXEC-MAP
Construct the bounded state described above. Evaluate the typed questions once; do not ask separate model calls to classify intent, choose skills, and estimate budget. Use the artifact the user expects at the end to resolve ambiguity.
1a. Classify the request (inline, silent) — only if no EXEC-MAP
Assign the user's turn to one primary intent from:
| Intent | Typical verbs / nouns |
|---|---|
plan |
"plan", "design the approach", "how should we", "architect" |
design-ui |
"design", "redesign", "landing page", "polish UI", "figma" |
build-code |
"implement", "build", "create <component/feature>", "add" |
fix-bug |
"fix", "not working", "error", "broken", "regression" |
refactor |
"refactor", "simplify", "clean up", "extract" |
review |
"review", "audit", "check diff", "is this safe" |
test |
"write tests", "coverage", "e2e", "unit test" |
git-op |
"commit", "pr", "branch", "changelog", "release notes" |
debug |
"debug", "trace", "repro", "investigate" |
docs |
"readme", "document", "write docs", "api doc" |
research |
"research", "compare", "survey", "find evidence" |
data |
"analyze data", "dataset", "query", "metrics" |
content |
"copy", "tweet", "post", "landing copy", "pitch" |
media |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Grep - 03
Glob
Вложенные файлы
- plugin.json
FAQ
Что делает скилл skills-selector?
Meta-skill gatekeeper that runs FIRST on every task to decide which other skill(s) — if any — should activate. Analyzes the user request, matches it against a ranked catalog (frontend-design, ui-ux-pro-max, superpowers/planning, git-*, mcp-builder, smart-dispatch, claude-api, etc.), and emits a tight SELECTION plan so other skills are loaded on-demand only. Minimizes token/context consumption by refusing to activate heavy skills unless clearly justified. Triggers on ANY user instruction that could plausibly benefit from a specialized skill — i.e. essentially every turn that starts new work. Keywords: "plan", "design", "ui", "ux", "implement", "build", "create", "fix", "refactor", "commit", "pr", "review", "test", "debug", "deploy", "mobile", "video", "mcp", "skill", "architecture", "api", "ci", "docs", "copy", "social", "setup", "doctor".
Как установить скилл skills-selector?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skills-selector запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…