vLLM Semantic Router is a programmable routing layer that chooses or combines language models for each request in a system using multiple models and types of computing infrastructure. It helps teams route inference by signals such as user preferences, application policies, quality, cost, latency, privacy, and safety requirements. The catalogue skills and instructions support configuring and operating this model-routing system.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vllm-project/semantic-router --skill vllm-sr-diagnose-routinggit clone --depth 1 https://github.com/vllm-project/semantic-routerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-diagnose-routing)<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-diagnose-routing"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-diagnose-routing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-diagnose-routing"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-diagnose-routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.01402 |
| Opus 5.5 | $0.00022 | $0.00561 |
| Sonnet 5.5 | $0.00011 | $0.00280 |
| Haiku 4.5 | $0.00005 | $0.00140 |
Grade A, and why
vllm-sr-diagnose-routing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnose a Router request
Start from the request's public entrypoint, expected outcome and observed symptom. Use the active configuration and a bounded reproduction. Keep the diagnosis read-only; a suggested rule or backend fix is a separate reviewed change. The route verification procedure defines the current CLI and header contract, and the troubleshooting table maps known symptoms to specific checks.
1. Pin the request and active state
Record the request format, public model name, relevant messages/tools or a
safe digest, expected recipe/decision/model, gateway mode, and management and
inference origins. GET /v1/models shows published entrypoints; a concrete
provider model bypasses recipe routing. Read vllm-sr status, active
config_version/hash, and model-runtime inventory. Process health does not
prove a signal answered or an upstream generated a response.
Use a sanitized request file when history, tools, modalities or response constraints matter. Preserve the failed request; do not simplify it until the failure disappears and then present the simpler case as equivalent. Keep credentials and private endpoints out of reports.
2. Preview selection
Run the same request through the management endpoint, asking for evaluation evidence without sending it to an answer-model backend:
vllm-sr route preview --endpoint "$ROUTER_ORIGIN" --model "$ENTRYPOINT" \
--request-file request.json --trace --json > preview.json
Read selection_status, routing_decision, selected_model, signal_errors
and eval_trace. Map each evaluated signal to its answer, predicate or
unknown/error state; then follow decision priority, rule on_unknown,
algorithm, fallback and recipe-scoped plugin bindings. A matched decision can
still report execution_required when execution selects the final model.
Preview cannot prove upstream delivery, tool execution, answer quality or a
successful response guard.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 109 lines · 54 tokens per session scan A 3ea3eab215c7
vllm-sr-diagnose-routing is a skill published in the GitHub repository vllm-project/semantic-router (6,583 stars, last pushed today), licensed Apache-2.0. It adds 54 tokens to every session and 1,402 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.
vllm-sr-diagnose-routing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vllm-sr-diagnose-routingvllm-project/semantic-router | Skill | 6.6k | today | Apache-2.0 | A | 54 | Claude Code, Codex |
| inference-precision-tensor-dump-compareascend-ai-coding/awesome-ascend-skills | Skill | 187 | yesterday | none | A | 87 | Claude Code |
| omni-compressiondiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 42 | Claude Code, Codex |
| cli-evaldiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 34 | Claude Code, Codex |
| cli-batchesdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 34 | Claude Code, Codex |
| cli-compressiondiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 34 | Claude Code, Codex |
| 9router-sttdecolua/9router | Skill | 33k | 7d ago | MIT | A | 63 | Claude Code, Codex |