agentleFS
cloudnative-cocloudnative-co/claude-code-starter-kit/skills/clickhouse-io/SKILL.md

clickhouse-io

Skill153 starsChanged 8 months agoMITView on GitHub

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use continuous-learning-v2, iterative-retrieval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mstuder-slalomSkill

    continuous-learning-v2

    Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    Also in 7 projects that use this

  • Microsoft AzureSkill

    iterative-retrieval

    Max-3-cycle protocol for agent sub-tasks with WHY context and coordinator validation. Use when spawning sub-agents to complete scoped work.

    Also in 7 projects that use this

  • mstuder-slalomSkill

    springboot-verification

    Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.

    Also in 4 projects that use this

  • nek1987Skill

    postgres-patterns

    PostgreSQL patterns for reviewing migrations and writing efficient queries. Use when reviewing Alembic migrations, optimizing queries, or debugging database issues.

    Also in 7 projects that use this

  • yanhaoluo0Skill

    java-coding-standards

    阿里巴巴Java开发手册编程规约,包含命名风格、常量定义、代码格式、OOP规约、日期时间、集合处理、并发处理、控制语句、注释规约等。Use when writing Java code, reviewing code, or following Alibaba Java coding standards.

    Also in 4 projects that use this

  • AshfaqbsSkill

    springboot-tdd

    Test-driven development for Spring Boot using JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo. Use when adding features, fixing bugs, or refactoring.

    Also in 3 projects that use this

  • +6 more from mstuder-slalom

The file

Files
SKILL.md

ClickHouse Analytics Patterns

ClickHouse is a column-oriented DBMS for OLAP, optimized for fast analytical queries on large datasets. Key strengths: columnar storage, compression, parallel execution, distributed queries, real-time analytics.

Reference Files

FileContents
references/table-design.mdMergeTree engine types, table creation patterns, partitioning, ordering keys, data type selection
references/query-optimization.mdFiltering best practices, aggregations, window functions, materialized views, performance monitoring
references/data-pipeline.mdBulk/streaming insert, ETL/CDC patterns, time series, funnel, cohort, and retention query templates

Engine Selection Guide

EngineUse WhenTrade-off
MergeTreeDefault for most tablesNo dedup or pre-aggregation
ReplacingMergeTreeData has duplicates from multiple sourcesDedup only on merge, not query time
AggregatingMergeTreePre-computed rollups (hourly/daily stats)Requires *State/*Merge function pairs

Core Rules

  • Batch inserts -- never insert row-by-row
  • Specify columns -- avoid SELECT *
  • Filter on indexed columns first -- match ORDER BY key order
  • Denormalize -- minimize JOINs for analytical tables
  • Leverage materialized views -- for real-time aggregations

ClickHouse excels at analytical workloads. Design tables for your query patterns, batch inserts, and leverage materialized views for real-time aggregations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.