pwn-ai-agent-dispatch

pwn-ai-agent-dispatch is a skill for Claude Code from 0dayInc/pwn. It costs 21 tokens per session (485 once invoked), scanned A, original, MIT.

A tool-call dispatcher that receives a structured request, finds the matching registered tool, runs it and returns a JSON result. It also repairs some common mistakes made by local language models, such as slightly wrong tool names or loose JSON.

In plain words
What is it for?
Use it as the routing layer between a language model and registered tools, especially when model output may contain misspelled names, trailing commas, single quotes or bare arguments.
Why use it?
It prevents minor formatting errors from wasting an extra model turn or stopping a tool call before the intended tool runs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it as the routing layer between a language model and registered tools, especially when model output may contain misspelled names, trailing commas, single quotes or bare arguments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0dayinc/pwn/dispatch
View source ↗ 0dayInc/pwn
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 0dayInc/pwn --skill dispatch
Clone the repo
git clone --depth 1 https://github.com/0dayInc/pwn

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 pwn-ai-agent-dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/0dayinc/pwn/dispatch/github.svg)](https://agentmods.dev/skills/0dayinc/pwn/dispatch)
Your own site
<a href="https://agentmods.dev/skills/0dayinc/pwn/dispatch"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/dispatch/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 pwn-ai-agent-dispatch

Your own site · 80×15
<a href="https://agentmods.dev/skills/0dayinc/pwn/dispatch"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00021 $0.00485
Opus 5.5 $0.00008 $0.00194
Sonnet 5.5 $0.00004 $0.00097
Haiku 4.5 $0.00002 $0.00049

Measured 1mo ago against content hash 9d328bb8bdcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pwn-ai-agent-dispatch 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 1mo 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.

etc/default_skills/pwn/ai/agent/dispatch/SKILL.md · 52 lines

What it actually says

PWN::AI::Agent::Dispatch

Tool-call dispatch: takes a single tool_call object (OpenAI shape), looks up the registered handler, parses args, runs it, and returns a JSON string suitable for a role:'tool' message. TOLERANT DISPATCH (local-model scaffolding) ------------------------------------------- Local models running on Ollama frequently emit almost- right tool calls: run_shell instead of shell, trailing commas, single-quoted JSON, arguments as a bare string. Strict parsing burns an iteration and often spirals. Dispatch now: * repair_name — Levenshtein-matches unknown names to the closest registered tool and records a Mistakes fingerprint (source: :repair) so the KNOWN MISTAKES block eventually teaches the model the right name. * parse_args — falls back to a JSON5-ish clean-up pass (strip trailing commas, swap single→double quotes, wrap a bare scalar as the tool's sole required arg). Frontier engines never hit these paths — repair is a no-op when the name/JSON are already valid.

When to use

Call PWN::AI::Agent::Dispatch from pwn_eval when the task needs this module. Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/agent/dispatch.rb. Prefer the public class methods below. Class methods take (opts = {}) and read opts.

How to call

PWN::AI::Agent::Dispatch.help
PWN::AI::Agent::Dispatch.call(opts)

Public methods

  • call
  • repair_name
  • tool_calls_from_text
  • scheduling
  • effect
  • authors
  • help

Source

pwn/ai/agent/dispatch.rb

Verification

PWN::AI::Agent::Dispatch.respond_to?(:call) after the module is loaded. Read the source for parameter names.

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. 1mo ago Changed · +1 lines 9d328bb8bdcb
  2. 3mo ago First seen · 51 lines · 21 tokens per session scan A 2fb549a6eacc

Subscribe to this mod's changes

pwn-ai-agent-dispatch is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 485 once invoked, about $0.0001 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-08-30.

Related

pwn-ai-agent-dispatch compared with skills from other repositories

pwn-ai-agent-dispatch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pwn-ai-agent-dispatch0dayInc/pwnSkill102todayMITA21Claude Code
performing-jwt-none-algorithm-attackxalgorix/xalgorixSkill1.6ktodayApache-2.0A34Claude Code, Codex
performing-zero-day-vulnerability-discoveryxalgorix/xalgorixSkill1.6ktodayApache-2.0B36Claude Code, Codex
analyzing-linux-elf-malwaremukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0B82Claude Code
supabasePentesterFlow/agentSkill1.5k3mo agoApache-2.0A120Claude Code
sstiPentesterFlow/agentSkill1.5k3mo agoApache-2.0A99Claude Code
racePentesterFlow/agentSkill1.5k3mo agoApache-2.0A82Claude Code