vllm-tool-parsers

vllm-tool-parsers is a skill for Claude Code from air-gapped/skills. It costs 133 tokens per session (8,467 once invoked), scanned A, original, MIT.

A navigation reference for vLLM's tool parsers, which read model output that requests actions or function calls and turn it into structured tool data. It points to the source files and parser registry rather than teaching the whole system.

In plain words
What is it for?
Use it to locate built-in parsers, parser-engine code, registration maps, and the files needed to add or investigate a parser.
Why use it?
It reduces the time needed to find the correct parser implementation, shared helper, or registration point in the vLLM codebase.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code; mentions AGENTS.md.

Part of the vllm plugin — 16 skills shipped together

Good fit Use it to locate built-in parsers, parser-engine code, registration maps, and the files needed to add or investigate a parser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/air-gapped/skills/vllm-tool-parsers
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 air-gapped/skills --skill vllm-tool-parsers
Clone the repo
git clone --depth 1 https://github.com/air-gapped/skills

Made for: Claude Code.

Or install vllm, the plugin that ships this one along with the rest of its 16 skills.

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-tool-parsers

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/air-gapped/skills/vllm-tool-parsers"><img src="https://agentmods.dev/badge/skills/air-gapped/skills/vllm-tool-parsers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,467 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.00133 $0.08467
Opus 5.5 $0.00053 $0.03387
Sonnet 5.5 $0.00027 $0.01693
Haiku 4.5 $0.00013 $0.00847

Measured 6d ago against content hash 984f01df9190, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vllm-tool-parsers 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 -sS $VLLM/v1/completions -H 'content-type: application/json' \
.claude/skills/vllm-tool-parsers/SKILL.md · 278 lines

How it starts

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

vLLM Tool Parsers — Navigation Map

This skill points to the right source file, template, or GH issue. The source code is authoritative — read it. Do not paraphrase from this skill when the actual file is available.

Where things live

Assume a local vllm-project/vllm checkout is accessible. Every reference below is relative to that repo root.

Target Read
All tool parsers vllm/tool_parsers/ (one file per parser). Not vllm/entrypoints/openai/tool_parsers/ — removed at v0.14.0; imports from it fail
Parser base class + ToolParserManager vllm/tool_parsers/abstract_tool_parser.py
Shared helpers (partial_json_loads, find_common_prefix, make_valid_python, partial_tag_overlap, compute_tool_delta, handle_single_tool) vllm/tool_parsers/utils.py
Built-in parser registry vllm/tool_parsers/__init__.py — _TOOL_PARSERS_TO_REGISTER maps CLI name → module → class
Unified parser engine (new) vllm/parser/ — one class per model (qwen3.py, gemma4.py, deepseek_v4.py, deepseek_v32.py, seed_oss.py, …), abstract_parser.py, and engine/ (parser_engine.py, streaming_parser_engine.py, incremental_lexer.py, token_id_scanner.py)
Adapter construction vllm/parser/engine/adapters.py defines make_adapters(XParser) → (XParserReasoningAdapter, XParserToolAdapter); most pairs are built in vllm/parser/engine/registered_adapters.py, a few in the model's own vllm/parser/<model>.py (ling3). The tool side is then subclassed in vllm/tool_parsers/*.py to attach structural_tag_model
CLI flag definitions vllm/entrypoints/common/cli_args.py (v0.33.0+; vllm/entrypoints/launchers/cli_args.py on v0.29.0–v0.32.0, removed with no shim — imports from it fail) — grep tool_call_parser, enable_auto_tool_choice, tool_parser_plugin
Non-streaming serving invocation vllm/entrypoints/openai/chat_completion/serving.py — grep parser.parse(; DelegatingParser in vllm/parser/abstract_parser.py calls the tool parser's extract_tool_calls
Streaming serving loop v0.33.0+: vllm/entrypoints/openai/chat_completion/stream_processor.py — ChatStreamProcessor.step (calls parse_delta, sets tools_streamed). Before: serving.py — grep parse_delta, tools_streamed
finish_reason rule (v0.33.0+) resolve_finish_reason in vllm/entrypoints/serve/utils/tool_calls_utils.py — one function for streaming and non-streaming
Tail flush of unstreamed args vllm/parser/abstract_parser.py — grep _append_unstreamed_tool_args; reads ToolParser.get_remaining_unstreamed_args() in abstract_tool_parser.py
Plugin import wiring v0.33.0+: init_parser_plugin in vllm/entrypoints/common/cli_args.py, called from vllm/entrypoints/launchers/api_server/entry.py and vllm/entrypoints/launchers/launcher.py. Before: grep import_tool_parser in those two files (vllm/entrypoints/openai/api_server.py is a deprecated re-export shim)
Responses API tool handling vllm/entrypoints/openai/responses/serving.py + vllm/entrypoints/openai/responses/utils.py
Per-parser Jinja chat templates examples/tool_chat_template_<family>.jinja
Per-parser tests (executable spec) tests/tool_parsers/test_<name>_tool_parser.py + tests/tool_parsers/common_tests.py
User-facing docs docs/features/tool_calling.md

Read the full file on GitHub · 278 lines

Files

What ships with it

9 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. 6d ago Changed · +4 lines 984f01df9190
  2. 21d ago Changed · +8 lines 5dcce3c2cc18
  3. 1mo ago Changed · -12 lines 34053a56ef1e
  4. 1mo ago Changed · +2 lines 5c22fe9734db
  5. 2mo ago Changed · +8 lines 0678517735d5
  6. 2mo ago Changed · +1 lines 3cb31a1afc95
  7. 2mo ago Changed · +6 lines 21d805538ff8
  8. 2mo ago First seen · 261 lines · 133 tokens per session scan A fc915509165f

Subscribe to this mod's changes

vllm-tool-parsers is a skill published in the GitHub repository air-gapped/skills (8 stars, last pushed 6d ago), licensed MIT. It adds 133 tokens to every session and 8,467 once invoked, about $0.0005 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-09-03.

Related

vllm-tool-parsers compared with skills from other repositories

vllm-tool-parsers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vllm-tool-parsersair-gapped/skillsSkill86d agoMITA133Claude Code
tg-alertsDmitriyYukhanov/claude-pluginsSkill81mo agoMITC56Claude Code
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
gemini-api-agent-platformdavila7/claude-code-templatesSkill35ktodayMITA61Claude Code, Codex
microservices-patternswshobson/agentsSkill43kyesterdayMITA38Claude Code
memstack-automation-webhook-designercwinvestments/memstackSkill43318d agoMITA74Claude Code
csharp-patternssoftspark/ai-toolkitSkill18013d agoApache-2.0A61Claude Code