From agents
Route tasks to local skills. Use when choosing skills, recovering omitted skills after context warnings, or preparing a small skill context packet. NOT for install, authoring, or audit workflows.
npx claudepluginhub wyattowalsh/agents --plugin agentsThis skill uses the workspace's default tool permissions.
Use local skill indexing to choose and load relevant skills only when a task needs them.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Use local skill indexing to choose and load relevant skills only when a task needs them.
| $ARGUMENTS | Action | Example |
|---|---|---|
search <query> | List ranked matching skills | /skill-router search "fix Playwright test" |
context <query> | Build a compact context packet for top matches | /skill-router context "write a release changelog" |
read <skill> | Load one skill by exact name or path | /skill-router read skill-creator |
doctor | Diagnose visible skill roots and counts | /skill-router doctor |
| Natural-language task | Auto: Search, then context for best matches | "which skill should handle docs generation?" |
| Empty | Show quick usage and run doctor | /skill-router |
search when deciding which skill or skills apply.context when the next step needs the selected skill bodies.read only when the skill name or path is already known.doctor when a skill is missing, duplicated, or omitted by a startup context warning.uv run wagents skills search "$ARGUMENTS" --limit 5
uv run wagents skills context "$ARGUMENTS" --limit 3
uv run wagents skills read <skill-name>
uv run wagents skills doctor
wagents skills searches these roots:
| Source | Root | Trust tier |
|---|---|---|
repo | skills/ | repo |
project | .agents/skills/ in the current project path | codex-user |
codex | ~/.codex/skills/ | codex-user |
global | ~/.agents/skills/ plus supported agent stores | external-installed |
plugin | ~/.codex/plugins/cache/**/skills/ | openai-plugin or plugin |
Use --source repo, --source codex, --source global, or --source plugin to narrow results when needed.
| Term | Meaning |
|---|---|
| skill index | Parsed metadata for visible SKILL.md files across known roots |
| skill context packet | Small set of selected skill bodies loaded after search |
| source | Filesystem origin such as repo, codex, global, or plugin |
| trust tier | Safety label used to rank and warn about retrieved skills |
| warning | Parser, hook, script, or metadata signal requiring inspection before use |
search first.context for the top matches.read.doctor before searching.skill-installer or npx skills workflows.skill-creator for skill definition work.Search and context results include:
namepathsourcetrust_tierdescriptionscorematched_fieldsreasonwarningsUse --format json when another script or agent will consume the result.
| File | Content | Read When |
|---|---|---|
references/routing-guide.md | Ranking, trust, and warning interpretation details | Search results are ambiguous, tied, or warning-heavy |
Run these before declaring changes complete:
uv run wagents validate
uv run wagents eval validate
uv run wagents package skill-router --dry-run
uv run pytest tests/test_skill_index.py -q
See references/routing-guide.md for the exact audit command and validation notes.
Completion criteria:
skill-router evals present.