vllm-sr-serve

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

A workflow for starting and checking vLLM Semantic Router, a local service that chooses how requests are sent to AI models. It covers a router that uses a decision model and backend model, or an Engine mode that serves the decision model directly.

In plain words
What is it for?
Use it to preflight and start a local CPU or GPU deployment, check readiness, use an existing model endpoint or artifact, and recover from first-start problems.
Why use it?
It provides platform checks before startup, reducing failures caused by unsupported hardware, missing container access, occupied ports, or insufficient memory and disk. It also avoids starting a second copy when a service is already running.

Skill for Claude CodeCodex

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

Good fit Use it to preflight and start a local CPU or GPU deployment, check readiness, use an existing model endpoint or artifact, and recover from first-start problems.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/vllm-sr-serve"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/vllm-sr-serve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00077 $0.01870
Opus 5.5 $0.00031 $0.00748
Sonnet 5.5 $0.00015 $0.00374
Haiku 4.5 $0.00008 $0.00187

Measured 6d ago against content hash f4e60422b241, 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-serve scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsS http://127.0.0.1:8899/v1/systemone/models
tools/agent/skills/vllm-sr-serve/SKILL.md · 145 lines

How it starts

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

Serve vLLM Semantic Router

Use the installed CLI and the maintained deployment procedure for the exact platform, configuration, and recovery steps. This skill covers the local-image vllm-sr serve path. For Kubernetes, upgrades, rollback, and removal, use the operations skill.

The decision model answers Router signal questions. The backend model answers the user's request. Router mode needs a reachable backend and a canonical configuration; Engine mode serves a decision-model artifact through System One without recipe routing. Do not present an Engine response as a routed answer.

1. Inspect before starting

Run the read-only preflight. Record the CLI version, vllm-sr config schema version, Docker or Podman access, CPU/GPU devices, free memory and disk, occupied ports, an existing config, and vllm-sr status. Select only a supported platform from the deployment matrix.

vllm-sr --version
vllm-sr config schema
vllm-sr status

The skill follows v0.5 config. If the installed schema is older, use the CLI installation step and report the chosen release channel. If a stack is already running, verify it in step 4; do not call serve again, because that restarts its containers. Do not stop an unrelated stack or publish a listener beyond loopback without the user's authorization. Keep credentials in environment variables.

2. Choose one mode

Goal Required input First maintained path
Route user requests A complete canonical config and an answer-model endpoint reachable from the Router container Write and validate the config, then Router mode below
Ask a decision model directly A supported decision-model artifact and enough CPU RAM or an available GPU Engine mode, then the System One check below

Read the full file on GitHub · 145 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. 6d ago First seen · 145 lines · 77 tokens per session scan A f4e60422b241

Subscribe to this mod's changes

vllm-sr-serve is a skill published in the GitHub repository vllm-project/semantic-router (6,583 stars, last pushed today), licensed Apache-2.0. It adds 77 tokens to every session and 1,870 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.

Related

vllm-sr-serve compared with skills from other repositories

vllm-sr-serve next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vllm-sr-servevllm-project/semantic-routerSkill6.6ktodayApache-2.0A77Claude Code, Codex
eks-genaiaws-samples/sample-apex-skillsSkill1053d agoMIT-0A275Claude Code, Codex
mirrord-kafkametalbear-co/mirrordSkill5.4ktodayMITA189Claude Code
mirrord-beyondmetalbear-co/mirrordSkill5.4ktodayMITA221Claude Code
mirrord-propagation-discoverymetalbear-co/mirrordSkill5.4ktodayMITA273Claude Code
timonistefanprodan/timoniSkill2.0k5d agoApache-2.0A59Claude Code, Codex
tao-setup-nvidia-gpu-hostNVIDIA/skillsSkill4.2k2d agoApache-2.0B177Claude Code