vsr

vsr is a plugin for Claude Code from vllm-project/semantic-router. Its manifest loads nothing; the 2 skills it bundles cost 223 tokens per session together, scanned A, original, Apache-2.0.

A Claude Code plugin that uses a decision model to route subagents, protect sensitive data, detect injected instructions, guard risky shell commands, and check answers against the information Claude read.

In plain words
What is it for?
It is for choosing subagent difficulty, escalating after pushback, hiding personal data and secrets, blocking prompt injection, reviewing risky Bash commands, and checking answer claims.
Why use it?
It adds automated checks around agent decisions and command use, helping limit unsafe actions and unsupported answers.

Plugin for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit It is for choosing subagent difficulty, escalating after pushback, hiding personal data and secrets, blocking prompt injection, reviewing risky Bash commands, and checking answer claims.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add vllm-project/semantic-router
/plugin install vsr
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.

Clone the repo
git clone --depth 1 https://github.com/vllm-project/semantic-router

Made for: Claude Code.

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 vsr

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

Your own site · 80×15
<a href="https://agentmods.dev/plugins/vllm-project/semantic-router/claude-code"><img src="https://agentmods.dev/badge/plugins/vllm-project/semantic-router/claude-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 2 skills cost 223 tokens a session between them.
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.
Security

Grade A, and why

vsr 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 17d 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.

src/agent-harness/claude-code/.claude-plugin/plugin.json · 256 lines

How it starts

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

{
  "name": "vsr",
  "version": "0.1.11",
  "description": "vSR runs a vLLM Semantic Router decision model (local CPU, local GPU or remote) inside Claude Code: routes subagents by difficulty, escalates when you push back, redacts personal data and secrets, shields against prompt injection, guards risky Bash commands, and checks answers against what Claude read.",
  "author": {
    "name": "Theo Hsiung"
  },
  "homepage": "https://github.com/vllm-project/semantic-router",
  "repository": "https://github.com/vllm-project/semantic-router",
  "license": "Apache-2.0",
  "keywords": [
    "vllm-semantic-router",
    "routing",
    "guardrails",
    "pii",
    "prompt-injection",
    "subagents"
  ],
  "types": "./types/index.d.ts",
  "userConfig": {
    "runtime": {
      "type": "string",
      "title": "Classifier runtime",
      "description": "Where the decision model runs: on this machine's CPU, on its GPU, or behind a remote API. Shown in /vsr; the URL below is what is called.",
      "default": "local-cpu",
      "options": [
        "local-cpu",
        "local-gpu",
        "remote"
      ]
    },
    "runtimeUrl": {
      "type": "string",
      "title": "Runtime URL",
      "description": "The runtime's /v1/decisions endpoint. Its /health, at the same base, is checked when a session starts.",
      "default": "http://127.0.0.1:8790/v1/decisions"
    },
    "runtimeToken": {
      "type": "string",
      "title": "Runtime token",
      "description": "Sent as Authorization: Bearer <token> when set, for a remote runtime behind a proxy. Empty sends no header.",
      "default": "",
      "sensitive": true
    },
    "runtimeModel": {
      "type": "string",
      "title": "Runtime model",
      "description": "Sent as the request's model when set, for a runtime that serves several models, such as a System One API (GET /v1/systemone/models lists them). Empty sends none.",
      "default": ""
    },
    "router": {
      "type": "boolean",
      "title": "App: router

Read the full file on GitHub · 256 lines

Contents

What it installs

The manifest is a name and a version. 2 skills travel with it, and installing the plugin installs all of them — 223 tokens a session between them. Each is measured on its own page, and each can be installed alone.

Files

What ships with it

1 file beside plugin.json 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. 17d ago Changed · +6 lines c6bd61108f6f
  2. 19d ago Changed · +6 lines bece790a1fc5
  3. 20d ago Changed f11b4fd60280
  4. 21d ago First seen · 244 lines scan A 1ba62afc27cb

Subscribe to this mod's changes

vsr is a plugin published in the GitHub repository vllm-project/semantic-router (6,594 stars, last pushed today), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. 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

vsr compared with plugins from other repositories

vsr next to 6 plugins from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vsrvllm-project/semantic-routerPlugin6.6ktodayApache-2.0A—Claude Code
kubesharkkubeshark/kubesharkPlugin12k6d agoApache-2.0A—Claude Code
agent-injectcaozhiyuan/copilot-apiPlugin1.1ktodayMITA—Claude Code
platform-guardrailsnitinjain999/platform-skillsPlugin73yesterdayApache-2.0A—Claude Code
opa-mcpOrygnsCode/opa-mcp-serverPlugin8yesterdayMITA—Claude Code
yayamllshome-operations/yayamllsPlugin36yesterdayAGPL-3.0A—Claude Code
oatdadevcsde/oatda-skillsPlugin13mo agoApache-2.0A—Claude Code