clickhouse-architecture-advisor
This skill guides agents through ClickHouse architecture decisions for specific workloads like observability, SIEM, and financial services.
Identity proven by GitHub's verified organisation badge (ClickHouse)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- Apache-2.0 (permissive)
- Pin
- 356a8c1pinned Oct 9, 2026
- Context cost
- about 690 tokenswhen the skill loads
- GitHub stars
- 544on clickhouse/agent-skills
- Scripts
- None found
What it does
“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.”
Generated summary from the skill's own text
This skill guides agents through ClickHouse architecture decisions for specific workloads like observability, SIEM, and financial services. It applies decision frameworks from rule files, links to official documentation, and classifies recommendations by provenance so agents can distinguish official guidance from field experience.
When to use it
- Designing ClickHouse ingestion strategies for high-volume data streams
- Choosing partitioning and retention patterns for time-series data
- Planning enrichment and join operations between tables
- Handling late-arriving data or mutable state requirements
When not to
- When ClickHouse official documentation directly answers the question
- For general SQL query optimization unrelated to system design
- When workload characteristics are not yet defined or unclear
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add clickhouse/agent-skills --skill clickhouse-architecture-advisorInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install clickhouse/agent-skills clickhouse-architecture-advisor@356a8c1b9a7392adb389a132f5ad3fec38532a03Installs the commit we checked (356a8c1).
Copy by hand
Download the folder at 356a8c1 and put it in .claude/skills/clickhouse-architecture-advisor for Claude Code and in .agents/skills/clickhouse-architecture-advisor for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install clickhouse@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Claude Code plugin
/plugin install clickhouse-best-practices@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "clickhouse-architecture-advisor" by ClickHouse. Source, pinned to commit 356a8c1b9a7392adb389a132f5ad3fec38532a03: https://github.com/clickhouse/agent-skills/tree/356a8c1b9a7392adb389a132f5ad3fec38532a03/skills/clickhouse-architecture-advisor 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/clickhouse-architecture-advisor/ for Claude Code and .agents/skills/clickhouse-architecture-advisor/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/clickhouse/clickhouse-architecture-advisor
SKILL.md at the pin
--- 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" --- # ClickHouse Architecture Advisor 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. ## Required behavior Before producing recommendations: 1. Identify the workload shape - observability - security / SIEM - product analytics - IoT / telemetry - market data / financial services - mixed OLAP with point-lookups 2. Read the relevant decision rule files in `rules/` 3. Use `mappings/doc_links.yaml` to attach official documentation 4. Classify every recommendation as: - `official` - `derived` - `field` 5. Never present field guidance as official guidance 6. If a recommendation is uncertain, say so explicitly ## Provenance rules ### `official` Use this when the recommendation is directly backed by official docs. ### `derived` Use this when the recommendation is not stated verbatim in docs but follows logically from documented ClickHouse behavior. ### `field` Use this only for experience-based guidance that may be situational. When using `field`, include: - a disclaimer that the advice is heuristic - a relevant official doc if one partially applies - the reason the advice depends on workload context ## Read these rule files by scenario ### Real-time ingestion design 1. `rules/decision-ingestion-strategy.md` 2. `rules/decision-real-time-preaggregation.md` 3. Relevant best-practices insert rules ### Time-series and retention design 1. `rules/decision-partitioning-timeseries.md` 2. Relevant best-practices schema partition rules ### Enrichment and dimension lookups 1. `rules/decision-join-enrichment.md` 2. Relevant best-practices query join rules ### Mutable state / late-arriving events 1. `rules/decision-late-arriving-upserts.md` 2. Relevant best-practices mutation avoidance rules ## Output format Structure responses like this: ```markdown ## 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 ``` ## Architecture-specific guidance Prefer decision frameworks over generic advice. Good responses should: - explain tradeoffs - identify the likely operating bottleneck - separate immediate actions from structural redesign - provide target architecture patterns, not just isolated settings ## Full reference See `AGENTS.md` for the compiled version and `examples/` for sample outputs.
From clickhouse/agent-skills at 356a8c1, shown as plain text under its license: Apache-2.0 (permissive). The license text is in skills/clickhouse-architecture-advisor/SKILL.md.
View SKILL.md on GitHub at 356a8c1Files
- SKILL.md3.2 KB · edaba60acfe9
- AGENTS.md2.3 KB · e4363743c1e8
- README.md2.1 KB · b53ff729ab83
- examples/
- README.md500 B · 33d8e76d1c48
- finserv-market-surveillance.md3.1 KB · 8c8aec93d469
- observability-high-throughput.md2.7 KB · ea883b81183d
- siem-security-analytics.md1.9 KB · b0d552fc58a6
- mappings/
- doc_links.yaml1.1 KB · 911ff03e79ce
- metadata.json919 B · fb6666aeebc0
- rules/
- decision-ingestion-strategy.md2.3 KB · c96a56222cf6
- decision-join-enrichment.md2.1 KB · ba810c72dfda
- decision-late-arriving-upserts.md2.0 KB · ee5636cad40d
- decision-partitioning-timeseries.md2.1 KB · 0dd428fa071a
- decision-real-time-preaggregation.md2.0 KB · 7831822d1b2e
- schemas/
- recommendation_schema.yaml452 B · cdf27b3996d8
15 files, 29 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 356a8c1More from ClickHouse
chdb-datastore
This skill enables working with tabular data using a pandas-compatible API backed by ClickHouse for faster execution.
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.2K tokens · pinned 6 days ago
chdb-sql
The skill enables running ClickHouse SQL queries on local files (parquet, csv, json), remote databases (Postgres, MySQL, MongoDB, ClickHouse Cloud), and cloud…
Contains scripts
Claude Code, Codex, Cursor +3 · about 960 tokens · pinned 6 days ago
clickhouse-best-practices
This skill provides 31 ClickHouse best practices rules covering schema design, query optimization, data ingestion, and agent connectivity.
Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago
clickhouse-js-node-rowbinary
This skill generates TypeScript/JavaScript code to read and write ClickHouse RowBinary format streams in Node.js.
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.2K tokens · pinned 6 days ago
clickhouse-js-node-troubleshooting
Diagnose and fix issues with the ClickHouse Node.js client (@clickhouse/client) running in Node.js environments.
Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago
clickhouse-managed-postgres-rca
This skill diagnoses performance problems on ClickHouse-managed Postgres instances by scraping Prometheus metrics and querying the Slow Query Patterns API to…
Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago
Related in Data and databases
infra-clickhouse
Sets up and manages ClickHouse databases using clickhousectl CLI for local development or production deployment on ClickHouse Cloud.
by ClickHouseOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 510 tokens · pinned 6 days ago
infra-postgres
This skill sets up and manages Postgres databases using the clickhousectl CLI.
by ClickHouseOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 570 tokens · pinned 6 days ago
clickhouse-js-node-coding
Write Node.js application code using the ClickHouse JavaScript client (@clickhouse/client).
by ClickHouseOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.7K tokens · pinned 6 days ago
clickhouse-js-node-rowbinary
This skill generates TypeScript/JavaScript code to decode and encode ClickHouse RowBinary wire format streams in Node.js.
by ClickHouseOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.2K tokens · pinned 6 days ago
clickhouse-js-node-troubleshooting
Diagnoses and resolves issues with the ClickHouse Node.js client (@clickhouse/client) in Node.js environments.
by ClickHouseOfficial publisher
Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago
clickhouse-best-practices
This skill provides 31 ClickHouse best practices rules spanning schema design, query optimization, data ingestion, and agent connectivity.
by ClickHouseOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago