clickhouse-js-node-rowbinary

clickhouse-js-node-rowbinary is a skill for Claude Code from ClickHouse/agent-skills. It costs 74 tokens per session (1,233 once invoked), scanned A, original, Apache-2.0.

A guide for choosing how to design ClickHouse, a database built for fast analysis of large data sets. It matches the design to workloads such as monitoring, security analysis, product analytics, IoT, or financial data.

In plain words
What is it for?
Use it to plan ClickHouse data ingestion, table modeling, and broader system architecture for a particular workload.
Why use it?
It helps turn general database advice into workload-specific choices while separating official documentation from derived or experience-based guidance.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Part of the clickhouse-best-practices plugin — 11 skills shipped together

Good fit Use it to plan ClickHouse data ingestion, table modeling, and broader system architecture for a particular workload.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary
About the project

ClickHouse/agent-skills is a collection of packaged instructions that give AI coding agents specialized guidance for ClickHouse databases and chdb, an in-process version of ClickHouse for Python. It helps agents design schemas, write queries, ingest data, analyze results, and troubleshoot performance with ClickHouse or ClickHouse Cloud. The catalogue entries are the repository’s skills, plugins, and instruction for using these systems.

ClickHouse/agent-skills · 564 stars · on GitHub · clickhouse.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ClickHouse/agent-skills --skill clickhouse-js-node-rowbinary
Clone the repo
git clone --depth 1 https://github.com/ClickHouse/agent-skills

Made for: Claude Code.

Or install clickhouse-best-practices, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clickhouse-js-node-rowbinary

README.md
[![agentmods](https://agentmods.dev/badge/skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary/github.svg)](https://agentmods.dev/skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary)
Your own site
<a href="https://agentmods.dev/skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary"><img src="https://agentmods.dev/badge/skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clickhouse-js-node-rowbinary

Your own site · 80×15
<a href="https://agentmods.dev/skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary"><img src="https://agentmods.dev/badge/skills/clickhouse/agent-skills/clickhouse-js-node-rowbinary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,233 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 20 Oct 2026
  • Snyk pass 20 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01233
Opus 5.5 $0.00030 $0.00493
Sonnet 5.5 $0.00015 $0.00247
Haiku 4.5 $0.00007 $0.00123

Measured 2mo ago against content hash b31dff97a6c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clickhouse-js-node-rowbinary scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 44 executable files (src/examples/carts.ts, src/examples/events.ts, src/examples/iot.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clickhouse-js-node-rowbinary/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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?

RowBinary exists for throughput, but it is not automatically the fastest path — match the format to the shape of the data before committing to a bespoke parser.

Prefer a JSON* format (e.g. JSONEachRow) when the result is mostly strings / JSON-like values that you consume wholesale — randomly accessing essentially every field, running string/regexp methods on them, treating values as text. V8's native JSON.parse is heavily optimized C++ and builds JS strings and objects faster than a JS-level RowBinary decoder can; pair it with HTTP response compression (gzip / zstd, which crushes JSON's repetitive keys) and the wire cost shrinks too.

RowBinary clearly wins when the result is dominated by:

  • Wide numerics — Int128/Int256/UInt128/UInt256, Decimal128/Decimal256.
  • Binary / fixed-width blobs — IPv4, IPv6, UUID, FixedString.
  • High-volume fixed-width numeric columns generally, where each value is a single DataView read.

Read the full file on GitHub · 112 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 112 lines · 74 tokens per session scan A b31dff97a6c0

Subscribe to this mod's changes

clickhouse-js-node-rowbinary is a skill published in the GitHub repository ClickHouse/agent-skills (564 stars, last pushed 4d ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,233 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

clickhouse-js-node-rowbinary compared with skills from other repositories

clickhouse-js-node-rowbinary next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clickhouse-js-node-rowbinaryClickHouse/agent-skillsSkill5644d agoApache-2.0A74Claude Code
use-gfs-mcpGuepard-Corp/gfsSkill163yesterdayMITA30Claude Code, Codex
use-gfs-cliGuepard-Corp/gfsSkill163yesterdayMITC33Claude Code, Codex
bigquery-graphgoogle/adk-pythonSkill22kyesterdayApache-2.0A52Claude Code, Codex
migration-reviewrohitg00/ai-engineering-from-scratchSkill77kyesterdayMITA35Claude Code
azure-resource-manager-postgresql-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA97Claude Code
azure-resource-manager-mysql-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA87Claude Code