calibrate

calibrate is a skill for Claude Code from vllm-project/semantic-router. It costs 127 tokens per session (1,805 once invoked), scanned A, original, Apache-2.0.

A calibration assistant that adjusts vSR's decision thresholds using examples from its own decision log. A threshold is a line that determines when a behavior starts or changes.

In plain words
What is it for?
It is for tuning routing, command guarding, data redaction, injection shielding, escalation, and answer-checking behavior.
Why use it?
It helps the plugin's decisions better match your answers about borderline cases instead of relying only on default settings.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the vsr plugin — 2 skills shipped together

Good fit It is for tuning routing, command guarding, data redaction, injection shielding, escalation, and answer-checking behavior.

Compare 6 skills from other repositories ↓
About the project

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.

vllm-project/semantic-router · 6,594 stars · on GitHub · vllm-sr.ai

Install

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.

Claude Code
/plugin marketplace add vllm-project/semantic-router
Claude Code
/plugin install vsr

Made for: Claude Code.

Or install vsr, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for calibrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/vllm-project/semantic-router/calibrate/github.svg)](https://agentmods.dev/skills/vllm-project/semantic-router/calibrate)
Your own site
<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.

agentmods 80×15 button for calibrate

Your own site · 80×15
<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>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 21d ago against content hash 3870672f15a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/calibrate.py, scripts/cases.py, scripts/decisions.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/agent-harness/claude-code/skills/calibrate/SKILL.md · 41 lines

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

  1. Scope. Run python3 ${CLAUDE_SKILL_DIR}/../setup/scripts/settings.py id --plugin-root "${CLAUDE_PLUGIN_ROOT}" for the plugin id, then report --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.

Read the full file on GitHub · 41 lines

Changes

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.

  1. 21d ago First seen · 41 lines · 127 tokens per session scan A 3870672f15a8

Subscribe to this mod's changes

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.

Related

calibrate compared with skills from other repositories

calibrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
calibratevllm-project/semantic-routerSkill6.6ktodayApache-2.0A127Claude Code
cli-evaldiegosouzapw/OmniRouteSkill91kyesterdayMITA34Claude Code, Codex
omni-mcpdiegosouzapw/OmniRouteSkill91kyesterdayMITA48Claude Code, Codex
cli-resiliencediegosouzapw/OmniRouteSkill91kyesterdayMITA35Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91kyesterdayMITA46Claude Code
green-prsdiegosouzapw/OmniRouteSkill91kyesterdayMITA51Claude Code, Codex
9router-web-fetchdecolua/9routerSkill33k8d agoMITA67Claude Code, Codex