aio-patch-setup

aio-patch-setup is a skill for Claude Code from aiocean/claude-plugins. It costs 79 tokens per session (992 once invoked), scanned A, original, MIT.

A setup tool for creating a Claude binary-patching project in the current directory or a chosen target directory. It copies general pipeline tools and guides, while leaving the patch list empty for you to fill in.

In plain words
What is it for?
Use it to start a new patching project with tools for extracting, building, running, and navigating code with an abstract syntax tree.
Why use it?
It provides the common project files needed to begin binary patching without requiring you to assemble the structure manually.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aio-claude-toolkit plugin — 9 skills shipped together

Good fit Use it to start a new patching project with tools for extracting, building, running, and navigating code with an abstract syntax tree.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add aiocean/claude-plugins
Claude Code
/plugin install aio-claude-toolkit

Made for: Claude Code.

Or install aio-claude-toolkit, the plugin that ships this one along with the rest of its 9 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 aio-patch-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-patch-setup/github.svg)](https://agentmods.dev/skills/aiocean/claude-plugins/aio-patch-setup)
Your own site
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-patch-setup"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-patch-setup/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 aio-patch-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-patch-setup"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-patch-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 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.00079 $0.00992
Opus 5.5 $0.00032 $0.00397
Sonnet 5.5 $0.00016 $0.00198
Haiku 4.5 $0.00008 $0.00099

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

Security

Grade A, and why

aio-patch-setup 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.

The scan reads SKILL.md. This mod also ships 23 executable files (scripts/check-deps.sh, scripts/setup.sh, scripts/sync-from-dirty-claude.sh, …), 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.

plugins/aio-claude-toolkit/skills/aio-patch-setup/SKILL.md · 68 lines

How it starts

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

aio-patch-setup — scaffold a new Claude-binary-patching project

Goal

Drop a complete, runnable patching pipeline into the target directory so the user can immediately:

  1. Edit tools/pipeline/patches.json (start from empty schema or copy from patches.json.example)
  2. Run /aio-claude-toolkit:aio-patch-extract to extract cli.js + natives from their installed claude
  3. Run /aio-claude-toolkit:aio-patch-compile to apply patches + recompile a custom claude binary
  4. Run /aio-claude-toolkit:aio-patch-run to exec the patched binary

What gets copied

Path Source User-owned?
tools/extract.sh templates/tools/extract.sh (synced from dirty-claude + ARCH patch) No — generic
tools/build.sh templates/tools/build.sh No — generic
tools/run.sh templates/tools/run.sh No — generic
tools/pipeline/*.py dirty-claude pipeline (extract_cli, patch_cli, resolve_symbols, inline_sources, extract_native_modules) No — generic
tools/pipeline/patches.json EMPTY schema template YES — user content
tools/pipeline/patches.json.example dirty-claude pinned reference No — reference
tools/pipeline/sources/*.example dirty-claude reference patch body No — reference
tools/cli-nav/*.cjs AST navigator (acorn-based) No — generic
docs/*.md curated generic guides (anchor strategy, drift recovery, etc.) No — generic
.gitignore sensible defaults (dist/, *.backup, pycache/) No — generic
CLAUDE.md.example template for your project's CLAUDE.md No — template
README.md.example template for your project's README No — template
.aio-patch-setup (hidden) sync metadata (VERSION) No — generated

NOT copied (opt-in via sibling skill): control/ — call /aio-claude-toolkit:aio-patch-control scaffold to install the reference HTTP control-channel sample.

Usage

/aio-claude-toolkit:aio-patch-setup [target_dir]
  • target_dir defaults to CWD.
  • FORCE=1 env var: overwrite generic scripts in an existing scaffold. Does NOT overwrite tools/pipeline/patches.json or tools/pipeline/sources/*.js (your patch content).

Read the full file on GitHub · 68 lines

Files

What ships with it

46 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. 1mo ago First seen · 68 lines · 79 tokens per session scan A e6dff60badef

Subscribe to this mod's changes

aio-patch-setup is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 992 once invoked, about $0.0003 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-31.