aio-patch-control

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

A reference gateway for sending commands to a running Claude process over HTTP and receiving updates through server-sent events (a one-way web update stream). It can add sample shell clients and a Bun terminal interface under /control/, or show the protocol documentation.

In plain words
What is it for?
Use it to create the /control/ examples, inspect the control-channel protocol, or connect shell and terminal clients to the running process.
Why use it?
It gives you a documented way to control and monitor the patched process without designing the communication layer yourself.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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 create the /control/ examples, inspect the control-channel protocol, or connect shell and terminal clients to the running process.

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-control

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-patch-control"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-patch-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 460 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.00098 $0.00460
Opus 5.5 $0.00039 $0.00184
Sonnet 5.5 $0.00020 $0.00092
Haiku 4.5 $0.00010 $0.00046

Measured 1mo ago against content hash 956faec39ef5, 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-control 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 1mo ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/control.sh, templates/control/client.ts, templates/control/interactive-client.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `control/simple-client.sh`, `raw-client.sh` — minimal curl-based clients
plugins/aio-claude-toolkit/skills/aio-patch-control/SKILL.md · 40 lines

What it actually says

aio-patch-control — HTTP control-channel reference + docs

Goal

Drop a working sample gateway into <project>/control/ so you can drive your patched claude binary over HTTP/SSE if your patches.json injects an HTTP server (the dirty-claude pattern). Also expose the protocol docs.

Usage

/aio-claude-toolkit:aio-patch-control scaffold     # copy sample scripts into ./control/
/aio-claude-toolkit:aio-patch-control docs         # print docs/control-channel.md
FORCE=1 /aio-claude-toolkit:aio-patch-control scaffold   # overwrite existing ./control/

What scaffold ships

  • control/simple-client.sh, raw-client.sh — minimal curl-based clients
  • control/stream-client.sh, stream-text.sh, stream-ambient.sh — SSE streaming variants
  • control/interactive-client.sh — line-oriented driver
  • control/client.ts — bun TUI (richer UX)
  • control/README.md — quick reference

Requires

  • Scaffolded project (walk-up sentinel) — your patches.json must inject an HTTP control-channel for these clients to actually talk to the binary
  • For bun TUI: bun installed

Implementation

Invokes ${CLAUDE_PLUGIN_ROOT}/skills/aio-patch-control/scripts/control.sh "$@".

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 · 40 lines · 98 tokens per session scan A 956faec39ef5

Subscribe to this mod's changes

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