router
Skill1 starsChanged 18 days agoMITView on GitHub
Shared routing procedure for all skillset router commands (make/development/plan/execute/review) — anti-stale pre-flight, task sizing, lean cross-plugin skill chains, per-phase model delegation, propose-then-confirm, rules application.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- lizzyDeng/claude-skillstheir own version, first seen Nov 8, 2026
- apattichis/agentic-research-toolkittheir own version, first seen Nov 8, 2026
- guang-lee-cn/scaffold-skillstheir own version, first seen Nov 8, 2026
- sam-ash-cy/sams-agentic-workflowtheir own version, first seen Nov 8, 2026
- lubusIN/frappe-skillstheir own version, first seen Nov 4, 2026
- letsloose501/sqs-agent-memorytheir own version, first seen Nov 3, 2026
Used with
Projects with it also use research and setup.
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.
NVIDIASkillresearch
Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.
Also in 3 projects that use this
VercelSkillsetup
Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- gamedev-skills/awesome-gamedev-agent-skills★ 6.4ksame name
- grainulation/grainulator★ 86same name
- lubusIN/frappe-skills★ 68same name
- timharris707/skills★ 44same name
- jammyfu/open-game-skills★ 12same name
- Canary-ECAD/eplan-scripting-skill★ 5same name
- Aetherdz/huntpack★ 4same name
- SunCherry/agentic-AI_analog_IC_auto-designer★ 4same name
- Adnova-Group/muster★ 2same name
- guang-lee-cn/scaffold-skills★ 2same name
7 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, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Anti-stale pre-flight: Run node "${CLAUDE_PLUGIN_ROOT}/scripts/scan.mjs" --check.
- Distinctive: line 13
Detect trivial tasks: If the task is a small question or one-line request, say no chain is needed, answer directly, and stop.
- Very specific: line 14
Selective load: Run node "${CLAUDE_PLUGIN_ROOT}/scripts/query.mjs" <task domain keywords> (top 5, short descriptions.
- Distinctive: line 19
Never size below medium when the task touches auth, payments, DB migrations, or secrets.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Skillset Router Procedure
The calling command provides: an archetype (full starting chain) and a task. If the task contains --full, strip it and skip sizing (step 4). Follow these steps:
- Anti-stale pre-flight. Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/scan.mjs" --check.- Exit 1 with
missing-catalog→ offer/skillset:initfirst; do not continue until the user chooses. - Exit 1 with drift (
added/version/removed) → offer/skillset:update; the user may decline and continue.
- Exit 1 with
- Detect trivial tasks. If the task is a small question or one-line request, say no chain is needed, answer directly, and stop.
- Selective load. Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/query.mjs" <task domain keywords>(top 5, short descriptions; add--fullonly if nothing fits). NEVER read the fullcatalog.json/catalog.md. ThenRead ~/.claude/skillset/data/rules.md; if missing → offer/skillset:init. - Size the task (
make/developmentonly;plan/execute/reviewkeep their archetype):- small (1–3 files, clear change):
test-driven-development→verification-before-completion(+commit-push-prfordevelopment). - medium (multi-file feature):
brainstorming→writing-plans→ TDD →code-review→verification-before-completion(+ commit fordevelopment). - large (new project, cross-cutting): the full archetype chain.
- Never size below medium when the task touches auth, payments, DB migrations, or secrets.
- small (1–3 files, clear change):
- Compose the chain from the sized chain, using only skills present in the catalog. Substitute both ways when unavailable:
superpowers:test-driven-development⇄mattpocock-skills:tdd;pr-review-toolkit:code-reviewer⇄ecc:code-reviewer;mattpocock-skills:code-review⇄pr-review-toolkit:review-pr. No substitute → propose skipping with a note. - Active rules. The
alwayssection is always active (selaluis a legacy alias); other sections (e.g.web-project) are active when their trigger matches the task. - Assign a model per phase from the
## modelssection ofrules.md(skill: haiku|sonnet|opus|main;main= stay in the session model). Missing section →haikufor verification, commit, finishing, doc sync;sonnetfor implementation and reviews;mainfor everything else. Any skill that asks the user questions or needs approval ALWAYS staysmain. - PROPOSE → wait for explicit confirmation. Show the size and a compact table (skill | model | reason in ≤8 words), the active rules, and which archetype steps were trimmed. Execute nothing before the user approves (or edits, then approves).
- Execute.
mainphases: invoke via the Skill tool in order. Delegated phases: spawn an Agent with the chosenmodeland a self-contained prompt (goal, files, "invoke<skill>with the Skill tool, ask no questions, reply in ≤10 lines"). Delegate only mechanical, self-contained phases; otherwise run inline. Check relevant rules before each phase and respect each skill's internal gates. - Final summary. Results per phase, rules applied, what was trimmed and why, follow-ups (
/skillset:review,/skillset:update,--fullto rerun with the whole chain).
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.

