Skip to main content
Version: Latest (main)

Agent skill workflows

The agent installation guide gives a prompt for the complete operations lifecycle. These focused skills handle a narrower question. Each public SKILL.md is generated from one repository-authored source and can be loaded by a coding agent without a repository checkout.

GoalStart withEvidence to keep
Start a local Router or decision modelServe skillConfig/artifact, platform, status, readiness and a routed or System One probe
Resolve model-backed signalsDecision-model skillQuestion-to-deployment map, inventory, answer and trace
Propose a workload policyConfigure-recipe skillBaseline, candidate diff, validate and plan receipts
Explain a wrong route or failed answerRouting-diagnosis skillFrozen request, preview, probe, headers and first failing boundary
Measure a frozen workloadBenchmark skillDataset/plan digests, run ID, coverage and report
Judge an A/B resultComparison skillCompatible run IDs, paired cases, uncertainty and cost basis
Improve a maintained recipeTune-recipe skillDiagnostic case, guard floors, candidate diff and before/after runs

The broader operations skill covers installation, Kubernetes, upgrades, rollback, backup and teardown. The repository catalog also lists contributor and harness-specific skills.

Example 1: configuration to route preview​

The configure-recipe skill includes a two-backend base and candidate. The candidate keeps both provider definitions and the listener, adds a code recipe, and publishes example/code while preserving vllm-sr/auto as the default. The endpoints are placeholders; reachability and answer quality require real backends.

From a source checkout with the v0.5 CLI, record the commit and fixture digests, then validate both files and inspect their exact diff:

git rev-parse HEAD
shasum -a 256 tools/agent/skills/vllm-sr-configure-recipe/fixtures/two-backend-*.yaml
vllm-sr config validate --config tools/agent/skills/vllm-sr-configure-recipe/fixtures/two-backend-base.yaml
vllm-sr config validate --config tools/agent/skills/vllm-sr-configure-recipe/fixtures/two-backend-candidate.yaml
diff -u tools/agent/skills/vllm-sr-configure-recipe/fixtures/two-backend-base.yaml tools/agent/skills/vllm-sr-configure-recipe/fixtures/two-backend-candidate.yaml

The fixture test round-trips both documents through the canonical parser and asserts that the candidate changes only recipes and entrypoints. Offline CLI validation may report that only structural checks ran. On a running stack, also use config plan --mode replace against its management endpoint, confirm the active config identity, and preview example/code with a bounded request. A proposal has not changed the stack; apply and routed delivery are separate reviewed steps.

Example 2: paired evaluation​

The benchmark skill's two-case source contains synthetic public questions. The local preparation command in its smoke walkthrough produces a smoke development manifest with two cases and a source digest; it makes no model calls. The fixture test verifies the case count, source digest, split and normalized answers.

For a service comparison, freeze a direct single-model reference and each Router configuration over the same case IDs, grader, request profile and prices; bind each Router target to its verified active config hash. Review the planned calls and cost before dispatch. Use comparison-options with the single-model run as baseline, then compare each Router run to it. Report paired/failed/missing denominators and the conservative quality interval for each comparison. The service does not produce a direct A-versus-B interval. The comparison example shows why a valid two-case calculation still gives insufficient evidence for broad quality or savings claims. It contains illustrative values, not a live project result.

Example 3: decision-model and routing failure​

Use the decision-model skill to resolve a recipe's question to a deployment and check its model card and readiness. On the actual public entrypoint, capture a traced route preview and a bounded route probe through the listener. The diagnosis walkthrough separates an expected route, an unknown/fallback, and an upstream delivery failure. Preserve the request digest, active config version, signal_errors, eval_trace, selected decision/model, response path, headers and delivery assertion. An HTTP 200 or /health response alone does not settle which boundary worked.

The local smoke exposed that distinction. A fixed debugging request (SHA-256 984c04a07b63ac4d6f311fc8117d6d501749447e331e9a703feaed6dbe5fddc9) selected code-route and qwen3:8b and returned HTTP 200 with an upstream response path, but its first 128-token probe ended with finish_reason: length and no final text. The route worked; answer delivery failed at the output cap. A reviewed 512-token retry of the same request ended with finish_reason: stop, final text, and a passing delivery assertion. The receipt records both outcomes without publishing the model's reasoning text. The unknown/fallback and upstream-error cases in the skill remain illustrative.

What is verified here​

The authored/public mirror, catalog and command checks protect these links and CLI examples. The two-backend fixture passes the canonical parser, and the synthetic dataset prepares deterministically without generation. A local model-backed Router, public listener probe, and bounded sr-bench smoke now have the receipt below. This is not a full sr-bench score or a measured performance advantage. Keep credentials, private prompts and hostnames out of published evidence.

Offline fixture receipt​

At source commit da9d5bf0fcabaf9c00f08981e3d117ee14902c96, the checked-out CLI reported vllm-sr version: 0.5.0. The canonical parser accepted both two-backend documents, and the fixture test confirmed that only recipe and entrypoint fields changed. Their SHA-256 digests were:

FileSHA-256
two-backend-base.yaml8bf56c9c2f9a567eb84ada0d463259336bb99de5f13cf2ae2306be6cc690fdca
two-backend-candidate.yaml6752790703e4b640dd054a601b2d89bd1ed97b8c423935cb0aeb09639cb48333
two-case-mcq.jsonlb8a1eee4958fd029a8dab87e88ba1a1e9d22877bf90701ec688475c9c47b2ffc

The local sr-bench dataset preparation returned case_count: 2, profile: smoke, split: dev, custom_subset: true, and dataset SHA-256 0da687fda6ca748a07a0b0acc555f75f5f8d61976e418adb30391688e054fe20. Those checks made no generation calls. At that earlier point, offline config validate reported that only structural checks ran because no Router image or management endpoint was available. The later local run below has its own source, image and configuration identities.

Local live smoke receipt​

At source commit be222e2758db67fcba9be90893e0611921d93800, the checked-out v0.5 CLI and Router image digest sha256:e6786409758befb7cf72b0d305ff9a86f126a527c384f73640af5a0e4015fc15 ran on a CPU Colima VM. The Router loaded vllm-sr/Vela-2.0-0.3B at revision a3209a50dc3ebd7e3b7520440d8fba666000f4c4 and routed to a local Ollama qwen3:8b backend. The base and candidate configs differ only in the decision threshold (0.5 versus 0.99). The listener is loopback-only; global.router.headers.debug: any is for this local test so sr-bench can verify the active config hash. Do not expose that setting to untrusted clients.

RunIDActive config hashResult
Direct qwen3:8b referencerun-9533e461a7104c51ba2eN/A2/2 completed, graded and correct
Router baserun-2a1c73fb299543daba27b2b40e41dc2c6d2ca6a736a957bc4d90ac2ce2afa660e032e31e10405723d3522/2 completed, graded and correct; code-route twice
Router candidaterun-2a5fdfe4b440490a964217b95ddc357e7d2e0a2534f323391dc1d80495ad2fde6fd85ed3ac28b67d24a42/2 completed, graded and correct; default-route twice

An earlier preview with the base threshold showed the code decision for a debugging prompt and the default decision for a weather prompt. A public listener probe returned a complete answer with code-route, qwen3:8b and upstream response path. The frozen dataset SHA-256 remained 0da687fda6ca748a07a0b0acc555f75f5f8d61976e418adb30391688e054fe20. comparison-options listed both Router runs for the direct baseline. Each service comparison paired two cases, found a quality delta of 0, and gave a conservative 95% interval of [-1, 1]; cost savings were unavailable under capability_only. The two comparisons share a reference but do not provide a direct A-versus-B interval. Two synthetic development cases cannot support a broad quality, latency or savings claim. The sanitized receipt records source, dataset, image, config and plan digests, local run IDs and the failed first attempt. Run IDs refer to a disposable local store, not a public benchmark service. The smoke used a source checkout rather than a fresh public skill installation.