clickhouse-hello-world
Skill by jeremylongshore
Creates a first ClickHouse MergeTree table, inserts sample rows, and runs an analytical query using @clickhouse/client. Aimed at developers starting a ClickHouse project or testing a connection.
Install clickhouse-hello-world
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clickhouse-hello-world ~/.claude/skills/clickhouse-hello-worldRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clickhouse-hello-world ~/.gemini/antigravity-cli/skills/clickhouse-hello-worldAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install clickhouse-hello-world in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The clickhouse-hello-world skill walks an assistant through a first ClickHouse session using the official @clickhouse/client. It creates a MergeTree table named events with ORDER BY, PARTITION BY, TTL and LowCardinality columns, inserts five sample rows in JSONEachRow format, and runs a grouped count query that returns events and unique users per event type.
The skill is meant for starting a new ClickHouse project, learning MergeTree basics, or checking that a connection works with real operations. It also points to reference files on other engines, column types and system.parts size queries. Connection setup is covered by the clickhouse-install-auth skill, and the clickhouse-local-dev-loop skill is the suggested next step.
Written from the project's SKILL.md and checked against it.
What it can do
- Create MergeTree tableCreates an events table with ORDER BY, PARTITION BY and a 90 day TTL.
- Insert sample rowsInserts five sample events using the JSONEachRow format.
- Aggregate queryCounts events and unique users grouped by event type, sorted by count.
- Inspect system tablesOptional check of on-disk size and part counts through system.parts.
What you need
- @clickhouse/client installed and connected
- A reachable ClickHouse server (local Docker, ClickHouse Cloud, or self-hosted)
- CLICKHOUSE_HOST, CLICKHOUSE_USER and CLICKHOUSE_PASSWORD environment variables
Try asking
- Create my first ClickHouse table and insert some sample events.
- Run a query that counts events and unique users by event type.
- Show me how to set up a MergeTree table with a 90 day TTL.
Good to know
- ClickHouse returns numeric aggregates as JSON strings, so values must be cast before arithmetic.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clickhouse-hello-world/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Bash(node:*)
-
SKILL.md6 KB -
references/mergetree-and-types.md1 KB -
references/system-tables.md2 KB
Alternatives to clickhouse-hello-world
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
clickhouse-hello-world: common questions
Which ClickHouse setups does this work with?
The source says the server can be local Docker, ClickHouse Cloud, or self-hosted, configured through CLICKHOUSE_HOST, CLICKHOUSE_USER and CLICKHOUSE_PASSWORD.
Why do my count values come back as strings?
ClickHouse returns numbers as strings in JSON, so the skill notes that they should be cast before doing arithmetic in TypeScript.
Can I use a different table engine?
Yes. The source points to a reference file covering other engines such as ReplacingMergeTree and SummingMergeTree, along with the column-type table.
How do I install clickhouse-hello-world?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clickhouse-hello-world free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clickhouse-hello-world safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to clickhouse-hello-world?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
