
Clickhouse Best Practices
clickhouse/agent-skillsOfficial
Skill-review rulebook for ClickHouse schemas, queries, text search, and configs, citing 36 prioritized rules and version-aware guidance.
- CCM score
- 72 of 100
- skills.sh installs
- 23.5K
- GitHub stars
- 574
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers schema, query, insert, and agent connectivity workflows, with per-category rule files for primary keys, types, JOINs, partitions, indices, and mutations
- Includes a review checklist for each area and an output format that lists rules checked, violations, and compliant findings
- Enforces a rule-first answer order: check
rules/, cite the matching rule, then fall back to general ClickHouse guidance or documentation - Designed for agents reviewing ClickHouse DDL, queries, native full-text search setups, or insert pipelines before recommending changes
Install
$ npx -y skills add clickhouse/agent-skills --skill clickhouse-best-practices -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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:
- Check for applicable rules in the
rules/directory - 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. - If no rule exists: Use the LLM's ClickHouse knowledge or search documentation
- If uncertain: Use web search for current best practices
- Always cite your source: rule name, "general ClickHouse guidance", or URL
Details
- Repository
- github.com/clickhouse/agent-skills
- Categories
- Databases, Code Review & Quality
More from clickhouse/agent-skills
All 8Similar to Clickhouse Best Practices
More Databases
clickhouse-js-node-codingclickhouse/agent-skills7.3K installsNode.js client for ClickHouse with guidance on configuring, inserting, selecting, parameterizing, and managing sessions in server-side code.
clickhouse-architecture-advisorclickhouse/agent-skills11.4K installsDecision-framework advisor for ClickHouse architectures that labels every recommendation as official, derived, or field guidance.
supabase-postgres-best-practicessupabase/agent-skills496.8K installsPostgres best-practices guide covering query performance, connections, RLS, schema, locking, and advanced features.
optimize-clickhouse-sqlfrankchen021/datastoria328 starsEvidence-driven SQL optimization skill that discovers slow queries, collects performance evidence, and validates rewrites.
sql-expertfrankchen021/datastoria328 starsExpert ClickHouse SQL skill that generates, validates, and optimizes queries against confirmed schemas.