CL

clickhouse-architecture-advisor

Provides workload-specific architectural design and best practices for ClickHouse databases.

Install

mkdir -p .claude/skills/clickhouse-architecture-advisor && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16016" && unzip -o skill.zip -d .claude/skills/clickhouse-architecture-advisor && rm skill.zip

Installs to .claude/skills/clickhouse-architecture-advisor

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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.
263 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Identify workload shape for ClickHouse architecture decisions
  • Read relevant decision rule files
  • Attach official documentation links to recommendations
  • Classify recommendations as official, derived, or field
  • Explain tradeoffs and identify operating bottlenecks
  • Provide target architecture patterns

How it works

The skill identifies the workload shape, reads decision rules, and attaches official documentation to classify recommendations as official, derived, or field.

Inputs & outputs

You give it
Workload shape (e.g., observability, security/SIEM, product analytics, IoT/telemetry, market data/financial services, mixed OLAP with point-lookups)
You get back
Workload summary, key decisions, and recommendations with category, confidence, source, and validation

When to use clickhouse-architecture-advisor

  • Designing ClickHouse architecture
  • Optimizing data ingestion
  • Selecting modeling patterns for analytics
  • Tuning performance

About this skill

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.

Limitations

  • Official documentation remains the source of truth
  • Field guidance must never be presented as official guidance
  • Recommendations must be explicitly uncertain if the skill is uncertain

How it compares

This skill adds workload-aware architecture decisioning on top of best practices by providing decision frameworks and explicit provenance labels, unlike generic advice.

Compared to similar skills

clickhouse-architecture-advisor side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
clickhouse-architecture-advisor (this skill)03moNo flagsIntermediate
sql-optimization-patterns642moNo flagsAdvanced
redis-inspect66moReviewBeginner
supabase-postgres-best-practices46moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

sql-optimization-patterns

wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

64220

redis-inspect

civitai

Inspect Redis cache keys, values, and TTLs for debugging. Supports both main cache and system cache. Use for debugging cache issues, checking cached values, and monitoring cache state. Read-only by default.

646

supabase-postgres-best-practices

davila7

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

439

supabase-performance-tuning

jeremylongshore

Optimize Supabase API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Supabase integrations. Trigger with phrases like "supabase performance", "optimize supabase", "supabase latency", "supabase caching", "supabase slow", "supabase batch".

416

batch-processing

dadbodgeoff

Collect-then-batch pattern for database operations achieving 30-40% throughput improvement. Includes graceful fallback to sequential processing when batch operations fail.

28

analyzing-query-performance

jeremylongshore

Execute use when you need to work with query optimization. This skill provides query performance analysis with comprehensive guidance and automation. Trigger with phrases like "optimize queries", "analyze performance", or "improve query speed".

18

Search skills

Search the agent skills registry