recipe-lab-loop

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

A controlled workflow for improving how coding-agent requests are routed by testing proposed recipes against recorded examples and live evaluations.

In plain words
What is it for?
It is for tracing routing mistakes, proposing one change at a time, replaying evaluations, reviewing live results, and recording decisions in an experiment ledger.
Why use it?
It replaces guesswork with evidence, repeatable comparisons, and a record of whether a change was kept or reverted.

Skill for Claude CodeCodex

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

Good fit It is for tracing routing mistakes, proposing one change at a time, replaying evaluations, reviewing live results, and recording decisions in an experiment ledger.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vllm-project/semantic-router/recipe-lab-loop"><img src="https://agentmods.dev/badge/skills/vllm-project/semantic-router/recipe-lab-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,149 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.00044 $0.01149
Opus 5.5 $0.00018 $0.00460
Sonnet 5.5 $0.00009 $0.00230
Haiku 4.5 $0.00004 $0.00115

Measured today against content hash 2a7fdbb7ced7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

recipe-lab-loop 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 today.

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/recipe-lab-loop/SKILL.md · 82 lines

How it starts

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

Recipe-lab improvement loop

Drive the closed loop with tools/recipe-lab/recipe_lab/cli.py (installed as recipe-lab): attribution -> proposal -> replay-tier search -> live verdict -> ledger. sr-bench owns evaluation; this loop only orchestrates it. Read references/command-reference.md for the command surface, references/evidence-interpretation.md for reading outcomes, and references/red-lines.md before proposing anything.

Ground rules

  • Never touch a stack you did not start; run vllm-sr status first.
  • Credentials stay in environment variables, never in YAML, args, or logs.
  • frozen-test is quarantined: proposals and agents see calib/dev only.
  • A RANKED verdict is a ranking, not a conclusion. A PASS is a recommendation, not a promotion - promotion is human + Standard holdout.
  • Change one variable per candidate; re-run the current step after it.
  • INCONCLUSIVE and no-evidence are evidence problems: gather more evidence, never record a guess.

Steps

  1. Validate the experiment contract: recipe-lab plan --spec spec.yaml. Success: normalized spec JSON. Failure: fix the spec per the contract error.
  2. Read the evidence: recipe-lab next --spec spec.yaml --ledger ledger.jsonl --output context.md (add --diagnosis diag/diagnosis.json when a diagnosis artifact exists). Read the untrusted-material header, then the contract summary, best replay candidate, last live verdict, attribution summary and the citable insight-ref list it exports (G3).
  3. Propose one candidate: edit one recipe variable in a config revision and cite the motivating evidence with --insight-refs in steps 5 and 6, using the exact refs from next's citable list (rec-<id>, bench:<run_id>, attr:<path>@sha256:<hex>, diag:<path>@sha256:<hex>#<anchor>). When you authored the candidate config yourself (not a proposer output), evaluate it with --proposer agent:<id> in step 5; the id is lowercase [a-z0-9._-] (e.g. agent:claude-loop) and is recorded verbatim in the ledger provenance.
  4. Validate the candidate: vllm-sr config validate on the revision. Failure: fix the config; never evaluate an invalid candidate.
  5. Evaluate in the replay tier: recipe-lab run --spec spec.yaml --split dev --cases <split.jsonl> --bank bank.jsonl --candidates <config> --proposer agent:<id> --insight-refs <refs> --ledger ledger.jsonl --output-dir out/ --router-bin ... --mock-backend ... against the answer bank. Records land in the ledger.
  6. For the final gate: run sr-bench preview/live for baseline and candidate, then recipe-lab live-verdict --spec spec.yaml --baseline-run-id ... --candidate-run-id ... --guard-measurements measurements.jsonl --candidate cand-001.json --ledger ledger.jsonl (add --split frozen_test --final only for the promotion verdict).
  7. Read the outcome with recipe-lab report --ledger ledger.jsonl --output report.md; stop when the objective is met, the budget is exhausted, or evidence is repeatedly incomplete.

Read the full file on GitHub · 82 lines

Files

What ships with it

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

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. today First seen · 82 lines · 44 tokens per session scan A 2a7fdbb7ced7

Subscribe to this mod's changes

recipe-lab-loop is a skill published in the GitHub repository vllm-project/semantic-router (6,619 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 1,149 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-12-04.

Related

recipe-lab-loop compared with skills from other repositories

recipe-lab-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
recipe-lab-loopvllm-project/semantic-routerSkill6.6ktodayApache-2.0A44Claude Code, Codex
cli-evaldiegosouzapw/OmniRouteSkill91k5d agoMITA34Claude Code, Codex
omni-mcpdiegosouzapw/OmniRouteSkill91k5d agoMITA48Claude Code, Codex
cli-resiliencediegosouzapw/OmniRouteSkill91k5d agoMITA35Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91k5d agoMITA46Claude Code
green-prsdiegosouzapw/OmniRouteSkill91k5d agoMITA51Claude Code, Codex
9router-web-searchdecolua/9routerSkill33k11d agoMITA74Claude Code, Codex