$npx -y skills add stevesolun/ctx --skill skill-routerAlive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.
| 1 | # skill-router |
| 2 | |
| 3 | Reads `~/.claude/skill-manifest.json` and `~/.claude/pending-skills.json`. |
| 4 | Executes the 5-stage pipeline. **No skipping stages.** |
| 5 | |
| 6 | ## Pipeline |
| 7 | |
| 8 | ``` |
| 9 | 01-scope → 02-plan → 03-build → 04-check → 05-deliver |
| 10 | ``` |
| 11 | |
| 12 | ## Invoke When |
| 13 | |
| 14 | - Session starts (automatic via using-superpowers pattern) |
| 15 | - User switches projects or opens a new repo |
| 16 | - `pending-skills.json` exists (mid-session signals detected) |
| 17 | - User asks "what skills are loaded?" or "update my skills" |
| 18 | |
| 19 | ## Stage Files |
| 20 | |
| 21 | All stage files are in `references/`. Read and follow each in order. |
| 22 | |
| 23 | 1. **[01-scope](references/01-scope.md)** — Is a scan needed? |
| 24 | 2. **[02-plan](references/02-plan.md)** — Run the scanner |
| 25 | 3. **[03-build](references/03-build.md)** — Resolve the manifest |
| 26 | 4. **[04-check](references/04-check.md)** — Validate before loading |
| 27 | 5. **[05-deliver](references/05-deliver.md)** — Present to user |
| 28 | |
| 29 | See [check-gates.md](check-gates.md) for validation questions. |