Lazy-loader MCP server for Claude Code skills: search/load on demand instead of preloading the whole library
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 55/100 with only 9 stars
// how to help
// readme
skill-router
A lazy router for Claude Code skills: instead of every installed skill costing context every turn, expose the whole library through three small MCP tools β search, load, reindex. Weak/cheap models navigate it fine; thatβs the point.
Single-file Node MCP server (stdio). One dependency (@modelcontextprotocol/sdk).
No database, no embeddings, no background services. Indexing ~185 skills takes
~25ms at startup.
How it works
On startup (and on skill_reindex) the server walks three roots for SKILL.md
files:
| Root | Label | Notes |
|---|---|---|
~/.claude/skills/ |
active |
symlinks followed (with cycle guard) |
~/.claude/plugins/ |
plugin |
plugins/cache/ and plugins/marketplaces/ excluded |
~/.claude/skill-vault/ |
vault |
see below |
Frontmatter name:/description: are parsed (including YAML block scalars
like description: >-); duplicates dedupe with precedence
active > plugin > vault.