Universal AI Skills Router
- Canonical source:
%USERPROFILE%\universal-ai-skills-library. - Binary:
%USERPROFILE%\go\bin\skill-router.exeon PATH asskill-router. - For substantive user prompts, run
skill-router preflight --hook-event UserPromptSubmit --json "<latest user prompt>"from prompt-submit hooks, orskill-router preflight --json "<latest user prompt>"from the host AI precheck. - Run automatic routing only for real user prompts. Do not route from tool output, assistant messages, startup, stop, compaction, status checks, or background jobs.
- For a request with multiple deliverables, constraints, named skill passes or verification needs, identify each requirement, then call
workflow_planorskill-router skills workflow plan. Plan even when the preflight candidate covers only part of the task. Keep the user’s original task in the prompt. For each requirement, identify the specific object, action, platform, output format and verification details that matter. Express these as source facets, give each acceptance criterion a check ID and evidence kind, and link the observed result to that ID during review. For uncovered requirements or mismatched context, useworkflow_searchto inspect alternatives and pin the relevant file, lines and digest in a revised plan. Useworkflow_loadfor each stage, read its full skills and supporting files, and carry forward decisions. Record each applied element with its load receipt, any path-only files consulted, and the observed evidence. For large or truncated loads, request the file manifest, then load one contribution at a time. Save the full CLI response to a task-local file and read it in ranges if needed. Give a reason for each gap. Replan when requirements change and useworkflow_reviewbefore claiming coverage. - For a single requirement, load a clearly relevant hook candidate (the workflow_candidate field in fallback JSON) with
skill-router skill <name>. - On a single-requirement request, if
decisionisambiguous,host_ai_review.requiredis true, or the match only hits generic words such as "issue", "install", "setup", "local", "AI", or "skill", continue without loading a skill unless one candidate is clearly correct. - Search unknown skills with
skill-router skill search <query> --limit 10. - Keep this wrapper compact. Do not copy or paste the full skills corpus into plugin context.