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
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add vllm-project/semantic-router/plugin install vsrWrote 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/setup)<a href="https://agentmods.dev/skills/vllm-project/semantic-router/setup"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/setup/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/setup"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/setup.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.00096 | $0.02818 |
| Opus 5.5 | $0.00038 | $0.01127 |
| Sonnet 5.5 | $0.00019 | $0.00564 |
| Haiku 4.5 | $0.00010 | $0.00282 |
Grade C, and why
setup scanned grade C with 2 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 19d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- **Remote**: ask for the `/v1/decisions` URL. Tell the user plainly what leaves this machine from now on: every Read and Bash output, fetched page, prompt, subagent task, Bash command and answer the enabled apps classif Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
Settings go under `pluginConfigs["<plugin id>"].options` in the user's `~/.claude/settings.json` (or `$CLAUDE_CONFIG_DIR/settings.json`). Claude Code reads `pluginConfigs` only from user settings, so there is no project How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Set up vSR
vSR asks a small classifier questions on every subagent, prompt, read and Bash command. This skill gets that classifier answering and writes vSR's settings. The scripts in ${CLAUDE_SKILL_DIR}/scripts/ do every check and every write; you run them, read their output, and ask the user only what they decide. Show script output as it prints, and keep your own summary to a few lines.
Settings go under pluginConfigs["<plugin id>"].options in the user's ~/.claude/settings.json (or $CLAUDE_CONFIG_DIR/settings.json). Claude Code reads pluginConfigs only from user settings, so there is no project scope. The token for a remote runtime is the one value that never goes there: the user saves it with /plugin configure <plugin id>, which stores it in secure storage.
Apps and thresholds start at vSR's defaults. Every app is on by default except check: it reads Claude's whole answer, so on a CPU runtime a long answer outlasts its 3 s limit. Recommend check only with a GPU or remote runtime.
Steps
-
Plugin id. Run
python3 ${CLAUDE_SKILL_DIR}/scripts/settings.py id --plugin-root "${CLAUDE_PLUGIN_ROOT}". It printsvsr@<marketplace>for an installed copy, orvsr@inlinefor one loaded with--plugin-dir. Then runpython3 ${CLAUDE_SKILL_DIR}/scripts/settings.py show --id <id>. IfotherIdslists another vSR id, tell the user those values stay under that id. Done when you know the id and what is already saved. -
Look first. Run
python3 ${CLAUDE_SKILL_DIR}/scripts/detect.py --id <id>and show its six lines (machine, GPU, Python, vllm-srun, runtime, suggestion). It installs nothing. When a runtime already answers, the runtime line names the device it runs on when the runtime reports one and how long one question takes, and the suggestion line carrieskeep runtime=<value>, the value that keeping it saves, with the reason in parentheses. Done when the user has seen what this machine has and what detect suggests. -
Recommended or custom. Ask one AskUserQuestion:
- Recommended setup (Recommended): in the description, say what it does on this machine, from detect's suggestion: keep the runtime that already answers (
existing), or install and run vela3-lite on this machine's GPU (local-gpu) or CPU (local-cpu). Apps and thresholds at their defaults (say check stays off and can be turned on later with a GPU or remote runtime). The user still sees the settings change before anything is written. - Custom: the user picks where the classifier runs, which apps run, and the thresholds.
- Recommended setup (Recommended): in the description, say what it does on this machine, from detect's suggestion: keep the runtime that already answers (
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- local-runtime.md 3.6 KB
- scripts/detect.py 16 KB runs code
- scripts/framing.py 8.0 KB runs code
- scripts/local.py 14 KB runs code
- scripts/probes.jsonl 7.1 KB
- scripts/runtime.py 15 KB runs code
- scripts/settings.py 14 KB runs code
- scripts/test_detect.py 9.7 KB runs code
- scripts/test_framing.py 3.0 KB runs code
- scripts/test_local.py 8.1 KB runs code
- scripts/test_runtime.py 11 KB runs code
- scripts/test_settings.py 18 KB runs code
- thresholds.md 4.0 KB
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.
- 19d ago Changed 37893e0b5b72
- 21d ago First seen · 62 lines · 96 tokens per session scan C f12ceaf82b4c
setup is a skill published in the GitHub repository vllm-project/semantic-router (6,594 stars, last pushed today), licensed Apache-2.0. It adds 96 tokens to every session and 2,818 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-09.
setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setupvllm-project/semantic-router | Skill | 6.6k | today | Apache-2.0 | C | 96 | Claude Code |
| cli-evaldiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 34 | Claude Code, Codex |
| omni-mcpdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 48 | Claude Code, Codex |
| cli-resiliencediegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 35 | Claude Code, Codex |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 46 | Claude Code |
| green-prsdiegosouzapw/OmniRoute | Skill | 91k | yesterday | MIT | A | 51 | Claude Code, Codex |
| 9router-web-fetchdecolua/9router | Skill | 33k | 8d ago | MIT | A | 67 | Claude Code, Codex |