clickhouse-core-workflow-a
Skill by jeremylongshore
Designs ClickHouse table schemas with MergeTree engines, ORDER BY sort keys, partitioning and column codecs. Aimed at developers creating new analytical tables on ClickHouse or ClickHouse Cloud.
Install clickhouse-core-workflow-a
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-core-workflow-a ~/.claude/skills/clickhouse-core-workflow-aRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install clickhouse-core-workflow-a in Claude Code
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-core-workflow-a ~/.gemini/antigravity-cli/skills/clickhouse-core-workflow-aAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install clickhouse-core-workflow-a in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides the schema decisions that set query speed and storage cost in ClickHouse. It covers choosing a table engine, designing the ORDER BY sort key, picking a partition expression, and selecting column codecs. It gives a sample CREATE TABLE statement for an event table and points to reference files for more DDL examples and an apply path using @clickhouse/client.
The skill asks the assistant to explain each decision so the schema can be reviewed. It notes that ClickHouse Cloud uses SharedMergeTree as a drop-in replacement for MergeTree, so DDL does not change. It is intended for developers who build analytical workloads on ClickHouse and need to create or modify tables.
Written from the project's SKILL.md and checked against it.
What it can do
- Engine selectionCompares MergeTree, ReplacingMergeTree, SummingMergeTree, AggregatingMergeTree and CollapsingMergeTree by use case.
- ORDER BY sort key designGives rules for ordering low-cardinality filter columns first and time columns last.
- Table DDLWrites a CREATE TABLE statement with engine, sort key, partition, codecs and optional TTL.
- Partition expression choiceRecommends monthly partitions with toYYYYMM and warns against over-partitioning.
- Column codecsChooses per-column compression codecs such as ZSTD for large string columns.
- Apply scriptOptionally runs the DDL from application code with a @clickhouse/client command call.
What you need
- ClickHouse or ClickHouse Cloud instance
- @clickhouse/client connected to the database
- Node.js for the optional apply script
- Knowledge of the query patterns the table must serve
Try asking
- Design a MergeTree table for clickstream events with tenant_id and created_at.
- Which engine should I use for mutable user profiles in ClickHouse?
- Suggest an ORDER BY key and monthly partitioning for my IoT sensor table.
Good to know
- Covers schema design only. Inserting and querying data is handled by clickhouse-core-workflow-b.
- Over-partitioning, such as by user_id, creates many tiny parts and hurts performance.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clickhouse-core-workflow-a/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Grep
-
SKILL.md6 KB -
references/implementation.md2 KB -
references/schema-examples.md3 KB
Alternatives to clickhouse-core-workflow-a
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-core-workflow-a: common questions
Does this skill work with ClickHouse Cloud?
Yes. The skill says ClickHouse Cloud uses SharedMergeTree as a drop-in replacement for MergeTree, so the DDL does not need to change.
How should I choose the ORDER BY key?
The skill recommends putting low-cardinality filter columns first, then high-cardinality columns you filter on, and ending with a time column for range filters.
What partition expression does it recommend?
For most time-series tables it recommends toYYYYMM(date), which gives monthly partitions, and it advises targeting 10 to 1000 parts per partition.
How do I install clickhouse-core-workflow-a?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clickhouse-core-workflow-a free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clickhouse-core-workflow-a safe to use?
It scores 80 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-core-workflow-a?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
