Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Post-decomposition skill router for terminal coding agents. After decomposing a task, route each execution unit to the best SKILL.md workflow and surface missing useful skills.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 33% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-09 | ✓→✓ | = Same ✓ | 184% | 0% |
| case-10 | ✓→✓ | = Same ✓ | 16% | 0% |
| case-11 | ✓→✓ | = Same ✓ | 9% | 0% |
Use this after understanding the user's request and decomposing it into concrete execution tasks.
The goal is simple: do not guess which slash command, workflow, or skill should handle each subtask. Plan first, route each execution unit, then load the right SKILL.md.
For one task:
bashtask-skill-router "<decomposed execution task>"
For multiple tasks:
bashprintf '%s\n' \ "<task 1>" \ "<task 2>" \ "<task 3>" \ | task-skill-router --batch
To record recommendations for later hit-rate review:
bashprintf '%s\n' \ "<task 1>" \ "<task 2>" \ "<task 3>" \ | task-skill-router --batch --record
If task-skill-router is not on PATH, use:
bashpython3 ~/.task-skill-router/task-skill-router.py "<decomposed execution task>"
Each match includes:
skill: matched skill nameinstalled: whether the skill exists locallypath: path to the matched SKILL.md, if installedconfidence: TF-IDF cosine similarity scoremode: suggested handling modereason: why the skill matchedinstall_hint: how to install or add the skill when missingBatch output also includes top-level missing_skills. When --record is used, output includes audit_event_id or audit_event_ids that reviewers can use for hit-rate judgments.
| Case | Behavior | | --- | --- | | installed: true and auto-load | Load the matched SKILL.md and follow its workflow. | | installed: true and recommend | Tell the user the recommended skill and why before proceeding. | | installed: false | Tell the user the useful skill is missing and show the install hint. | | auto-run | Only run deterministic, low-risk commands explicitly provided by the mapping. |
High-risk tasks involving auth, secrets, config, deploys, deletes, or destructive operations must stay in recommend mode.
| Don't | Do | | --- | --- | | Run router before understanding the request | Decompose first, then route subtasks | | Route only the original large request | Route each execution unit | | Guess from memory | Use the router result | | Treat confidence as probability | Treat it as a ranking score | | Ignore missing skills | Tell the user what skill would help | | Auto-run risky workflows | Ask before auth/config/deploy/delete work | | Use stale copied skill text | Load the current SKILL.md from path | | Trust completion claims | Verify with tests, build, or direct checks |
Use this only after there is enough evidence about the outcome.
bashtask-skill-router --pending-reviews --limit 20 task-skill-router --review <audit_event_id> --judgment hit --evaluator agent:reviewer task-skill-router --review <audit_event_id> --judgment partial --correct-skill <skill-name> --evaluator skill:<name> task-skill-router --review <audit_event_id> --judgment miss --correct-skill <skill-name> --evaluator gpt-5 task-skill-router --stats
Use hit when the top recommendation was appropriate, partial when it helped but was incomplete, miss when it was wrong, and unknown when there is not enough evidence.
This protocol works best for terminal-first tools such as Codex CLI, Claude Code, OpenCode, and custom agents because they can run shell commands and read workspace instructions.
It does not require patching the agent's source code. Source-level integration is stronger, but a project instruction file such as AGENTS.md, CLAUDE.md, or another workspace rule file is usually enough for soft integration.
Other measured skills in the registry, with their headline benchmark lift.