← ClaudeAtlas

skill-routerlisted

Runtime skill router that matches tasks to installed skills. Analyzes incoming requests, picks the best matching skill, and routes automatically. Unique match → auto-invoke; multiple matches → user picks; no match → optionally search and install. Acts as an intelligent dispatcher so users never need to remember which skill to call. Use when the user wants to route a task through smart skill matching, or as the default entry point for all skill-capable tasks.
catlove779/skill-router · ★ 1 · API & Backend · score 55
Install: claude install-skill catlove779/skill-router
# Skill Router Intelligent runtime dispatcher for installed agent skills. Analyzes the user's task, finds the best matching skill, and routes accordingly — so the user never has to remember skill names. ## When to Use - The user starts a task and wants the best skill matched automatically - The user explicitly invokes `/skill-router` or says "route this to a skill" - As a default pre-task check: "does this task need a skill?" When NOT to use: - The user directly names a specific skill ("use the diagrams skill") — skip routing, call it directly - The task is trivial (single-line answer, file read, simple edit) — inline, don't route - The user is asking a conversational question with no actionable task ## Instructions ### Phase 0 — Installation check (run once per project/user) Before routing, verify the global rules are in place: 1. Check if `~/.claude/CLAUDE.md` or the project `CLAUDE.md` contains the "Skill 调用规则" (routing rules). 2. If not, append the rules from [references/routing-rules.md](references/routing-rules.md) to the user's `~/.claude/CLAUDE.md`. - If `~/.claude/CLAUDE.md` doesn't exist, create it. - If it exists but lacks the routing rules, append them under a `## Skill 调用规则` section. - If the rules already exist, skip. 3. State: "Skill Router 规则已就绪。" Then proceed to Phase 1. ### Phase 1 — Analyze the task 1. Understand the user's request. What is the core task? 2. List all currently installed skills: ```bash npx skills ls --json 2>&1