Skip to content
Skills Library
AI & agents · Planning

skill-router

/skill-router

Unified dispatcher for the full skills estate. Use when you don't know which skill to invoke — describe your task and get routed to the optimal skill, agent composition, or MCP tool. Not for executing the task itself: it only routes, then hands off to the skill that does the work.

Repository
agentbox ↗
Licence
AGPL-3.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/route.mjs

What it does and when to use it

Unified dispatcher for the full skills estate. Use when you don't know which skill to invoke — describe your task and get routed to the optimal skill, agent composition, or MCP tool. Not for executing the task itself: it only routes, then hands off to the skill that does the work.

Original author description

Unified dispatcher for the full skills estate. Use when you don't know which skill to invoke — describe your task and get routed to the optimal skill, agent composition, or MCP tool. Not for executing the task itself: it only routes, then hands off to the skill that does the work.

How it works

  1. Usage
  2. Routing Method
  3. Routing Rules
  4. What This Skill Does NOT Do
  5. Maintaining the routing table
  6. Cross-harness note
Original SKILL.md headings · 107 lines, 781 words
SKILL.md preview
---
name: skill-router
description: >
  Unified dispatcher for the full skills estate. Use when you don't know which skill to invoke —
  describe your task and get routed to the optimal skill, agent composition, or MCP tool. Not for
  executing the task itself: it only routes, then hands off to the skill that does the work.
version: 1.1.0
author: agentbox-claude
tags:
  - routing
  - discovery
  - dispatcher
  - meta-skill
user-invocable: true
status: router-only
---

# /route — Unified Skill Dispatcher

Describe your task. Get routed to the right skill. You don't need to know the full skills estate — just say what you need.

## Usage

```
/route [describe what you need]
```

Examples:
- `/route fix the login bug and add tests`
- `/route generate a Wardley map of our infrastructure`
- `/route audit this UI for accessibility`
- `/route research competitor pricing for UK market`
- `/route harden this Linux server for SOC2`
- `/route 123 Main St, Brooklyn — site analysis and zoning`
- `/route make a podcast about our architecture`

## Routing Method

Two paths, chosen by `[skills.routing].router` in `agentbox.toml` (ADR-2091). The default
is the judge; the table is its fallback and is never removed.

**1. Ask the judge (default, `router = "jev"`).** Run, with the user's input verbatim:

```bash
node scripts/route.mjs "<everything after /route>"
```

It puts the request to TypeSafe System One as one Choice over every routable skill's own
description (the `system-one` skill owns that backend) and prints ranked picks with
probabilities and a `dispatch:` line — ~1 s, ~15k input tokens, about $0.0006. Take the
`dispatch:` skill to the routing rules below. The probability is advisory: a wrong pick has
been measured at 0.94, so a low number is a reason to ask, and a high number is not proof
(ADR-2090). `dispatch: none` means the judge saw no skill that would change your approach —
answer directly. `--json` gives the raw outcome; `--router table` forces path 2.

**2. Read the table (fallback, or `router = "table"`).** Whenever the script prints
`router: table (fallback: …)` — judge off, no key, timeout, 429/529, any error — do what
`/route` always did:

1. Load **`references/routing-table.md`** (generated from every skill's front-matter
   description and `references/section-map.json`; not inlined here to avoid drift).
2. Classify intent against its sections (they mirror the category headings of
   `SKILL-DIRECTORY.md`; one row per skill, each row's text is the skill's trigger description).
3. Apply the routing rules below to dispatch, clarify, or compose.

The fallback is the normal path when the judge is slow, not an error to report — say
`(routed by table)` in your one-sentence dispatch and carry on.

The same library also runs as a per-turn hook (`config/hooks/skill-route.cjs`) that injects
one short line — `[route] x 0.91 · y 0.05 · z 0.02 — advisory; load a skill only if it fits
this turn.` — into ordinary turns; `/route` is for when you want the full ranking or the hook
is off.

## Routing Rules

### Rule 1: Clear match → dispatch immediately
State which skill handles the request in one sentence, then invoke it.

### Rule 2: Ambiguous → ask ONE question
If the intent could go to 2+ skills, ask exactly one clarifying question. Then route.

### Rule 3: Multi-skill composition → state the plan
If the task spans multiple skills, state the sequence and invoke the first one.
Example: "Starting with `perplexity-research` for competitor data, then `report-builder` for the analysis document."

### Rule 4: No match → show condensed menu
```
I don't have a specific skill for that. Here's what I cover:

• Code: /route [bug fix / feature / refactor]
• Research: /route [web search / URL analysis / NotebookLM]
• Economics: /route [GPU cost / agent job pricing / token conversion / valuation]
• Design: /route [UI/UX / design audit / typography]
• Docs: /route [report / LaTeX / diagrams / Wardley map]
• Media: /route [image / video / 3D / AI art]
• DevOps: /route [GitHub / CI-CD / release]
• Security: /route [hardening / compliance / audit]
• Architecture: /route [review / first-principles / entropy lens]
• AEC: /route [site planning / zoning / sustainability]

Or browse the full inventory: see SKILL-DIRECTORY.md
```

### Rule 5: Just `/route` with no arguments → show condensed menu

## What This Skill Does NOT Do
- It does not execute tasks. It routes to the skill that does.
- It does not override skill-internal logic.
- It does not ask more than one clarifying question.

## Maintaining the routing table
`references/routing-table.md` is **generated**: `node skills/gen-routing-table.mjs` reads every
skill's frontmatter `description` (and `deprecated`/`replacement`) and the section for each
skill from `references/section-map.json`, and rewrites the table. `bash skills/lint-skills.sh`
fails when the table is stale (`--check`) or a skill directory is missing from the section map.
Never hand-edit a row: fix the owning skill's description, add the skill to the section map if
it is new, and regenerate.

## Cross-harness note
`/route` is a Claude Code slash command. On Codex run `scripts/route.mjs`
the same way (it is plain Node, no harness affordance) or read
`references/routing-table.md` directly; the same rows, the same descriptions.
Files in this package (4)
  • SKILL.md 5 KB
  • references/routing-table.md 62 KB
  • references/section-map.json 8 KB
  • scripts/route.mjs 6 KB

Versions

RepositoryScoreLicence
This page · dreamlab-ai/agentbox100AGPL-3.0
FrancoStino/opencode-skills-collection100MIT
hanmariyang/giting-skills100MIT
wrongstack/wrongstack100MIT
sickn33/agentic-awesome-skills100MIT
dotslashsimran/simcraft100MIT
borghei/Claude-Skills100MIT
byrmeng/skill-router100MIT
aminmzadev/keyless-agent-skills100MIT

Database snapshot: 13.11.2026 · package version af4b7eeca562 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 86ctxora-navigation
    Route a CTXORA task to the smallest useful skill, command, agent role, and MCP tool set. Use when the user asks how to use CTXORA, which workflow to choose, or where a CTXORA capability lives.
  • 90team-router
    Route any task to the correct shared-bank tier, workflow, and role kit. Use when asked which skill to use, how to route a task, where to start a task, or which CORE and role skills to install.
  • 96skills-gateway
    Gateway and router to a catalog of skills that are not registered directly. Use it before any task a specialized skill could handle, such as text, JSON or git chores. It finds the right skill and loads its instructions.
  • 100reasoning-router
    Classify problems and route to optimal thinking MCP (11 available). Monitor confidence, re-route on stall. Use for complex reasoning. NOT for simple questions (answer directly) or code review (review).
  • 100agent-router
    多 Agent 系统的统一入口(Super-agent 架构)。用户说「帮我安排一下」「这个交给谁」「看看有什么待办要跑」时使用。负责把事件路由给下面对应的 Worker,汇总结果后统一回复;自己不直接干具体的活。
  • 100task-intake-router
    Use when a request arrives and the right execution path is unclear — routes the work to the correct mode, agent type, model tier, and delegation pattern before implementation starts.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.