# ClickHouse Architecture Advisor

> Gives your agent ClickHouse's decision frameworks for ingestion, partitioning, enrichment, upserts and rollups, matched to your workload.

ClickHouse's own architecture advisor, an agent skill packaged as a Claude plugin in ClickHouse's agent-skills marketplace. It teaches your agent to design ClickHouse systems around your workload: it sizes up the workload first, works through ClickHouse's decision frameworks, and labels every recommendation by where it comes from. It complements ClickHouse's Best Practices skill, which checks schema and query rules; this one answers when, why and how.

What it helps you decide
- How to load data: direct batched inserts, async inserts, the Kafka engine with a materialized view, or a queue in front of ClickHouse
- How to partition time-series data for retention and TTL, including when not to partition yet
- How to enrich events: a dictionary, a runtime JOIN, denormalized columns or a refreshable materialized view
- How to handle late-arriving data and mutable state with append-only tables, ReplacingMergeTree or CollapsingMergeTree instead of heavy mutations
- When to pre-aggregate with incremental or refreshable materialized views, and when to query raw tables

How it answers
- It first identifies the workload: observability, security and SIEM, product analytics, IoT and telemetry, market data, or mixed OLAP with point lookups.
- Each recommendation says what, why and how, links ClickHouse's docs, and gives a confidence level and a way to validate it: SQL, a metric or a smoke test.
- Every recommendation is labelled official (backed by ClickHouse's docs), derived (follows from documented ClickHouse behaviour) or field (experience-based, flagged as a heuristic).
- It comes with worked examples for high-throughput observability, SIEM, and real-time market surveillance.

How to install it
In Claude Code, run /plugin marketplace add ClickHouse/agent-skills, then /plugin install clickhouse-architecture-advisor@clickhouse-agent-skills. The skill also installs with npx skills add clickhouse/agent-skills, which offers ClickHouse's other skills too, or with clickhousectl skills.

Good to know
- It's guidance only: it doesn't connect to your database or run queries.
- It works with open-source ClickHouse and ClickHouse Cloud, and targets ClickHouse 24.1 and later.

- Type: Plugin
- Made by: clickhouse
- Category: Databases
- Formats: Claude plugins
- Version: 0.1.0
- Website: https://github.com/ClickHouse/agent-skills/tree/main/skills/clickhouse-architecture-advisor
- Source: https://github.com/clickhouse/agent-skills/tree/HEAD/skills/clickhouse-architecture-advisor
- Page: https://pluginboard.ai/plugins/clickhouse-architecture-advisor

## Works with

- Claude
- GitHub Copilot
- Claude Code
- OpenClaw

## Install

### Claude

In Claude (web or desktop): Customize → Plugins → Add → Add marketplace, enter ClickHouse/agent-skills, then add clickhouse-architecture-advisor

### Claude Code

In Claude Code:

```text
/plugin marketplace add ClickHouse/agent-skills
/plugin install clickhouse-architecture-advisor@clickhouse-agent-skills
```

---
From Pluginboard (https://pluginboard.ai).
