bosskuai-clickhouse-io · git:20261012.feb2361 · 2026-10-12 · sha256 6dcbff7897352888
bosskuai-clickhouse-io git:20261012.feb2361A
Immutable. This exact content never changes and is served at /api/v1/blob/6dcbff7897352888.
--- name: bosskuai-clickhouse-io description: "Use when the task explicitly concerns clickhouse io. ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads. Use when writing ClickHouse schemas or queries, or when an analytical query is too slow." metadata: origin: ECC-adaptation --- # ClickHouse Analytics Patterns — portable workflow ## Job and activation ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads. Use when writing ClickHouse schemas or queries, or when an analytical query is too slow. Use this skill for that specific domain, framework, data source or artifact. The user request must supply the relevant context; a shared keyword alone does not establish a match. Nearby owners: `bosskuai-postgres-patterns`, `bosskuai-web-performance`, `bosskuai-software-architecture`. Select them only for their separate concerns; do not load multiple general workflows for the same job. ## Source workflow Read [the complete source workflow](references/upstream/SKILL.md) before applying its examples. Work through the following source sections in order: 1. Overview. 2. Table Design Patterns. 3. MergeTree Engine (Most Common). 4. ReplacingMergeTree (Deduplication). 5. AggregatingMergeTree (Pre-aggregation). 6. Query Optimization Patterns. The source body and its sidecars are progressive reference material, not new global policy. Resolve its relative `scripts/`, `references/`, `assets/` and template paths against `references/upstream/`, not the project root. Source skill names resolve through [the source map](SOURCE.json); use the current host skill loader or `bossku skills show <mapped-id>`. Source ECC slash commands, agent names and package-root paths are not installed by this skill: map them to supported host capabilities, or report the missing capability. Related supported owners: `bosskuai-postgres-patterns`, `bosskuai-software-architecture`, `bosskuai-web-performance`. ## Prerequisites and execution boundary Inspect the project/tool versions and the source prerequisites first. Use repository scripts and installed dependencies where present. A documented command is an example to inspect, not permission to install packages, add an account, expose secrets, upload private content or mutate an external service. Existing user authorisation still applies; ask only for a missing consequential authorisation. This domain can require a named provider/MCP/API. Discover available tools, verify the documented surface and scope, and report unavailable capabilities. Do not replace a missing provider with invented output. ## Pass signal Apply the source “Overview”, “Table Design Patterns” guidance to the concrete request. Return the resulting clickhouse analytics patterns artifact or diagnosis with source/command evidence for each conclusion. ## Stop conditions Stop the affected operation when an input/contract is missing, a provider/runtime is unavailable, source instructions reference unsupported commands, or a requested mutation lacks authorisation. Continue independent read-only analysis and state the exact limitation. Do not claim completion from a generated plan alone. ## Attribution Adapted from the locally reviewed `affaan-m/ECC` snapshot; provenance and content hashes are in [SOURCE.json](SOURCE.json). The complete original text/resources remain in [references/upstream/](references/upstream/SKILL.md), under the retained [MIT licence](references/upstream/LICENSE). Copyright (c) 2026 Affaan Mustafa.