Skip to content
clickhouse avatar

Clickhouse Js Node Rowbinary

Generates Node.js TypeScript code that decodes and encodes ClickHouse RowBinary streams, with format-selection guidance.

CCM score
71 of 100
skills.sh installs
6.7K
GitHub stars
580
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers both directions: reader code for decoding RowBinary* responses and writer code for encoding payloads to send to ClickHouse
  • Includes per-type reader and writer reference tables, plus six worked examples with measured speedups in EXAMPLES.md
  • Enforces little-endian DataView reads and writes with literal true, and warns against bespoke parsing where JSONEachRow or Native fits better
  • Designed for Node.js services that handle wide numerics, UUIDs, IP addresses, or high-volume fixed-width columns; browsers are out of scope

Install

$ npx -y skills add clickhouse/agent-skills --skill clickhouse-js-node-rowbinary -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ClickHouse JS RowBinary Codec Generator for Node.js

This skill generates both directions of the wire format: readers (decode bytes → values) and writers (encode values → bytes, the mirror). A given task normally needs only one side. This file is the shared entry point — the format gate plus the principles common to both directions; the per-direction decisions, guidance, and the per-type reference tables live in two sibling files.

Pick your side — read only the one you need:

  • Decoding a RowBinary* response from ClickHouse into JS values → reader.md. Streaming vs whole-buffer, row-objects vs columnar, fixed vs runtime schema, and the per-type reader reference.
  • Encoding JS values into a RowBinary payload to send to ClickHouse → writer.md. The Sink/writeX building blocks, writeRows streaming, and the per-type writer reference.

The per-type code is real, split by direction under src/readers/ and src/writers/.

First: is RowBinary even the right format?

Details

Repository
github.com/clickhouse/agent-skills
Categories
Databases, Backend & APIs
First seen
Jul 14, 2026

Questions

What does the clickhouse-js-node-rowbinary skill do?

It generates TypeScript or JavaScript code that both reads and writes ClickHouse RowBinary streams for the ClickHouse HTTP server. It covers RowBinary, RowBinaryWithNames and RowBinaryWithNamesAndTypes, and it is for Node.js only, not browsers.

When should I use the clickhouse-js-node-rowbinary skill instead of a JSON format?

Use it when results are dominated by wide numerics, IPv4, IPv6, UUID, FixedString or high-volume fixed-width numeric columns. For mostly string or JSON-like results, the skill's own guidance points to a JSON format such as JSONEachRow instead.

How do I install the clickhouse-js-node-rowbinary skill?

Run npx -y skills add clickhouse/agent-skills --skill clickhouse-js-node-rowbinary -y in your project. After that, the agent can generate RowBinary decoders and encoders for your Node.js code.

Where does clickhouse-js-node-rowbinary rank in its category?

It is in the Databases category on Claude Marketplaces and ranks in the top 100 there. It is aimed at RowBinary codec work, which the skill's reader and writer guides split by direction.

More from clickhouse/agent-skills

All 8

Similar to Clickhouse Js Node Rowbinary

More Databases