What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter

clickhouse-best-practices: a Claude Code skill by ClickHouse

Official

For teams designing or reviewing ClickHouse tables, queries and inserts against the vendor's own rules. Skip it if you don't run ClickHouse.

Score
76of 100
Rank
#111of 239
Installs
22.9Kon skills.sh
Security
Clear 5 scanners
Updated
2026
Context
~59tokens always

Install

npx skills add https://github.com/clickhouse/agent-skills --skill clickhouse-best-practices

Run it in your terminal. View the source

Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app

What does clickhouse-best-practices do?

clickhouse-best-practices is a skill from ClickHouse Inc that checks schemas, queries and ingestion plans against 31 rules and cites each one by name. For a schema review it reads rules on ORDER BY planning, key column order, native types, LowCardinality, Nullable and partition counts. Query reviews cover JOIN algorithms, filtering before joins, ANY JOIN and skipping indices; insert reviews cover 10K to 100K row batches, async inserts and avoiding ALTER UPDATE and OPTIMIZE FINAL. When an agent queries a live database, it connects by MCP or CLI, discovers the schema in seven steps, and runs queries with LIMIT and timeouts. Output lists rules checked, violations and fixes.

When should you use clickhouse-best-practices?

Use it when

  • You are writing a CREATE TABLE for ClickHouse
  • A ClickHouse query or JOIN runs slowly
  • An agent needs safe access to a ClickHouse database

Skip it when

  • Your data lives in Postgres, MySQL or another engine
  • You want a general SQL tutorial

What it needs and what it can touch

You need

  • A ClickHouse database, plus the ClickHouse MCP server or CLI for live queries

What it can do

  • Runs queries on your ClickHouse database when connected
  • May search the web for current ClickHouse guidance

From reading its instructions, not from running it.

Why it scores 76

Strongest on upkeep (100 of 100), weakest on adoption (39).

  • Adoption35 points 39
  • Upkeep20 points 100
  • Trust20 points 100
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

Is clickhouse-best-practices safe to install?

Every scanner that checked it passed it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.

ScannerResultDate
Gen Agent Trust HubPassedSep 14, 2026
SocketPassedSep 14, 2026
SnykLow riskSep 14, 2026
RunlayerLow riskFeb 26, 2026
ZeroLeaksPassedApr 15, 2026

Details

Installs
22,879
Repository stars
565
Last repository change
Tokens always loaded
about 59
Tokens when used
about 2,498
License
Apache-2.0
Data confidence
High

Alternatives to clickhouse-best-practices

All skills for this job