clickhouse-js-node-troubleshooting
Troubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse/client).
Skill by ClickHouseOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clickhouse-clickhouse-js-node-troubleshooting
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/clickhouse-js-node-troubleshooting
What's inside
- Skill name
clickhouse-js-node-troubleshooting- Description
- Troubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse/client). Use this skill whenever a user reports errors, unexpected behavior, or configuration questions involving the Node.js client specifically — including socket hang-up errors, Keep-Alive problems, stream handling issues, data type mismatches, read-only user restrictions, proxy/TLS setup problems, or long-running query timeouts. Trigger even when the user hasn't precisely named the issue; vague symptoms like "my inserts keep failing" or "connection drops randomly" in a Node.js context are strong signals to use this skill. Do NOT use for browser/Web client issues.
- License
- Apache-2.0
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (10)
- SKILL.md
- compression.md · reference/
- data-types.md · reference/
- logging.md · reference/
- proxy-pathname.md · reference/
- query-format-clause.md · reference/
- query-params.md · reference/
- readonly-users.md · reference/
- socket-hangup.md · reference/
- tls.md · reference/
SKILL.md (first lines)
# ClickHouse Node.js Client Troubleshooting Reference: https://clickhouse.com/docs/integrations/javascript > **⚠️ Node.js runtime only.** This skill covers the `@clickhouse/client` package running in a **Node.js runtime** exclusively — including **Next.js Node runtime** API routes, React Server Components, Server Actions, and standard Node.js processes. Do **not** apply this skill to browser client components, Web Workers, **Next.js Edge runtime**, Cloudflare Workers, or any usage of `@clickhouse/client-web`. For browser/edge environments, the correct package is `@clickhouse/client-web`. --- ## How to Use This Skill 1. **Identify the issue** — match symptoms to the Issue Index below and read the corresponding reference file. 2. **Lead with the diagnosis** — explain what's likely causing the issue before giving the fix. 3. **Note version constraints** — flag if a fix requires a minimum client version and check it against what the user provided. 4. **Ask only what's missing** — if the fix is version-dependent and you don't know their version, ask; otherwise help immediately. --- ## Issue Index Identify the user's issue from the list below and read the corresponding reference file for detailed troubleshooting steps. | Issue | Symptoms | Reference file | | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- | | **Socket Hang-Up / ECONNRESET** | `socket hang up`, `ECONNRESET`, intermittent connection drops, long-running queries timing out | `reference/socket-hangup.md` | | **Data Type Mismatches** | Large integers returned as strings, decimal precision loss, Date/DateTime insertion failures, `CANNOT_PARSE_INPUT_ASSERTION_FAILED` inserting a UUID into a `UInt128` column | `reference/data-types.md` | | **Read-Only User Errors** | Errors when using response compression with `readonly=1` users | `reference/readonly-users.md` | | **Proxy / Pathname URL Confusion** | Wrong database selected, requests failing behind a proxy with a path prefix | `reference/proxy-pathname.md` | | **TLS / Certificate Errors** | TLS handshake failures, certificate verification issues, mutual TLS setup | `reference/tls.md` | | **Compression Not Working** | GZIP compression not activating for requests or responses | `reference/compression.md` | | **Logging Not Showing Anything** | No log output, need custom logger integration | `reference/logging.md` | | **Query Parameters Not Interpolated** | Parameterized queries not working, SQL injection concerns | `reference/query-params.md` | | **FORMAT Clause / `SHOW POLICIES` Errors** | Syntax error from a duplicate `FORMAT`, or `SHOW [ROW] POLICIES` failing even with a format provided | `reference/query-format-clause.md` | --- ## Still Stuck? - [JS client source + full examples](https://github.com/ClickHouse/clickhouse-js/tree/main/examples) - [ClickHouse JS client docs](https://clickhouse.com/docs/integrations/javascript) - [ClickHouse supported formats](https://clickhouse.com/docs/interfaces/formats)
From ClickHouse/agent-skills, Apache-2.0.
More from ClickHouse/agent-skills
- 0.809score
infra-postgres
ClickHouse IncOfficial
Sets up and manages Postgres using the clickhousectl CLI — runs a local Docker-backed Postgres for development, and creates and operates managed ClickHouse…
SkillAFreshness: A★ 560Claude Code +9 - 0.806score
clickhouse-js-node-rowbinary
ClickHouseOfficial
Generate TypeScript/JavaScript code that reads/decodes AND writes/encodes ClickHouse RowBinary streams for the ClickHouse HTTP server.
SkillAFreshness: A★ 560Claude Code +9 - 0.763score
infra-clickhouse
ClickHouse IncOfficial
Sets up and manages ClickHouse using the clickhousectl CLI — installs and runs a local ClickHouse server for development, and creates managed ClickHouse Cloud…
SkillBFreshness: B★ 560Claude Code +9 - 0.712score
chdb-datastore
chdb-ioOfficial
Use when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to filter, group, aggregate, join, or speed up slow pandas.
SkillCFreshness: C★ 560Claude Code +9 - 0.712score
chdb-sql
chdb-ioOfficial
Use when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL…
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-architecture-advisor
ClickHouse IncOfficial
MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific…
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-best-practices
ClickHouse IncOfficial
MUST USE when reviewing ClickHouse schemas, queries, or configurations.
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-js-node-coding
ClickHouseOfficial
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`).
SkillCFreshness: C★ 560Claude Code +9 - 0.706score
clickhouse-managed-postgres-rca
ClickHouse IncOfficial
MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance.
SkillCFreshness: C★ 560Claude Code +9 - 0.696score
clickstack-otel-collector
ClickHouse IncOfficial
Use when a user wants to wire an OpenTelemetry collector into a Managed ClickStack service on ClickHouse Cloud, either by deploying a new local collector…
SkillCFreshness: C★ 560Claude Code +9 - 0.410score
AGENTS.md · ClickHouse/agent-skills
ClickHouse
AGENTS.md from ClickHouse/agent-skills: 212 lines covering Repository Overview, Repository Structure, Creating a New Skill, Contributing Guidelines and more.
TemplateDFreshness: D★ 560Codex +5
Signals
- Stars
- 560
- Forks
- 38
- Open issues
- 1
- Last commit (this folder)
- Jun 30, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/ClickHouse/agent-skills
- Website
- clickhouse.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ClickHouse
- 0.806score
clickhouse-js-node-rowbinary
ClickHouseOfficial
Generate TypeScript/JavaScript code that reads/decodes AND writes/encodes ClickHouse RowBinary streams for the ClickHouse HTTP server.
SkillAFreshness: A★ 560Claude Code +9 - 0.781score
ClickHouse
ClickHouseOfficial
Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.
ConnectorAFreshness: ALocal★ 892↓ 71.4K/wkClaude Code +5 - 0.706score
clickhouse-js-node-coding
ClickHouseOfficial
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`).
SkillCFreshness: C★ 560Claude Code +9 - 0.544score
docs-drift-reviewer
ClickHouse
Subagent "docs-drift-reviewer" from ClickHouse/mcp-clickhouse: Checks whether README.md, server.json, fastmcp.json, and CHANGELOG.md still match the code on…
TemplateBFreshness: B★ 892Claude Code - 0.544score
AGENTS.md · ClickHouse/mcp-clickhouse
ClickHouse
AGENTS.md from ClickHouse/mcp-clickhouse: 158 lines covering Role, Project Map, Working Rules, Architecture And MCP Contract and more.
TemplateBFreshness: B★ 892Codex +5 - 0.410score
AGENTS.md · ClickHouse/agent-skills
ClickHouse
AGENTS.md from ClickHouse/agent-skills: 212 lines covering Repository Overview, Repository Structure, Creating a New Skill, Contributing Guidelines and more.
TemplateDFreshness: D★ 560Codex +5
Cite this page
clickhouse-js-node-troubleshooting skill. Agent Mart. https://agentmart.dev/skills/clickhouse-clickhouse-js-node-troubleshooting (last updated 2026-10-24)