--- name: universal-ai-skills description: Compact plugin wrapper for automatic Universal AI Skills routing and on-demand skill loading through skill-router. --- # Universal AI Skills Router - Canonical source: `%USERPROFILE%\universal-ai-skills-library`. - Binary: `%USERPROFILE%\go\bin\skill-router.exe` on PATH as `skill-router`. - For substantive user prompts, run `skill-router preflight --hook-event UserPromptSubmit --json ""` from prompt-submit hooks, or `skill-router preflight --json ""` 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_plan` or `skill-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, use `workflow_search` to inspect alternatives and pin the relevant file, lines and digest in a revised plan. Use `workflow_load` for 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 use `workflow_review` before claiming coverage. - For a single requirement, load a clearly relevant hook candidate (the workflow_candidate field in fallback JSON) with `skill-router skill `. - On a single-requirement request, if `decision` is `ambiguous`, `host_ai_review.required` is 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 --limit 10`. - Keep this wrapper compact. Do not copy or paste the full skills corpus into plugin context.