clickhouse-architecture-advisor

MUSS verwendet werden, wenn ClickHouse-Architekturen entworfen, zwischen Aufnahme- oder Modellierungsmustern gewählt oder Best Practices in workloadspezifische Systeme übersetzt werden…

npx skills add https://github.com/clickhouse/agent-skills --skill clickhouse-architecture-advisor

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:

## 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.

Mehr Skills von clickhouse

chdb-sql
clickhouse
Führen Sie ClickHouse SQL direkt in Python aus – kein Server erforderlich. Abfragen von lokalen Dateien, entfernten Datenbanken und Cloud-Speicher mit der vollen Leistung von ClickHouse SQL.
official
chdb-datastore
clickhouse
DataStore ist ein fauler, ClickHouse-gestützter pandas-Ersatz. Ihr vorhandener pandas-Code funktioniert unverändert – aber Operationen werden zu optimiertem SQL kompiliert und nur ausgeführt, wenn Ergebnisse benötigt werden (z. B. print(), len(), Iteration).
official
clickhouse-best-practices
clickhouse
28 ClickHouse-Best-Practices-Regeln, organisiert nach Schema-Design, Query-Optimierung und Datenaufnahmestrategie. Deckt drei kritische Bereiche ab: Primärschlüssel- und Datentypauswahl (unveränderliche Designentscheidungen), JOIN- und Query-Optimierung sowie Insert-Batching mit Vermeidung von Mutationen. Enthält 28 nach Auswirkung priorisierte Regeln, wobei Schema-Design- und Query-Optimierungsregeln aufgrund von ClickHouses spaltenorientiertem Speicher und Sparse-Index-Mechanik als KRITISCH markiert sind. Bietet strukturierte Überprüfungsverfahren für...
official
clickhousectl-cloud-deploy
clickhouse
Verwenden, wenn ein Benutzer ClickHouse in der Cloud bereitstellen, in Produktion gehen, ClickHouse Cloud nutzen, einen verwalteten ClickHouse-Dienst hosten oder von einer lokalen Umgebung migrieren möchte…
official
clickhousectl-local-dev
clickhouse
Verwenden, wenn ein Benutzer eine Anwendung mit ClickHouse erstellen, eine lokale ClickHouse-Entwicklungsumgebung einrichten, ClickHouse installieren, einen lokalen Server erstellen möchte,…
official
setup
clickhouse
Führt Benutzer durch die Einrichtung der ClickHouse MCP-Serververbindung, die mit diesem Plugin gebündelt ist. Verwenden Sie dies, wenn der Benutzer das Plugin zum ersten Mal installiert oder Probleme hat…
official
clickhouse-js-node-coding
clickhouse
Referenz: https://clickhouse.com/docs/integrations/javascript
official
clickhouse-js-node-troubleshooting
clickhouse
Referenz: https://clickhouse.com/docs/integrations/javascript
official