clickhouse avatar

Clickhouse Js Node Troubleshooting

If you're running the ClickHouse Node.js client and hitting socket hang-ups, type mismatches, or mysterious connection drops, this is your diagnostic guide. It covers the classic pain points: ECONNRESET errors on long queries, integers coming back as strings, readonly user restrictions breaking compression, and proxy pathname confusion. The skill maps symptoms to reference files so Claude can diagnose first and fix second, which matters when you're staring at a vague "my inserts keep failing" message at 2am. Strictly for Node.js runtime, not browsers or edge workers. Honest take: most ClickHouse JS issues come down to Keep-Alive settings or not understanding how the client handles big integers, and having those answers indexed saves a lot of GitHub issue archaeology.

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

Install

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

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/clickhouse/agent-skills
Categories
Backend & APIs, Git & Pull Requests, AI & Agent Building, Debugging, Automation & Workflows, Databases
First seen
Jun 3, 2026

More from clickhouse/agent-skills

All 10
1rivet-dev avatarrivetkitrivet-dev/skillsRivetKit backend and Rivet Actor runtime guidance. Use for building, modifying, debugging, or testing Rivet Actors, registries, serverless/runner modes, deploym7.7Kskills.sh installs
2anthropics avatarsystem-designanthropics/knowledge-work-pluginsDesign systems, services, and architectures. Trigger with "design a system for", "how should we architect", "system design for", "what's the right architecture 7.7Kskills.sh installs
3trailofbits avatarsharp-edgestrailofbits/skillsIdentifies error-prone APIs, dangerous configurations, and footgun designs that enable security mistakes. Use when reviewing API designs, configuration schemas,7.6Kskills.sh installs
4anthropics avatarhook-developmentanthropics/claude-plugins-officialThis skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", 7.5Kskills.sh installs
5forcedotcom avatarplatform-apex-generateforcedotcom/sf-skillsPrimary Apex authoring skill for class generation, refactoring, and review. ALWAYS ACTIVATE when the user mentions Apex, .cls, triggers, or asks to create/refac7.4Kskills.sh installs
6starchild-ai-agent avatarorderly-onboardingstarchild-ai-agent/official-skillsOrderly Network onboarding: omnichain perps infra, MCP server, SDK and CLI quickstart. Also indexes executed Orderly fills into Starchild trade analytics. Use w7.1Kskills.sh installs