cc-skill-clickhouse-io
Skill by sickn33
Provides ClickHouse patterns for analytical workloads, including table design, query optimization, inserts, materialized views and analytics queries. It is intended for developers and data engineers working with ClickHouse.
Install cc-skill-clickhouse-io
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/cc-skill-clickhouse-io ~/.claude/skills/cc-skill-clickhouse-ioRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/cc-skill-clickhouse-io ~/.gemini/antigravity-cli/skills/cc-skill-clickhouse-ioAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install cc-skill-clickhouse-io in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant ClickHouse patterns for high-performance analytical workloads. It covers table engines such as MergeTree, ReplacingMergeTree and AggregatingMergeTree, query filtering and aggregation tips, window functions, bulk and streaming inserts with the official JavaScript client, materialized views, performance monitoring queries, and sample analytics queries for time series, retention, funnels and cohorts.
The source describes its tables and queries as independent schema sketches rather than one runnable application. It notes that ReplacingMergeTree deduplicates only eventually, that index efficiency should be checked in query plans and read_rows and read_bytes, and that some retention and funnel examples need correction before reporting. It is aimed at developers and data engineers building analytics on ClickHouse.
Written from the project's SKILL.md and checked against it.
What it can do
- MergeTree table designShows MergeTree, ReplacingMergeTree and AggregatingMergeTree table definitions with partitioning and ordering keys.
- Query optimizationGives examples of efficient filtering, ClickHouse aggregation functions, quantiles and running-total window functions.
- Bulk and streaming insertsShows batch inserts with the official ClickHouse JavaScript client and a streaming insert pattern.
- Materialized viewsShows how to keep hourly aggregated stats up to date with a materialized view and query the merged results.
- Performance monitoringProvides queries against system.query_log and system.parts to find slow queries and table sizes.
- Analytics queriesProvides sample queries for daily active users, retention, conversion funnels and cohort analysis.
- ETL and CDC sketchesOutlines an hourly extract, transform and load pattern and a PostgreSQL change data capture sketch.
What you need
- A ClickHouse database
- The official ClickHouse JavaScript client (@clickhouse/client) for the insert examples
Try asking
- Design a ClickHouse MergeTree table for hourly market trade volume data.
- Write a ClickHouse query that finds the slowest queries from the last hour.
- Show me how to batch insert trades into ClickHouse with the JavaScript client.
Good to know
- The tables and queries are schema sketches, not a single runnable application.
- ReplacingMergeTree deduplicates only eventually and is not a read-time guarantee.
- The retention and funnel examples need verification before use in reporting.
- The streaming and CDC fragments are conceptual and need adaptation to the pinned client API.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cc-skill-clickhouse-io/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB
Alternatives to cc-skill-clickhouse-io
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
cc-skill-clickhouse-io: common questions
Does this skill run ClickHouse queries for me?
The source provides patterns and example SQL and TypeScript code. It does not describe a runnable application that connects to a database.
Does ReplacingMergeTree remove all duplicate rows?
The source says ReplacingMergeTree deduplicates equal full sorting keys eventually within compatible partitions. Adding a timestamp to ORDER BY does not deduplicate repeated event IDs, and merges are not a read-time guarantee.
Should I check query performance with EXPLAIN or query logs?
The source advises inspecting plans and read_rows and read_bytes, because textual order of predicates does not prove index efficiency.
How do I install cc-skill-clickhouse-io?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cc-skill-clickhouse-io free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is cc-skill-clickhouse-io safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cc-skill-clickhouse-io?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
