Skip to content

clickhouse-best-practices

MUST USE when reviewing ClickHouse schemas, queries, native full-text search, or configurations. Contains 36 rules that MUST be checked before providing

— (0 ratings) 23.7K downloads clickhouse
$ npx skills add https://github.com/clickhouse/agent-skills --skill clickhouse-best-practices

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

ClickHouse Best Practices

Comprehensive guidance for ClickHouse covering schema design, query optimization, data ingestion, and AI agent connectivity. Contains 36 rules across 4 main categories (schema, query, insert, agent), prioritized by impact.

Official docs: ClickHouse Best Practices

IMPORTANT: How to Apply This Skill

Before answering ClickHouse questions, follow this priority order:

  1. Check for applicable rules in the rules/ directory
  2. If rules exist: Apply rules that match the deployed ClickHouse version and cite them using "Per rule-name...". Verify evolving features against version-specific official documentation; do not override newer authoritative evidence with an older rule.
  3. If no rule exists: Use the LLM's ClickHouse knowledge or search documentation
  4. If uncertain: Use web search for current best practices
  5. Always cite your source: rule name, "general ClickHouse guidance", or URL

Why rules take priority: ClickHouse has specific behaviors (columnar storage, sparse indexes, merge tree mechanics) where general database intuition can be misleading. The rules encode validated, ClickHouse-specific guidance.



Installs: 23.7K | GitHub stars: 580 | First seen: Jan 27, 2026

Related skills

New

Databases

azure-resource-lookup

Fast discovery and inventory of Azure resources across subscriptions using Resource Graph queries.

New • 779.5K
New

Databases

azure-kusto

Execute KQL queries and analyze data in Azure Data Explorer for log analytics, telemetry, and time series insights.

New • 779.1K
New

Databases

supabase-postgres-best-practices

Postgres performance optimization rules across 8 priority categories, from query tuning to advanced features.

New • 502.1K