Clickhouse Best Practices
Plugin Verified Active28 best practice rules for ClickHouse schema design, query optimization, and data ingestion — prioritized by impact
To empower AI agents with comprehensive ClickHouse expertise, enabling efficient database development, optimization, and cloud deployment.
Features
- ClickHouse best practices and rules
- In-process ClickHouse SQL engine (chdb)
- Pandas-compatible DataFrame API (chdb DataStore)
- Local ClickHouse development environment setup
- ClickHouse Cloud deployment guidance
Use Cases
- Optimizing ClickHouse schemas and queries
- Analyzing data using pandas-style syntax with ClickHouse performance
- Running SQL queries directly on files or remote databases without a server
- Setting up a local ClickHouse instance for development
- Deploying applications to ClickHouse Cloud
Non-Goals
- Providing a full ClickHouse server management interface
- Replacing all database administration tasks
- Directly interacting with ClickHouse Cloud infrastructure beyond deployment guidance
Installation
First, add the marketplace
/plugin marketplace add clickhouse/agent-skills/plugin install agent-skills@clickhouse-agent-skillsContains 6 extensions
Skill (6)
Drop-in pandas replacement with ClickHouse performance. Use `import chdb.datastore as pd` (or `from datastore import DataStore`) and write standard pandas code — same API, 10-100x faster on large datasets. Supports 16+ data sources (MySQL, PostgreSQL, S3, MongoDB, ClickHouse, Iceberg, Delta Lake, etc.) and 10+ file formats (Parquet, CSV, JSON, Arrow, ORC, etc.) with cross-source joins. Use this skill when the user wants to analyze data with pandas-style syntax, speed up slow pandas code, query remote databases or cloud storage as DataFrames, or join data across different sources — even if they don't explicitly mention chdb or DataStore. Do NOT use for raw SQL queries, ClickHouse server administration, or non-Python languages.
In-process ClickHouse SQL engine for Python — run ClickHouse SQL queries directly on local files, remote databases, and cloud storage without a server. Use when the user wants to write SQL queries against Parquet/CSV/ JSON files, use ClickHouse table functions (mysql(), s3(), postgresql(), iceberg(), deltaLake() etc.), build stateful analytical pipelines with Session, use parametrized queries, window functions, or other advanced ClickHouse SQL features. Also use when the user explicitly mentions chdb.query(), ClickHouse SQL syntax, or wants cross-source SQL joins. Do NOT use for pandas-style DataFrame operations — use chdb-datastore instead.
MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific system designs. Complements clickhouse-best-practices with decision frameworks and explicit provenance labels.
MUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 31 rules that MUST be checked before providing recommendations. Always read relevant rule files and cite specific rules in responses.
Use when a user wants to deploy ClickHouse to the cloud, go to production, use ClickHouse Cloud, host a managed ClickHouse service, or migrate from a local ClickHouse setup to ClickHouse Cloud.
Use when a user wants to build an application with ClickHouse, set up a local ClickHouse development environment, install ClickHouse, create a local server, create tables, or start developing with ClickHouse. Covers the full flow from zero to a working local ClickHouse setup.
Quality Score
VerifiedTrust Signals
Similar Extensions
Database Design
99Database architecture, schema design, and SQL optimization for production systems
Dotforge Stack Python Fastapi
100Python 3.12+ with FastAPI, async/await, type hints, and Ruff linting rules for Claude Code.
Deployhq
100Deploy code, manage servers, and automate infrastructure via the DeployHQ CLI
Clickhouse Architecture Advisor
79Workload-aware architecture decision skill for ClickHouse — ingestion strategies, partitioning, enrichment, upsert patterns, and pre-aggregation with explicit official/derived/field provenance