Skill Router

Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.

stevesolun a5cf953 6 files · 7.2 KB Updated

File contents

skill-router

Reads ~/.claude/skill-manifest.json and ~/.claude/pending-skills.json. Executes the 5-stage pipeline. No skipping stages.

Pipeline

01-scope → 02-plan → 03-build → 04-check → 05-deliver

Invoke When

  • Session starts (automatic via using-superpowers pattern)
  • User switches projects or opens a new repo
  • pending-skills.json exists (mid-session signals detected)
  • User asks "what skills are loaded?" or "update my skills"

Stage Files

All stage files are in references/. Read and follow each in order.

  1. 01-scope — Is a scan needed?
  2. 02-plan — Run the scanner
  3. 03-build — Resolve the manifest
  4. 04-check — Validate before loading
  5. 05-deliver — Present to user

See check-gates.md for validation questions.

stevesolun/ctx/tree/main/skills/skill-router commit a5cf953bb9

Frequently asked questions

npx skillmds@latest add stevesolun/skill-router-2