All skills
clickhouse avatar

/clickhouse-architecture-advisor

@5e162d6 official
by clickhouseclickhouse/agent-skills543 stars
39

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.

Use this Skill: https://skilld.dev/gh/clickhouse/agent-skills/clickhouse-architecture-advisor

This session only. Nothing lands on disk.

README.md

≈520 tokens on demand. Your agent reads this file only when SKILL.md points to it.

ClickHouse Architecture Advisor

Agent skill providing workload-aware architecture guidance for ClickHouse.

This skill is intended to complement clickhouse-best-practices, not replace it.

What it adds

The existing best-practices skill is rule-first and documentation-first. This skill adds:

  • workload classification
  • decision frameworks
  • architecture tradeoff guidance
  • broader system design suggestions
  • explicit separation of doc-backed guidance from field heuristics

Recommendation categories

Every recommendation must be labeled as exactly one of:

  • official — directly backed by official ClickHouse documentation
  • derived — reasoned from official documentation and core ClickHouse behavior
  • field — practice-based guidance from field experience, explicitly flagged as non-authoritative

When this skill should activate

Use this skill when the user is:

  • designing a real-time architecture
  • choosing between ingestion patterns
  • deciding whether to use joins, dictionaries, denormalization, or MVs
  • planning for late-arriving data or upserts
  • reasoning about time-series modeling
  • building a POC or workshop design
  • asking for “what should the architecture look like?”

Relationship to clickhouse-best-practices

Use clickhouse-best-practices for:

  • concrete schema and query rule checks
  • low-level design validation
  • docs-backed enforcement

Use this skill for:

  • when / why / how decisioning
  • architecture shape
  • system-level tradeoffs
  • converting best practices into a target design

Included decision frameworks

  • ingestion strategy for throughput and latency
  • time-series partitioning and retention design
  • enrichment path selection: JOIN vs dictionary vs denormalization
  • late-arriving data and mutable-state patterns
  • real-time pre-aggregation with incremental MVs

Output contract

Responses should typically include:

  1. workload summary
  2. key decisions
  3. recommendations with provenance labels
  4. suggested target architecture
  5. example DDL and query patterns
  6. caveats and validation steps

Source: SKILL.md on GitHub

No alerts17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The skill is a safe architectural advisor for ClickHouse workloads. It provides structured decision frameworks for ingestion, partitioning, and schema design based on official documentation. No malicious patterns, data exfiltration, or dangerous execution triggers were detected.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5e162d6. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 6 months ago
metadata
{
  "author": "ClickHouse Inc",
  "version": "0.1.0"
}
  • clickhouse
  • architecture
  • olap
  • ingestion
  • time-series
  • schema-design
  • partitioning
  • joins
  • telemetry

README badge

README badge for clickhouse/agent-skills/clickhouse-architecture-advisor

Guides ClickHouse architecture decisions for specific workloads—observability, analytics, IoT, financial services—by mapping workload shape to ingestion, partitioning, and join strategies with official documentation links. Classifies recommendations by provenance (official, derived, field) to separate documented behavior from heuristic field guidance.

Generated from the current SKILL.md.

Does this skill replace the clickhouse-best-practices skill?
No. This skill complements clickhouse-best-practices by adding workload-aware decision frameworks and provenance labels. Official documentation remains the source of truth for both.
What workload types does this skill cover?
Observability, security/SIEM, product analytics, IoT/telemetry, market data/financial services, and mixed OLAP with point-lookups. Each has scenario-specific rule files for ingestion, time-series retention, enrichment, and late-arriving events.
How does this skill distinguish between official, derived, and field guidance?
Official recommendations are directly from ClickHouse docs. Derived recommendations follow logically from documented behavior. Field recommendations are experience-based and include a disclaimer that they are heuristic and workload-dependent.
What should I do if a recommendation is uncertain?
The skill explicitly states when a recommendation is uncertain rather than presenting it as confident guidance.

Generated from the current SKILL.md. These answers refresh after source changes.