Repository navigation
skill-router v2.4.0 — release notes
skill-router is now a Claude Code plugin, it learns which of your skills you actually use, it
can suggest a vetted outside skill when nothing installed fits, and it ships with an eval that
runs on every pull request.
Install
claude plugin marketplace add hussi9/skill-router
claude plugin install skill-router@skill-routerUpgrading from the symlink install: see "Migrating from the symlink install" in the README.
Your learned state stays in ~/.claude/skill_router_*; your personal routes move to
~/.claude/skill-router/SKILL.personal.md.
What's new
- Plugin packaging.
.claude-plugin/plugin.json+marketplace.json, the skill at
skills/skill-router/SKILL.md, hooks inhooks/hooks.jsonvia${CLAUDE_PLUGIN_ROOT}.
claude plugin validate .reports nothing.doctor.pychecks that hooks are wired once. - Layer 1: your usage ranks your skills. A usage store built from the router log, the
all-time skill log and a transcript backfill gives each skill a preference score (recency,
frequency, test outcome). It breaks near-ties, bounded at ±8 % of a match score. Pins and
demotions in~/.claude/skill_router_prefs.json. - Layer 2: external discovery that stays quiet. A cached, offline BM25 index of
uninstalled skills (skills.sh and public catalogs), refreshed in the background, risk-screened
with heuristics adapted from surenode-ai/skill-discovery (Apache-2.0). At most two
"Consider installing" lines, with source and install command, only when an outside skill
clearly beats what you have. Nothing installs automatically. - Listing budget plan.
listing_plan.pydraftsskillOverridesthat keep your most-used
skills described and the rest name-only, within the 1 % listing budget. It does not apply
anything unless you pass--apply. - Eval suite.
python3 scripts/eval/run_eval.py— see below.
Measured (deterministic path, public fixture of 309 skills, 139 labelled prompts)
| before | after | |
|---|---|---|
| Routing top-1 | 43.0 % | 55.1 % |
| Routing top-3 | 46.7 % | 59.8 % |
| Silent although an installed skill fits | 34.6 % | 15.0 % |
| Silent on chat and questions | 93.8 % | 100 % |
| False "Consider installing" (installed skill fits) | 12.1 % | 3.7 % |
| "Consider installing" precision | 37.5 % | 57.1 % |
| "Consider installing" useful when nothing installed fits | 56.2 % | 50.0 % |
| Hook latency p50 / p95 | 80 / 90 ms | 82 / 90 ms |
On the author's own setup (485 indexed skills, 133 labelled prompts plus 29 mined from
transcripts): routing top-1 32.1 → 36.4 %, top-3 36.4 → 42.0 %, false suggestions 7.4 → 1.9 %,
suggestion precision 35.0 → 60.0 %, p95 latency 141 → 137 ms. More skills means more
competition, which is why these are lower than the fixture.
Limits, plainly: labels were written by an AI agent from skill descriptions and are not yet
human-reviewed; the eval measures the keyless deterministic path, not the Jev model stage;
layer 1 moves top-1 by under a point either way; one useful outside suggestion was lost to
the stricter gate.
Fixes
replay_testworks on machines that exportGIT_CONFIG_*variables.listing_plan.pyno longer under-counts the listing after collapsing skills.- A bare "sounds good, go ahead" no longer produces a route card.
Full list: CHANGELOG.md.