skill-router
Skill1 starsChanged 32 days agoMITView on GitHub
Manages the automatic skill router that picks the best installed skills for every request and blocks overlapping ones. Use when the user asks which skill or plugin to use for something, why a skill was or was not picked, which installed skills overlap, duplicate or conflict, says they have too many skills, wants to always prefer one skill over another, wants to stop a skill from being suggested, or wants to turn the router on or off. Also use when a <skill-router> note looks wrong.
60 other projects use a version of this.
Adopted by
Most recently taken up by
- luxurylifestyleco/skill-routertheir own version, first seen Nov 15, 2026
- byrmeng/skill-routertheir own version, first seen Nov 8, 2026
- nicklasorte/skillstheir own version, first seen Nov 8, 2026
- KRISH-exe-29/ai-agent-skill-routertheir own version, first seen Nov 8, 2026
- dotslashsimran/simcrafttheir own version, first seen Nov 8, 2026
- SWEStash/swe-workflow-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use context-engineering, accessibility and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mrgoonieSkillcontext-engineering
Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.
Also in 3 projects that use this
ElasticSkillaccessibility
Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.
Also in 3 projects that use this
MicrosoftSkillcaveman
Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules
Also in 4 projects that use this
SupabaseSkillcopywriting
Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.
Also in 3 projects that use this
GoogleSkillteach
Teach the user a new skill or concept, within this workspace.
Also in 3 projects that use this
GoogleSkilldomain-modeling
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
Also in 3 projects that use this
- +4 more from google
Other versions60 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 60
- rohitg00/pro-workflow★ 2.9ksame name
- stevesolun/ctx★ 583same name
- dotslashsimran/simcraft★ 451same name
- Fmarzochi/EGC★ 61same name
- luxurylifestyleco/skill-router★ 34same name
- hussi9/skill-router★ 32same name
- Fandry96/k3-agentic-skills★ 27same name
- pcx-wave/skill-router★ 26same name
- Hassaan146/claude-skills★ 18same name
- AnamKwon/agent-skill-router★ 9same name
50 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 51 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
All commands go through one script.
- Very specific: line 48
After changing preferences, run route again on the user's example to show the new behaviour.
- Very specific: line 49
When the note was wrong for a request, check route --json to see what matched.
- Distinctive: line 66
Learn: Every Skill and Agent call is counted.
“Common” is measured: kept by at least 6 in 10 of the 51 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill router
A hook already runs before every prompt. It scans every installed skill, plugin skill, slash command
and subagent, scores them against the request, and adds a <skill-router> note naming the best picks
and the overlapping ones to skip. Nothing has to be invoked for that to work. This skill is for
inspecting and steering it.
All commands go through one script. The exact command is in this session's "skill-router is active"
startup note (node "<path>/scripts/cli.js" <command>). If that note is missing, the script is
../../scripts/cli.js relative to this skill's base directory. Do not search the disk for it.
node "<path>/scripts/cli.js" <command>What the user wants, and the command for it
| Request | Command |
| "which skill should I use for X?" / "why did it pick Y?" | route "<their task, verbatim>" (add --json for scores) |
| "which of my skills overlap / conflict / are duplicates?" | audit (or audit --out skill-audit.md for a file) |
| "always use X instead of Y" | prefer X (accepts several ids, first wins) |
| "stop suggesting X" / "never use X" | ignore X (also takes a whole plugin name) |
| "only use X as a last resort" | avoid X |
| undo any of those | unprefer X, unignore X, unavoid X |
| "turn the router off / on" | off / on |
| "is it working?" | doctor |
| "how many skills does it know about?" / "what do I use most?" | stats |
| just installed or removed skills | nothing: the index refreshes itself; rebuild forces it |
| tune sensitivity | config minConfidence 0.35 (higher = fewer notes), config maxPicks 2 |
Ids are exactly what the router prints, for example superpowers:brainstorming, taste-skill,
engineering:debug. If an id is wrong, the command lists close matches. Use one of those instead of
guessing.
Answering well
- For "which skill for X", run
routeand explain the pick in a sentence. Name the overlapping skills it rejected and why. Do not paste raw JSON. - For an audit, lead with the 3 to 5 biggest overlap groups, say which member the router currently
favours, and offer
prefercommands for the user to accept. Do not set preferences the user did not ask for. - After changing preferences, run
routeagain on the user's example to show the new behaviour. - When the note was wrong for a request, check
route --jsonto see what matched. Usually one of these fixes it:preferthe right skill,ignorea noisy one, or raiseminConfidence.
How it decides (for explaining to users)
- Index. Reads SKILL.md, command and agent frontmatter from project
.claude/,~/.claude/, every enabled plugin and Claude-desktop plugins. Only folders Claude Code really loads count, so uninstalled plugins are never suggested. - Score. BM25 over names and descriptions. Task words such as "debug", "review" and "deploy" outweigh context nouns. Words in a skill's own name, the author's quoted trigger phrases, and explicit mentions ("use taste-skill") get large boosts.
- De-duplicate. Two candidates from different plugins whose descriptions are too similar (tf-idf cosine) do the same job. Only the higher-scoring one is kept and the other goes on the "do not also load" list. Skills from the same plugin are treated as a team, never as rivals.
- Decide. A confident match becomes a directive ("USE FIRST"). A weaker one becomes a short list for Claude to choose from. Chit-chat, "continue", slash commands and simple look-ups get nothing.
- Learn. Every Skill and Agent call is counted. Inside an overlap group, the skills you actually use win ties.
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.

