Agent skill

Clickhouse Install Auth

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Install @clickhouse/client and configure authentication to ClickHouse Cloud or self-hosted.

MITAuto-check: notesDatabases

Install Clickhouse Install Auth

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill clickhouse-install-auth -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace clickhouse-install-auth --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/clickhouse-install-auth .claude/skills/clickhouse-install-auth && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clickhouse-install-auth
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
394 words
Files
3 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Install @clickhouse/client and configure authentication to ClickHouse Cloud or self-hosted.

  • Works in 5 steps: Install the official client. Node.js… → Configure environment variables. Put… → Create the client. Pass url, username,… → …
  • Setting up a new ClickHouse project
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 4 more sections
  • Calls npm and pip; needs CLICKHOUSE_PASSWORD

What it does

Clickhouse Install Auth is an agent skill from jeremylongshore/tons-of-skills-marketplace. Install @clickhouse/client and configure authentication to ClickHouse Cloud or self-hosted. Use when setting up a new ClickHouse project, configuring connection strings, or initializing the official Node.js or Python client. Trigger with "install clickhouse", "setup clickhouse client", "clickhouse auth", "connect to clickhouse", "clickhouse credentials".

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/connection-reference.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Databases, covering Data warehousing. It works with ClickHouse, Python and Node.js. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Setting up a new ClickHouse project
  • Configuring connection strings
  • Initializing the official Node.js
  • With install clickhouse

Example prompts

  • “install clickhouse”
  • “setup clickhouse client”
  • “clickhouse auth”
  • “/clickhouse-install-auth”

Requirements

  • Python 3
  • Node.js
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Bash(npm:*), Bash(pnpm:*), Bash(pip:*)

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Install the official client. Node.js uses the HTTP-based
  2. Configure environment variables. Put host, user, and password in .env
  3. Create the client. Pass url, username, and password to
  4. Verify the connection with client.ping() plus a SELECT version()
  5. Python alternative — same shape via clickhouse_connect.get_client(...)

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash(npm:*)
    • Bash(pnpm:*)
    • Bash(pip:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • clickhouse.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CLICKHOUSE_PASSWORD

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Clickhouse Install Auth loads about 1.2k tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 394 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:38
    ead the current project for an existing `.env` before
  • NoteMentions a .env fileSKILL.md:39
    writing one; write credentials to `.env` (never commit it).
  • NoteMentions a .env fileSKILL.md:49
    bles.** Put host, user, and password in `.env`
  • NoteMentions a .env fileSKILL.md:82
    - A `.env` holding `CLICKHOUSE_HOST` / `CLICKHOUSE_USER` / `CLICKHOUSE_PASSWORD`
  • NoteMentions a .env fileSKILL.md:101
    t to ClickHouse Cloud (Node.js).** With `.env` populated, create the

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 394 words, ~1,237 tokens.

Download SKILL.mdSave it as .claude/skills/clickhouse-install-auth/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
clickhouse-install-auth
description
Install @clickhouse/client and configure authentication to ClickHouse Cloud or self-hosted. Use when setting up a new ClickHouse project, configuring connection strings, or initializing the official Node.js or Python client. Trigger with "install clickhouse", "setup clickhouse client", "clickhouse auth", "connect to clickhouse", "clickhouse credentials".
allowed-tools
Read, Write, Bash(npm:*), Bash(pnpm:*), Bash(pip:*)
compatibility
Designed for Claude Code
version
1.7.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, database, analytics, clickhouse, olap

ClickHouse Install & Auth

Overview

Set up the official ClickHouse client for Node.js or Python and configure authentication to ClickHouse Cloud or a self-hosted instance. The workflow below is the high-level path; each step links to a full walkthrough with complete code in references/implementation.md.

Prerequisites

  • Node.js 18+ or Python 3.8+
  • A running ClickHouse instance (Cloud or self-hosted)
  • Connection credentials (host, port, user, password)

Instructions

Follow these five steps. Read the current project for an existing .env before writing one; write credentials to .env (never commit it).

  1. Install the official client. Node.js uses the HTTP-based @clickhouse/client; Python uses clickhouse-connect.

    bash
    npm install @clickhouse/client   # Node.js
    pip install clickhouse-connect   # Python
  2. Configure environment variables. Put host, user, and password in .env and add it to .gitignore. Cloud hosts use port 8443 (HTTPS); self-hosted uses 8123 (HTTP).

  3. Create the client. Pass url, username, and password to createClient() (Node.js) or get_client() (Python). Cloud requires TLS — supply an https:// URL and the client handles it.

    typescript
    import { createClient } from '@clickhouse/client';
    const client = createClient({
      url: process.env.CLICKHOUSE_HOST,
      username: process.env.CLICKHOUSE_USER,
      password: process.env.CLICKHOUSE_PASSWORD,
    });
  4. Verify the connection with client.ping() plus a SELECT version() probe.

  5. Python alternative — same shape via clickhouse_connect.get_client(...) with secure=True for Cloud.

Full code for every step (Cloud + self-hosted variants, the verify routine, and the Python client): references/implementation.md. Every createClient() option and a Cloud-vs-self-hosted comparison: references/connection-reference.md.

Output

After completing the workflow you have:

  • The official client installed (@clickhouse/client or clickhouse-connect).
  • A .env holding CLICKHOUSE_HOST / CLICKHOUSE_USER / CLICKHOUSE_PASSWORD (gitignored).
  • An initialized client module that reads those variables.
  • A successful ping() returning success: true and a SELECT version() probe printing the server version and uptime — proof the connection and auth both work.
Show full SKILL.md (144 more words)Show less

Error Handling

ErrorCauseSolution
ECONNREFUSEDServer not runningCheck host/port, verify ClickHouse is up
Authentication failedWrong user/passwordVerify credentials in ClickHouse users.xml or Cloud console
CERTIFICATE_VERIFY_FAILEDTLS mismatchUse https:// for Cloud, check CA certs for self-hosted
TIMEOUTNetwork/firewallCheck IP allowlists in Cloud console, firewall rules
Database not foundWrong database nameRun SHOW DATABASES to list available databases

Examples

Connect to ClickHouse Cloud (Node.js). With .env populated, create the client against the https://…:8443 host and verify:

typescript
const alive = await client.ping();        // { success: true }
const rs = await client.query({
  query: 'SELECT version() AS ver',
  format: 'JSONEachRow',
});
console.log((await rs.json())[0].ver);    // e.g. "24.8.1"

Connect to a local self-hosted instance (no TLS). Point at the HTTP interface on 8123 with an empty password:

typescript
const localClient = createClient({
  url: 'http://localhost:8123',
  username: 'default',
  password: '',
});

The full Cloud + self-hosted + Python set is in references/implementation.md.

Resources

Next Steps

Proceed to clickhouse-hello-world to create your first table and run an insert-and-select round trip against the connection you just verified.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/.curated/clickhouse-install-auth of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/connection-reference.md
  • references/implementation.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Clickhouse Install Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clickhouse Install Auth compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clickhouse Install Auth this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: NotesMIT
Chdb SQLvemetric/vemetric3951 repos~1.2kAutomated safety check: PassApache-2.0
ClickHouse RowBinary for Node.jsClickHouse/agent-skills545—~1.3kAutomated safety check: PassApache-2.0
Modelersidequery/sidemantic129—~4.2kAutomated safety check: PassApache-2.0
Clickhouse JS Node Codingvemetric/vemetric3951 repos~2.8kAutomated safety check: PassAGPL-3.0
Clickhouse JS Node Troubleshootingvemetric/vemetric3951 repos~1.3kAutomated safety check: PassAGPL-3.0

Similar skills

  • Chdb SQL

    vemetric/vemetric

    A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…

    395 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check passed
  • ClickHouse RowBinary for Node.js

    ClickHouse/agent-skills

    Generates TypeScript or JavaScript readers and writers for ClickHouse's RowBinary formats over HTTP in Node.js, after checking that RowBinary suits the data.

    545 GitHub stars~1.3k tokensUpdated 12 days ago
    DatabasesAuto-check passed
  • Modeler

    sidequery/sidemantic

    Build, validate, and manage semantic models using Sidemantic.

    129 GitHub stars~4.2k tokensUpdated 4 days ago
    DatabasesAuto-check passed
  • Clickhouse JS Node Coding

    vemetric/vemetric

    Write idiomatic application code with the ClickHouse Node.js client (@clickhouse/client).

    395 GitHub starsUsed in 1 repo~2.8k tokens
    DatabasesAuto-check passed
  • Troubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse/client).

    395 GitHub starsUsed in 1 repo~1.3k tokens
    DatabasesAuto-check passed
  • Official

    How to add a new ingestion warning type to the event ingestion pipeline.

    40k GitHub stars~3.7k tokensUpdated yesterday
    DatabasesAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Categories

Questions about Clickhouse Install Auth

What does Clickhouse Install Auth do?

Install @clickhouse/client and configure authentication to ClickHouse Cloud or self-hosted. Clickhouse Install Auth is an agent skill from jeremylongshore/tons-of-skills-marketplace. Install @clickhouse/client and configure authentication to ClickHouse Cloud or self-hosted.

When should I use Clickhouse Install Auth?

Clickhouse Install Auth fits situations like: setting up a new ClickHouse project; configuring connection strings; initializing the official Node.js; with install clickhouse.

How do I install Clickhouse Install Auth in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clickhouse-install-auth -a claude-code`. Or copy the skill folder (skills/.curated/clickhouse-install-auth in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/clickhouse-install-auth in your project. Claude Code loads it when a task matches its description.

How do I install Clickhouse Install Auth in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clickhouse-install-auth -a codex`. Or copy the skill folder (skills/.curated/clickhouse-install-auth in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/clickhouse-install-auth in your project. Codex loads it when a task matches its description.

Can I use Clickhouse Install Auth in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill clickhouse-install-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clickhouse-install-auth, .gemini/skills/clickhouse-install-auth, .github/skills/clickhouse-install-auth and .opencode/skills/clickhouse-install-auth in your project.

What does Clickhouse Install Auth need to run?

Going by SKILL.md and its folder, Clickhouse Install Auth needs the command-line tools its instructions call (npm and pip) and credentials named CLICKHOUSE_PASSWORD. Our summary lists: Python 3; Node.js. Its frontmatter pre-approves these tools: Read, Write, Bash(npm:*), Bash(pnpm:*), Bash(pip:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Clickhouse Install Auth access the network?

SKILL.md names 1 domain. As links in the text: clickhouse.com. This is read from the text; nothing was executed.

Is Clickhouse Install Auth safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Clickhouse Install Auth use?

Clickhouse Install Auth is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clickhouse Install Auth use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 849 tokens, read only when the agent opens those files.

What are the alternatives to Clickhouse Install Auth?

Skills that share tags, products or a category with Clickhouse Install Auth: Chdb SQL (vemetric/vemetric, 395 stars), ClickHouse RowBinary for Node.js (ClickHouse/agent-skills, 545 stars), Modeler (sidequery/sidemantic, 129 stars) and Clickhouse JS Node Coding (vemetric/vemetric, 395 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clickhouse Install Auth?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.