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/calibrate)<a href="https://agentmods.dev/skills/vllm-project/semantic-router/calibrate"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/calibrate/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/calibrate"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/calibrate.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.00127 | $0.01805 |
| Opus 5.5 | $0.00051 | $0.00722 |
| Sonnet 5.5 | $0.00025 | $0.00361 |
| Haiku 4.5 | $0.00013 | $0.00180 |
Grade A, and why
calibrate 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 21d 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 — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Calibrate vSR
vSR logs every decision to its decision log with the score it compared and the line it used. A calibration asks the user about the decisions closest to the lines of the parts they chose, then moves those lines to fit their answers. ${CLAUDE_SKILL_DIR}/scripts/calibrate.py does the sampling, the fitting and the writing, and prints everything in plain words. Every number you show comes from its output. Show its plain output as printed. Keep option names (routerEasyBelow and the like), scores and the maths out of what you tell the user unless they ask.
The parts ("apps") and their names for --apps: router (which model each subagent gets), guard (asks before risky commands), redact (hides personal data), shield (warns about injected instructions), escalate (reacts when the user pushes back), check (marks answers that claim more than Claude read). When the user asks what a line means, read ../setup/thresholds.md and answer in plain words. The router's effort lines are not calibrated yet. When the runtime needs a token, add --token-file <path> after the subcommand, with the same file only the user can read that setup used.
Every command below is python3 ${CLAUDE_SKILL_DIR}/scripts/calibrate.py <subcommand> .... <apps> is the comma list chosen in step 1, for example router.
Steps
- Scope. Run
python3 ${CLAUDE_SKILL_DIR}/../setup/scripts/settings.py id --plugin-root "${CLAUDE_PLUGIN_ROOT}"for the plugin id, thenreport --id <id>. When the log holds no decisions, say vSR has not logged any yet, and stop.- When the user's request already names what to tune, use it and do not ask: routing, difficulty, model choice, Haiku/Sonnet/Opus →
router; risky commands, holds, confirmations →guard; personal data, hiding →redact; injection, instructions in files →shield; pushback, complaints, escalation →escalate; answer checking, unverified answers →check. - Otherwise ask one AskUserQuestion with
multiSelect: true, header "Tune what", question "Which parts of vSR should I tune?". Give one option per app in the report, at most four: leave out first the apps with no decisions, then the ones marked "off in your settings". The label is the app's plain name from the report (for example "Routing"). The description is its purpose and its answer count, for example "which model each subagent gets; 23 answers". Add " (Recommended)" to the label of each app with at least 8 answers.
- When the user's request already names what to tune, use it and do not ask: routing, difficulty, model choice, Haiku/Sonnet/Opus →
What ships with it
11 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.
- scripts/calibrate.py 6.8 KB runs code
- scripts/cases.py 1.1 KB runs code
- scripts/decisions.py 6.6 KB runs code
- scripts/fitting.py 6.4 KB runs code
- scripts/plain.py 8.8 KB runs code
- scripts/plan.py 18 KB runs code
- scripts/questions.py 7.2 KB runs code
- scripts/test_calibrate.py 18 KB runs code
- scripts/test_decisions.py 5.0 KB runs code
- scripts/test_fitting.py 6.3 KB runs code
- scripts/test_questions.py 4.3 KB runs code
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.
- 21d ago First seen · 41 lines · 127 tokens per session scan A 3870672f15a8
calibrate is a skill published in the GitHub repository vllm-project/semantic-router (6,594 stars, last pushed today), licensed Apache-2.0. It adds 127 tokens to every session and 1,805 once invoked, about $0.0005 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-09.
calibrate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| calibratevllm-project/semantic-router | Skill | 6.6k | today | Apache-2.0 | A | 127 | 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 |