multiline-socket-protocol

Community

Reliable multi-line data over line-based sockets.

Authormlinnen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Line-based socket protocols struggle when transferring data that contains embedded newlines (JSON, text blocks, or binary data). This Skill provides a robust pattern to frame and transfer multi-line payloads without corrupting boundaries.

Core Features & Use Cases

  • Handshake-based framing that brackets the data stream with explicit signals (e.g., READY and END_MARKER) to ensure reliable transmission.
  • Clear server-side and client-side workflows for streaming multi-line content, including error handling and disconnection safety.
  • Use cases include transferring configuration payloads, JSON blocks, or multi-line logs over TCP connections in distributed components.

Quick Start

Initialize a handler that waits for a command, responds with READY, streams the data, and ends with END_MARKER to complete the transfer.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: multiline-socket-protocol
Download link: https://github.com/mlinnen/mr-pumpkin/archive/main.zip#multiline-socket-protocol

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.