chdb-datastore
Use when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to…
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.
$ npx -y skills add clickhouse/agent-skills --skill clickhouse-architecture-advisor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/clickhouse-architecture-advisorContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: clickhouse-architecture-advisor description: 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. license: Apache-2.0 metadata: author: ClickHouse Inc version: "0.1.0"
This skill adds workload-aware architecture decisioning on top of `clickhouse-best-practices`.
> **Official docs remain the source of truth.** > This skill must always prefer official ClickHouse documentation when available.
Before producing recommendations:
1. Identify the workload shape
2. Read the relevant decision rule files in `rules/` 3. Use `mappings/doc_links.yaml` to attach official documentation 4. Classify every recommendation as:
5. Never present field guidance as official guidance 6. If a recommendation is uncertain, say so explicitly
Use this when the recommendation is directly backed by official docs.
Use this when the recommendation is not stated verbatim in docs but follows logically from documented ClickHouse behavior.
Use this only for experience-based guidance that may be situational. When using `field`, include:
1. `rules/decision-ingestion-strategy.md` 2. `rules/decision-real-time-preaggregation.md` 3. Relevant best-practices insert rules
1. `rules/decision-partitioning-timeseries.md` 2. Relevant best-practices schema partition rules
1. `rules/decision-join-enrichment.md` 2. Relevant best-practices query join rules
1. `rules/decision-late-arriving-upserts.md` 2. Relevant best-practices mutation avoidance rules
Structure responses like this:
## Workload Summary - workload: - latency target: - data shape: - primary query patterns: - operational constraints: ## Key Decisions - ... - ... ## Recommendations ### <Recommendation title> **What** ... **Why** ... **How** ... **Category** official | derived | field **Confidence** high | medium | heuristic **Source** - doc link(s) **Validation** - concrete SQL, metric, or smoke test
Prefer decision frameworks over generic advice. Good responses should:
See `AGENTS.md` for the compiled version and `examples/` for sample outputs.
The official Agent Skills for ClickHouse. These skills help LLMs and agents to adopt best practices when working with ClickHouse and chdb (in-process ClickHouse for Python). You can use these skills with open-source ClickHouse and managed ClickHouse Cloud.
Repo: clickhouse/agent-skills
Use when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to…
Use when the user wants to run SQL — especially analytical SQL — on local files…
MUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 31 rules…
Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse/client`).…
Generate TypeScript/JavaScript code that reads/decodes AND writes/encodes ClickHouse…
Troubleshoot and resolve common issues with the ClickHouse Node.js client…