Skip to content
Back to skills

Aio Patch Control

ASecurity

Scaffold a reference HTTP control-channel gateway (sample shell clients + bun TUI) into <project>/control/, OR print the control-channel protocol docs. Reference example based on the dirty-claude project (Phase 1 patched binary exposes HTTP+SSE server on 127.0.0.1:$DC_PORT inside the running Claude). NOT a generic abstraction — adapt to your own transport (WebSocket / ZMQ / named pipes) if needed.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
ai-agentsgoshellapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 20, 2026

npx -y skills add aiocean/claude-plugins --skill aio-patch-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Aio Patch Control?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Aio Patch Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiocean-aio-patch-control/badge)](https://www.skillsdirectory.com/skills/aiocean-aio-patch-control)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: aio-patch-control
description: |
  Scaffold a reference HTTP control-channel gateway (sample shell clients + bun TUI) into <project>/control/, OR print the control-channel protocol docs. Reference example based on the dirty-claude project (Phase 1 patched binary exposes HTTP+SSE server on 127.0.0.1:$DC_PORT inside the running Claude). NOT a generic abstraction — adapt to your own transport (WebSocket / ZMQ / named pipes) if needed.
when_to_use: aio patch control, control channel, http control claude, claude as service, claude api server, scaffold control gateway, dirty claude control, agent as a service, claude HTTP server
argument-hint: "scaffold (default) | docs"
effort: medium
---

# 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 "$@"`.

Files in this skill

  • SKILL.md1.9 KB
  • scripts/control.sh1.6 KB
  • templates/control/README.md11.2 KB
  • templates/control/client.ts14.4 KB
  • templates/control/interactive-client.sh629 B
  • templates/control/raw-client.sh1.7 KB
  • templates/control/simple-client.sh838 B
  • templates/control/stream-ambient.sh2.8 KB
  • templates/control/stream-client.sh1.7 KB
  • templates/control/stream-text.sh5.1 KB
  • tests/test-scaffold.sh1001 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.