clickhouse avatar

Clickhouse Js Node Rowbinary

Generate TypeScript code to encode and decode ClickHouse's RowBinary wire format in Node.js. This is for throughput scenarios where you're moving wide numerics, fixed-width blobs like UUIDs, or high-volume numeric columns and JSON formats are leaving performance on the table. The skill inlines DataView operations into monomorphic codecs instead of calling generic helpers in a loop. It covers readers, writers, and all three RowBinary variants. Fair warning: if your result set is mostly strings you're randomly accessing, V8's native JSON.parse with HTTP compression will likely beat a handwritten binary parser. Know when to reach for this and when not to.

skills.sh installs
6.5K
GitHub stars
565
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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?

Sponsors

Details

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

More from clickhouse/agent-skills

All 10
1trailofbits avatarinsecure-defaultstrailofbits/skillsDetects fail-open insecure defaults (hardcoded secrets, weak auth, permissive security) that allow apps to run insecurely in production. Use when auditing secur6.5Kskills.sh installs
2antvis avatarchart-visualizationantvis/chart-visualization-skills将数据可视化为图表。当用户需要生成柱状图、折线图、饼图、散点图、雷达图、桑基图、思维导图、流程图等图表时调用此技能,通过 curl 工具调用 AntV API 生成图表图片6.5Kskills.sh installs
3aws avatarsetting-up-cloudtrail-multi-regionaws/agent-toolkit-for-awsEnables a multi-region AWS CloudTrail trail with S3 log storage, CloudWatch Logs integration, and CloudWatch Logs Insights queries for security monitoring and c6.5Kskills.sh installs
4wondelai avatarsoftware-design-philosophywondelai/skillsManage software complexity through deep modules, information hiding, and strategic programming. Use when the user mentions "module design", "API too complex", "6.4Kskills.sh installs
5jeffallan avatarjavascript-projeffallan/claude-skillsWrites, debugs, and refactors JavaScript code using modern ES2023+ features, async/await patterns, ESM module systems, and Node.js APIs. Use when building vanil6.4Kskills.sh installs
6testdino-hq avatarplaywright-skilltestdino-hq/playwright-skillBattle-tested Playwright patterns for writing, debugging, and scaling reliable test suites. Use when you need guidance for E2E, API, component, visual, accessib6.2Kskills.sh installs