Skip to content

TsukiNi22/ai-utils / skills/docs/better-protocol-doc

better-protocol-doc

Verified

templates/pages/reference/protocol.en.md

View on GitHub
+++
title = "Wire protocol"
summary = "The frames between the client and the server, byte by byte."
section = "reference"
order = 10
kind = "protocol"
keywords = "protocol frame message handshake bytes"
+++

Every value is read from the code: the parser and the enums of the message types.

## Framing {#framing}

A transmission is `ENQ` + payload + `EOT`; the first byte of the payload is its type.

## Messages {#messages}

:::message HELLO 0x01
| field | type | size | description |
|---|---|---|---|
| type | u8 | 1 | `0x01` |
| version | u16 | 2 | protocol version, big endian |
| name | utf8 | var | the client name, up to 32 bytes |
The first frame of a connection; any other frame first: the server closes it.
:::

## Handshake {#handshake}

:::html
<ol class="seq">
  <li><div><span class="dir">client → server</span><br><code>HELLO</code> with its version.</div></li>
  <li><div><span class="dir">server → client</span><br><code>WELCOME</code> or <code>ERROR 0x10</code> (version refused).</div></li>
</ol>
:::
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall