vllm-ascend-workspace: Skill for Claude Code

.agents/skills/vllm-ascend-benchmark/SKILL.md

vllm-ascend-benchmark is a skill for Claude Code, Codex from maoxx241/vllm-ascend-workspace. It costs 77 tokens per session (4,197 once invoked), scanned A, original, MIT.

A workflow for running vLLM online-serving benchmarks on a managed remote container. A benchmark measures service performance under defined conditions, such as throughput or response behavior.

In plain words
What is it for?
Use it for throughput tests, performance comparisons, warm-service multi-run tests, and checking whether a change caused a serving-performance regression.
Why use it?
It produces structured performance results so developers can compare versions and detect slowdowns after code changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is maoxx241/vllm-ascend-workspace's own configuration. It tells Claude Code and Codex how to work on vllm-ascend-workspace itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vllm-ascend-workspace configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/weights/Qwen3.5-35B.

Reuse

Borrowing it

Nothing to install: this file belongs to maoxx241/vllm-ascend-workspace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/maoxx241/vllm-ascend-workspace/main/.agents/skills/vllm-ascend-benchmark/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/maoxx241/vllm-ascend-workspace

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-ascend-benchmark

README.md
[![agentmods](https://agentmods.dev/badge/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark/github.svg)](https://agentmods.dev/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark)
Your own site
<a href="https://agentmods.dev/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark"><img src="https://agentmods.dev/badge/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark/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-ascend-benchmark

Your own site · 80×15
<a href="https://agentmods.dev/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark"><img src="https://agentmods.dev/badge/skills/maoxx241/vllm-ascend-workspace/vllm-ascend-benchmark.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 4,197 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.00077 $0.04197
Opus 5 $0.00039 $0.02099
Sonnet 5 $0.00015 $0.00839
Haiku 4.5 $0.00008 $0.00420

Measured 8d ago against content hash fadf8c717851, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

vllm-ascend-benchmark 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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/_common.py, scripts/bench_compare.py, scripts/bench_run.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/vllm-ascend-benchmark/SKILL.md · 243 lines

How it starts

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

vLLM Ascend Benchmark

Run vllm bench serve on a ready session-managed remote container and produce structured performance results. Supports single-run and multi-run (warm-service) modes.

Remote substrate rule: use .remote-dev remote tools for ad hoc remote read/edit/bash/search/patch work around benchmark setup or result inspection. Use this skill for the domain benchmark workflow and keep its scripts as the compatibility backend for managed VAWS sessions.

Use this skill when

  • the user asks to run a performance benchmark / throughput test in a managed session
  • the user asks to compare performance before and after a code change
  • the user asks to verify there is no performance regression for a PR or commit

Do not use this skill when

  • the task is accuracy testing (aisbench domain)
  • the task is running a full nightly CI matrix
  • the task is offline / batch inference
  • the user only wants to start or stop a service without benchmarking (use vllm-ascend-serving)
  • no session exists yet for the target (use session-management first)

Critical rules

  • Benchmark parameters are assembled by the agent based on user intent and executed through the scripts below. The agent must not construct raw vllm bench serve commands and run them directly on the remote.
  • User intent takes priority over nightly configs. Nightly YAML files under vllm-ascend/tests/e2e/nightly/single_node/models/configs/ are a reference source for discovering how to configure a given model or feature (MTP, graph mode, TP count, etc.), not an execution template to run verbatim.
  • Nightly configs are used as a fallback only when the user specifies a model but provides no other parameters.
  • Benchmarking is session-only. bench_run.py takes an optional --session-id <id> / --session-file <path>; when both are omitted, the session is auto-resolved from the nearest .vaws-local/current-session.json worktree binding (cwd upward), so running from inside a session worktree needs zero target arguments. If no binding is found, the command fails fast with instructions to pass --session-id or create a session with session-management's session_create.py.
  • After benchmarking, the service is automatically stopped. No residual processes should remain. Cleanup stops only that session's service.
  • If service startup returns a non-ready result after launching a PID, benchmark cleanup still calls serve_stop.py --force for the same session.
  • Progress goes to stderr as __VAWS_BENCHMARK_PROGRESS__=<json>. Final result goes to stdout as JSON.
  • Keep local benchmark state under .vaws-local/sessions/<session-id>/benchmark/; results are written to .vaws-local/sessions/<session-id>/benchmark/runs/.
  • Multi-state comparisons (baseline vs PR vs modified) are a first-class workflow: use bench_compare.py, which checks out each git ref in the container, benchmarks every state with identical serve/bench args, and reports TPOT/throughput deltas. Do not hand-write a bespoke comparison script — put reusable model/service configurations into a named preset under presets/ instead (see below). The old bespoke .agents/scripts/dsv4_flash_benchmark.py was deleted; presets/dsv4-flash.json carries its DSV4 Flash configuration, with the two loader args adapted (enable_multithread_load as a JSON boolean; the old --safetensors-load-strategy prefetch was dropped in favor of multithreaded loading — the flag still exists at the pinned vllm ref 967c5c3b, so this is a deliberate replacement, not an upstream removal — verified on real A3 hardware). Note bench_compare.py runs back-to-back iterations with no inter-run sleep (the old script slept 15s between rounds), so absolute numbers are not directly comparable to historical bespoke-script results.
  • Native-input gate. bench_compare.py aligns source only and never rebuilds compiled custom ops. After each state's checkout and optional --remote-patch-file application, it fingerprints the effective in-container csrc/cmake/requirements inputs and compares the digest against the first state's. A mismatch fails the run with an explanation. An unavailable digest also fails closed. Pass --allow-stale-native only to explicitly downgrade either condition to a loud warning plus native_input_changed: true or native_input_unverified: true.
  • Partial results are never lost. Each completed state is persisted under the session's benchmark/runs/ dir as it finishes; on any failure the error JSON still carries partial_states (completed labels) and result_paths.
  • Never hand-roll stale-process cleanup. A past bespoke cleanup SIGTERM'd a session's dedicated sshd (Exiting on signal 15), dropped the container SSH port, and forced a rebuild. Use --stale-cleanup (backed by safe_stale_cleanup), which only reaps vLLM EngineCore/Worker children by name, skips PID 1, excludes anything matching sshd/vaws, and kills explicit pids only (never a process group).
  • Backend is overridable. The default is chat (--backend openai-chat --endpoint /v1/chat/completions). For completion-style models (e.g. DSV4) pass --bench-args --backend openai --endpoint /v1/completions ... and the default is not injected.

Read the full file on GitHub · 243 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. 8d ago Changed · +80 lines fadf8c717851
  2. 12d ago First seen · 163 lines · 77 tokens per session scan A 7c026a13ae49

Subscribe to this mod's changes

vllm-ascend-benchmark is a skill published in the GitHub repository maoxx241/vllm-ascend-workspace (36 stars, last pushed 7d ago), licensed MIT. It adds 77 tokens to every session and 4,197 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens