vllm-sr-tune-recipe

vllm-sr-tune-recipe is a skill for Claude Code, Codex from vllm-project/semantic-router. It costs 60 tokens per session (1,109 once invoked), scanned A, original, Apache-2.0.

A workflow for turning a diagnosed vLLM Semantic Router misroute into one tested recipe change. It preserves guard limits and holdout discipline while deciding whether to keep, revert, or treat the evidence as inconclusive.

In plain words
What is it for?
Use it to investigate a routing mistake, choose one evidence-based intervention, test the recipe, and document the decision and supporting runs.
Why use it?
It stops contributors from changing thresholds or signals based on the wrong failure, such as a backend timeout or model-runtime problem. It ties each proposed change to recorded evidence and affected cases.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate a routing mistake, choose one evidence-based intervention, test the recipe, and document the decision and supporting runs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vllm-project/semantic-router/vllm-sr-tune-recipe
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

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.

Any agent
npx skills add vllm-project/semantic-router --skill vllm-sr-tune-recipe
Clone the repo
git clone --depth 1 https://github.com/vllm-project/semantic-router

Made for: Claude Code, Codex.

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 vllm-sr-tune-recipe

README.md
[![agentmods](https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-tune-recipe/github.svg)](https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-tune-recipe)
Your own site
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-tune-recipe"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-tune-recipe/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 vllm-sr-tune-recipe

Your own site · 80×15
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-tune-recipe"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-tune-recipe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,109 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.00060 $0.01109
Opus 5.5 $0.00024 $0.00444
Sonnet 5.5 $0.00012 $0.00222
Haiku 4.5 $0.00006 $0.00111

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

Security

Grade A, and why

vllm-sr-tune-recipe 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.

tools/agent/skills/vllm-sr-tune-recipe/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Improve one recipe decision

Start with an observed misroute or measurable objective, not a preferred YAML edit. Use the routing-diagnosis skill to locate the failing boundary and the benchmark skill to freeze evidence. The existing recipe-tuning guide owns manual signal/decision mechanics. The routing-calibration skill owns maintained-recipe live probes. The automated agent loop is tracked in #5497; use its skill and ledger when it ships, without copying its commands or verdict logic here.

1. Prove the change belongs to the recipe

Record active config hash/version, entrypoint, recipe, request fixture, expected decision, traced signal answers and unknowns, chosen algorithm and model, plugin path, upstream delivery, and affected case IDs. A backend timeout, model-runtime load failure or missing response is not evidence that a signal question or threshold should change. If the first failing boundary is outside recipe policy, hand it to that owner.

Choose one coherent intervention from the evidence:

Evidence Candidate area Check before editing
Answer is unknown or late Deployment, question capability, timeout, on_unknown Model-runtime readiness and error reason
Answer is present but wrong for intended cases Question wording, labels, predicate or calibrated model Counterexamples and answer distribution
Correct signals select the wrong lane Decision condition, priority, projection or fallback Complete eval_trace and precedence
Correct lane selects a poor backend Model refs, binding or algorithm Backend eligibility, price, capacity and paired results
Selected backend answers, but response is blocked or rewritten Recipe/decision plugin Plugin outcome, guard floor and delivery receipt

Read the full file on GitHub · 85 lines

Files

What ships with it

1 file 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.

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. 6d ago First seen · 85 lines · 60 tokens per session scan A 0ad27cb9867e

Subscribe to this mod's changes

vllm-sr-tune-recipe is a skill published in the GitHub repository vllm-project/semantic-router (6,594 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 1,109 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-25.

Related

vllm-sr-tune-recipe compared with skills from other repositories

vllm-sr-tune-recipe next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vllm-sr-tune-recipevllm-project/semantic-routerSkill6.6ktodayApache-2.0A60Claude Code, Codex
troubleshoot-sandboxopensandbox-group/OpenSandboxSkill18ktodayApache-2.0A46Claude Code
network-rcakubeshark/kubesharkSkill12k6d agoApache-2.0A163Claude Code
mirrord-upmetalbear-co/mirrordSkill5.4ktodayMITA163Claude Code
logging-patternspiomin/claude-ai-spring-bootSkill1.5k3d agoApache-2.0A51Claude Code
bex-debugbex-co/bexSkill1.0ktodayApache-2.0A58Claude Code, Codex
k8s-service-pathautomateyournetwork/netclawSkill740todayApache-2.0A55Claude Code