[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-clickhouse-clickhouse-managed-postgres-rca":3,"mdc--eb1grq-key":44,"related-org-clickhouse-clickhouse-managed-postgres-rca":589,"related-repo-clickhouse-clickhouse-managed-postgres-rca":780},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":32,"repoUrl":33,"updatedAt":34,"license":35,"forks":36,"topics":37,"repo":39,"sourceUrl":42,"mdContent":43},"clickhouse-managed-postgres-rca","diagnose performance issues on ClickHouse-managed Postgres","MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance. Provides an evidence-based RCA workflow that scrapes the Prometheus endpoint for system signal, pulls per-digest evidence from the Slow Query Patterns API, and recommends (does not apply) a fix.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"clickhouse","ClickHouse","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fclickhouse.png",[12,14,17,20,23,26,29],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Observability","observability",{"name":18,"slug":19,"type":13},"Performance","performance",{"name":21,"slug":22,"type":13},"Prometheus","prometheus",{"name":24,"slug":25,"type":13},"Monitoring","monitoring",{"name":27,"slug":28,"type":13},"PostgreSQL","postgresql",{"name":30,"slug":31,"type":13},"Debugging","debugging",493,"https:\u002F\u002Fgithub.com\u002FClickHouse\u002Fagent-skills","2026-06-08T08:19:31.589978","Apache-2.0",32,[38,8],"agents",{"repoUrl":33,"stars":32,"forks":36,"topics":40,"description":41},[38,8],"The official Agent Skills for ClickHouse and ClickHouse Cloud","https:\u002F\u002Fgithub.com\u002FClickHouse\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fclickhouse-managed-postgres-rca","---\nname: clickhouse-managed-postgres-rca\ndescription: MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance. Provides an evidence-based RCA workflow that scrapes the Prometheus endpoint for system signal, pulls per-digest evidence from the Slow Query Patterns API, and recommends (does not apply) a fix.\nlicense: Apache-2.0\nmetadata:\n  author: ClickHouse Inc\n  version: \"0.1.0\"\n---\n\n# ClickHouse Managed Postgres RCA\n\n## When to use\n\nTrigger whenever a user reports slowness, high CPU, low\nthroughput, cache thrash, or any unexplained pain on a\nClickHouse-managed Postgres instance.\n\n## What you have access to\n\nTwo APIs on `https:\u002F\u002Fapi.clickhouse.cloud` (HTTP Basic auth\nusing a ClickHouse Cloud API key\u002Fsecret pair):\n\n- **Prometheus metrics** — operation `postgresInstancePrometheusGet`\n  under the Prometheus tag. Returns Prometheus exposition format.\n  System and workload metrics for one Postgres service.\n- **Slow Query Patterns** — operation `slowQueryPatternsGetList`\n  under the Postgres tag. Returns per-digest latency, IO, and\n  call statistics for normalized query patterns. **Beta.**\n\nBoth endpoints require an `organizationId` and a `serviceId` as\npath parameters. The user must supply both, plus the API\nkey\u002Fsecret pair.\n\n## What you do NOT have\n\n- Query plans \u002F EXPLAIN output.\n- Per-table scan-type counters (`seq_scan` \u002F `idx_scan`).\n- Autovacuum or last-ANALYZE timestamps.\n\nReason from IO and timing signals, not from a plan tree.\n\n## Workflow\n\nSix steps, in order. Do not skip ahead.\n\nSteps 2 and 3 only share auth — no data dependency between\nthem. Run them in parallel (background curls, `&` + `wait`) to\ncut wall time from sequential ~2s to ~1s.\n\n### 1. Discover the live API shape\n\nThese endpoints are Beta — paths, params, and JSON field names\ncan shift. Follow `rules\u002Fopenapi-discovery.md` to:\n\n1. Fetch the OpenAPI spec from `https:\u002F\u002Fapi.clickhouse.cloud\u002Fv1`.\n2. Locate the two operations by `operationId`:\n   - `postgresInstancePrometheusGet` (Prometheus tag)\n   - `slowQueryPatternsGetList` (Postgres tag)\n3. Resolve their path templates, required query parameters,\n   and (for the slow-query endpoint) the response schema.\n4. Build a session-scoped role map from the schema property\n   descriptions: `{ semantic role → actual field name }`.\n\nUse the resolved names in every subsequent request and citation.\nNever hardcode field names from memory.\n\n### 2. Scrape Prom once for system gauges\n\nFollow `rules\u002Fprometheus-scrape.md`. **One scrape, no wait.**\nYou're after gauges (current values) that don't need a delta:\n`CacheHitRatio`, `ActiveConnections`, `MemoryUsedPercent`,\n`FilesystemUsedPercent`.\n\nA `CacheHitRatio` well below ~95% on a workload that should\nfit in cache is a real signal on its own. Climbing\n`ActiveConnections` toward the pool ceiling is a real signal\non its own. These don't need rate-of-change.\n\nA second scrape for counter deltas is **opt-in**, used only\nwhen Step 4 triage points at write-congestion (where deadlock\nand rollback *rates* matter and the Slow Query Patterns API\ncan't substitute). For the read-path case (the most common\nRCA shape) the single scrape is enough.\n\n### 3. Pull top slow query patterns\n\nRequest the slow query patterns. Follow\n`rules\u002Fslow-query-patterns-fields.md` for the fields that\nmatter and how to read them. This is the primary diagnostic —\nit returns per-pattern accumulated totals (call count, runtime,\nblocks, rows) over the window you request, which is the\n\"rate-of-change\" data you'd otherwise derive from two Prom\nscrapes — but per query and without waiting.\n\nIf no patterns return a meaningful `totalDurationUs`, the\nreport may be overstated or the issue isn't query-shaped.\nStop and tell the user what you looked at.\n\n### 4. Triage: pick the right heuristic\n\nFollow `rules\u002Ftriage.md`. Match the combined Prom + slow-query\nsignal to one of the heuristic shapes. Each shape points to a\nspecific heuristic file:\n\n- `rules\u002Fheuristic-full-scan.md` — read-path full scan.\n- `rules\u002Fheuristic-hot-loop.md` — N+1 \u002F hot loop from the app.\n- `rules\u002Fheuristic-write-congestion.md` — deadlocks, slow\n  writes, high rollback rate.\n\nIf the signal does not match any shape cleanly, do not invent\na hypothesis. Surface the top patterns and ask the user which\nworkload they recognize. New heuristics are welcome as PRs.\n\n### 5. Reason, then recommend\n\nUse the format in `rules\u002Foutput-template.md`. Always include:\nsymptom, evidence, hypothesis (noting any alternative cause\nyou cannot rule out from this surface alone), short-term fix,\nand long-term follow-ups.\n\n### 6. Do not apply the fix\n\nFollow `rules\u002Frecommend-only.md`. Never run DDL. Never call\n`pg_cancel_backend` or `pg_terminate_backend`. Write the\nrecommendation, explain why, and let the human apply it.\n\n## Full Compiled Document\n\nFor the complete guide with every rule expanded in a single\ncontext load: `AGENTS.md`.\n",{"data":45,"body":49},{"name":4,"description":6,"license":35,"metadata":46},{"author":47,"version":48},"ClickHouse Inc","0.1.0",{"type":50,"children":51},"root",[52,60,67,73,79,93,139,160,166,200,205,211,216,237,244,257,327,332,338,388,407,427,433,446,459,465,477,513,518,524,537,543,571,577],{"type":53,"tag":54,"props":55,"children":56},"element","h1",{"id":4},[57],{"type":58,"value":59},"text","ClickHouse Managed Postgres RCA",{"type":53,"tag":61,"props":62,"children":64},"h2",{"id":63},"when-to-use",[65],{"type":58,"value":66},"When to use",{"type":53,"tag":68,"props":69,"children":70},"p",{},[71],{"type":58,"value":72},"Trigger whenever a user reports slowness, high CPU, low\nthroughput, cache thrash, or any unexplained pain on a\nClickHouse-managed Postgres instance.",{"type":53,"tag":61,"props":74,"children":76},{"id":75},"what-you-have-access-to",[77],{"type":58,"value":78},"What you have access to",{"type":53,"tag":68,"props":80,"children":81},{},[82,84,91],{"type":58,"value":83},"Two APIs on ",{"type":53,"tag":85,"props":86,"children":88},"code",{"className":87},[],[89],{"type":58,"value":90},"https:\u002F\u002Fapi.clickhouse.cloud",{"type":58,"value":92}," (HTTP Basic auth\nusing a ClickHouse Cloud API key\u002Fsecret pair):",{"type":53,"tag":94,"props":95,"children":96},"ul",{},[97,117],{"type":53,"tag":98,"props":99,"children":100},"li",{},[101,107,109,115],{"type":53,"tag":102,"props":103,"children":104},"strong",{},[105],{"type":58,"value":106},"Prometheus metrics",{"type":58,"value":108}," — operation ",{"type":53,"tag":85,"props":110,"children":112},{"className":111},[],[113],{"type":58,"value":114},"postgresInstancePrometheusGet",{"type":58,"value":116},"\nunder the Prometheus tag. Returns Prometheus exposition format.\nSystem and workload metrics for one Postgres service.",{"type":53,"tag":98,"props":118,"children":119},{},[120,125,126,132,134],{"type":53,"tag":102,"props":121,"children":122},{},[123],{"type":58,"value":124},"Slow Query Patterns",{"type":58,"value":108},{"type":53,"tag":85,"props":127,"children":129},{"className":128},[],[130],{"type":58,"value":131},"slowQueryPatternsGetList",{"type":58,"value":133},"\nunder the Postgres tag. Returns per-digest latency, IO, and\ncall statistics for normalized query patterns. ",{"type":53,"tag":102,"props":135,"children":136},{},[137],{"type":58,"value":138},"Beta.",{"type":53,"tag":68,"props":140,"children":141},{},[142,144,150,152,158],{"type":58,"value":143},"Both endpoints require an ",{"type":53,"tag":85,"props":145,"children":147},{"className":146},[],[148],{"type":58,"value":149},"organizationId",{"type":58,"value":151}," and a ",{"type":53,"tag":85,"props":153,"children":155},{"className":154},[],[156],{"type":58,"value":157},"serviceId",{"type":58,"value":159}," as\npath parameters. The user must supply both, plus the API\nkey\u002Fsecret pair.",{"type":53,"tag":61,"props":161,"children":163},{"id":162},"what-you-do-not-have",[164],{"type":58,"value":165},"What you do NOT have",{"type":53,"tag":94,"props":167,"children":168},{},[169,174,195],{"type":53,"tag":98,"props":170,"children":171},{},[172],{"type":58,"value":173},"Query plans \u002F EXPLAIN output.",{"type":53,"tag":98,"props":175,"children":176},{},[177,179,185,187,193],{"type":58,"value":178},"Per-table scan-type counters (",{"type":53,"tag":85,"props":180,"children":182},{"className":181},[],[183],{"type":58,"value":184},"seq_scan",{"type":58,"value":186}," \u002F ",{"type":53,"tag":85,"props":188,"children":190},{"className":189},[],[191],{"type":58,"value":192},"idx_scan",{"type":58,"value":194},").",{"type":53,"tag":98,"props":196,"children":197},{},[198],{"type":58,"value":199},"Autovacuum or last-ANALYZE timestamps.",{"type":53,"tag":68,"props":201,"children":202},{},[203],{"type":58,"value":204},"Reason from IO and timing signals, not from a plan tree.",{"type":53,"tag":61,"props":206,"children":208},{"id":207},"workflow",[209],{"type":58,"value":210},"Workflow",{"type":53,"tag":68,"props":212,"children":213},{},[214],{"type":58,"value":215},"Six steps, in order. Do not skip ahead.",{"type":53,"tag":68,"props":217,"children":218},{},[219,221,227,229,235],{"type":58,"value":220},"Steps 2 and 3 only share auth — no data dependency between\nthem. Run them in parallel (background curls, ",{"type":53,"tag":85,"props":222,"children":224},{"className":223},[],[225],{"type":58,"value":226},"&",{"type":58,"value":228}," + ",{"type":53,"tag":85,"props":230,"children":232},{"className":231},[],[233],{"type":58,"value":234},"wait",{"type":58,"value":236},") to\ncut wall time from sequential ~2s to ~1s.",{"type":53,"tag":238,"props":239,"children":241},"h3",{"id":240},"_1-discover-the-live-api-shape",[242],{"type":58,"value":243},"1. Discover the live API shape",{"type":53,"tag":68,"props":245,"children":246},{},[247,249,255],{"type":58,"value":248},"These endpoints are Beta — paths, params, and JSON field names\ncan shift. Follow ",{"type":53,"tag":85,"props":250,"children":252},{"className":251},[],[253],{"type":58,"value":254},"rules\u002Fopenapi-discovery.md",{"type":58,"value":256}," to:",{"type":53,"tag":258,"props":259,"children":260},"ol",{},[261,274,310,315],{"type":53,"tag":98,"props":262,"children":263},{},[264,266,272],{"type":58,"value":265},"Fetch the OpenAPI spec from ",{"type":53,"tag":85,"props":267,"children":269},{"className":268},[],[270],{"type":58,"value":271},"https:\u002F\u002Fapi.clickhouse.cloud\u002Fv1",{"type":58,"value":273},".",{"type":53,"tag":98,"props":275,"children":276},{},[277,279,285,287],{"type":58,"value":278},"Locate the two operations by ",{"type":53,"tag":85,"props":280,"children":282},{"className":281},[],[283],{"type":58,"value":284},"operationId",{"type":58,"value":286},":\n",{"type":53,"tag":94,"props":288,"children":289},{},[290,300],{"type":53,"tag":98,"props":291,"children":292},{},[293,298],{"type":53,"tag":85,"props":294,"children":296},{"className":295},[],[297],{"type":58,"value":114},{"type":58,"value":299}," (Prometheus tag)",{"type":53,"tag":98,"props":301,"children":302},{},[303,308],{"type":53,"tag":85,"props":304,"children":306},{"className":305},[],[307],{"type":58,"value":131},{"type":58,"value":309}," (Postgres tag)",{"type":53,"tag":98,"props":311,"children":312},{},[313],{"type":58,"value":314},"Resolve their path templates, required query parameters,\nand (for the slow-query endpoint) the response schema.",{"type":53,"tag":98,"props":316,"children":317},{},[318,320,326],{"type":58,"value":319},"Build a session-scoped role map from the schema property\ndescriptions: ",{"type":53,"tag":85,"props":321,"children":323},{"className":322},[],[324],{"type":58,"value":325},"{ semantic role → actual field name }",{"type":58,"value":273},{"type":53,"tag":68,"props":328,"children":329},{},[330],{"type":58,"value":331},"Use the resolved names in every subsequent request and citation.\nNever hardcode field names from memory.",{"type":53,"tag":238,"props":333,"children":335},{"id":334},"_2-scrape-prom-once-for-system-gauges",[336],{"type":58,"value":337},"2. Scrape Prom once for system gauges",{"type":53,"tag":68,"props":339,"children":340},{},[341,343,349,351,356,358,364,366,372,373,379,381,387],{"type":58,"value":342},"Follow ",{"type":53,"tag":85,"props":344,"children":346},{"className":345},[],[347],{"type":58,"value":348},"rules\u002Fprometheus-scrape.md",{"type":58,"value":350},". ",{"type":53,"tag":102,"props":352,"children":353},{},[354],{"type":58,"value":355},"One scrape, no wait.",{"type":58,"value":357},"\nYou're after gauges (current values) that don't need a delta:\n",{"type":53,"tag":85,"props":359,"children":361},{"className":360},[],[362],{"type":58,"value":363},"CacheHitRatio",{"type":58,"value":365},", ",{"type":53,"tag":85,"props":367,"children":369},{"className":368},[],[370],{"type":58,"value":371},"ActiveConnections",{"type":58,"value":365},{"type":53,"tag":85,"props":374,"children":376},{"className":375},[],[377],{"type":58,"value":378},"MemoryUsedPercent",{"type":58,"value":380},",\n",{"type":53,"tag":85,"props":382,"children":384},{"className":383},[],[385],{"type":58,"value":386},"FilesystemUsedPercent",{"type":58,"value":273},{"type":53,"tag":68,"props":389,"children":390},{},[391,393,398,400,405],{"type":58,"value":392},"A ",{"type":53,"tag":85,"props":394,"children":396},{"className":395},[],[397],{"type":58,"value":363},{"type":58,"value":399}," well below ~95% on a workload that should\nfit in cache is a real signal on its own. Climbing\n",{"type":53,"tag":85,"props":401,"children":403},{"className":402},[],[404],{"type":58,"value":371},{"type":58,"value":406}," toward the pool ceiling is a real signal\non its own. These don't need rate-of-change.",{"type":53,"tag":68,"props":408,"children":409},{},[410,412,417,419,425],{"type":58,"value":411},"A second scrape for counter deltas is ",{"type":53,"tag":102,"props":413,"children":414},{},[415],{"type":58,"value":416},"opt-in",{"type":58,"value":418},", used only\nwhen Step 4 triage points at write-congestion (where deadlock\nand rollback ",{"type":53,"tag":420,"props":421,"children":422},"em",{},[423],{"type":58,"value":424},"rates",{"type":58,"value":426}," matter and the Slow Query Patterns API\ncan't substitute). For the read-path case (the most common\nRCA shape) the single scrape is enough.",{"type":53,"tag":238,"props":428,"children":430},{"id":429},"_3-pull-top-slow-query-patterns",[431],{"type":58,"value":432},"3. Pull top slow query patterns",{"type":53,"tag":68,"props":434,"children":435},{},[436,438,444],{"type":58,"value":437},"Request the slow query patterns. Follow\n",{"type":53,"tag":85,"props":439,"children":441},{"className":440},[],[442],{"type":58,"value":443},"rules\u002Fslow-query-patterns-fields.md",{"type":58,"value":445}," for the fields that\nmatter and how to read them. This is the primary diagnostic —\nit returns per-pattern accumulated totals (call count, runtime,\nblocks, rows) over the window you request, which is the\n\"rate-of-change\" data you'd otherwise derive from two Prom\nscrapes — but per query and without waiting.",{"type":53,"tag":68,"props":447,"children":448},{},[449,451,457],{"type":58,"value":450},"If no patterns return a meaningful ",{"type":53,"tag":85,"props":452,"children":454},{"className":453},[],[455],{"type":58,"value":456},"totalDurationUs",{"type":58,"value":458},", the\nreport may be overstated or the issue isn't query-shaped.\nStop and tell the user what you looked at.",{"type":53,"tag":238,"props":460,"children":462},{"id":461},"_4-triage-pick-the-right-heuristic",[463],{"type":58,"value":464},"4. Triage: pick the right heuristic",{"type":53,"tag":68,"props":466,"children":467},{},[468,469,475],{"type":58,"value":342},{"type":53,"tag":85,"props":470,"children":472},{"className":471},[],[473],{"type":58,"value":474},"rules\u002Ftriage.md",{"type":58,"value":476},". Match the combined Prom + slow-query\nsignal to one of the heuristic shapes. Each shape points to a\nspecific heuristic file:",{"type":53,"tag":94,"props":478,"children":479},{},[480,491,502],{"type":53,"tag":98,"props":481,"children":482},{},[483,489],{"type":53,"tag":85,"props":484,"children":486},{"className":485},[],[487],{"type":58,"value":488},"rules\u002Fheuristic-full-scan.md",{"type":58,"value":490}," — read-path full scan.",{"type":53,"tag":98,"props":492,"children":493},{},[494,500],{"type":53,"tag":85,"props":495,"children":497},{"className":496},[],[498],{"type":58,"value":499},"rules\u002Fheuristic-hot-loop.md",{"type":58,"value":501}," — N+1 \u002F hot loop from the app.",{"type":53,"tag":98,"props":503,"children":504},{},[505,511],{"type":53,"tag":85,"props":506,"children":508},{"className":507},[],[509],{"type":58,"value":510},"rules\u002Fheuristic-write-congestion.md",{"type":58,"value":512}," — deadlocks, slow\nwrites, high rollback rate.",{"type":53,"tag":68,"props":514,"children":515},{},[516],{"type":58,"value":517},"If the signal does not match any shape cleanly, do not invent\na hypothesis. Surface the top patterns and ask the user which\nworkload they recognize. New heuristics are welcome as PRs.",{"type":53,"tag":238,"props":519,"children":521},{"id":520},"_5-reason-then-recommend",[522],{"type":58,"value":523},"5. Reason, then recommend",{"type":53,"tag":68,"props":525,"children":526},{},[527,529,535],{"type":58,"value":528},"Use the format in ",{"type":53,"tag":85,"props":530,"children":532},{"className":531},[],[533],{"type":58,"value":534},"rules\u002Foutput-template.md",{"type":58,"value":536},". Always include:\nsymptom, evidence, hypothesis (noting any alternative cause\nyou cannot rule out from this surface alone), short-term fix,\nand long-term follow-ups.",{"type":53,"tag":238,"props":538,"children":540},{"id":539},"_6-do-not-apply-the-fix",[541],{"type":58,"value":542},"6. Do not apply the fix",{"type":53,"tag":68,"props":544,"children":545},{},[546,547,553,555,561,563,569],{"type":58,"value":342},{"type":53,"tag":85,"props":548,"children":550},{"className":549},[],[551],{"type":58,"value":552},"rules\u002Frecommend-only.md",{"type":58,"value":554},". Never run DDL. Never call\n",{"type":53,"tag":85,"props":556,"children":558},{"className":557},[],[559],{"type":58,"value":560},"pg_cancel_backend",{"type":58,"value":562}," or ",{"type":53,"tag":85,"props":564,"children":566},{"className":565},[],[567],{"type":58,"value":568},"pg_terminate_backend",{"type":58,"value":570},". Write the\nrecommendation, explain why, and let the human apply it.",{"type":53,"tag":61,"props":572,"children":574},{"id":573},"full-compiled-document",[575],{"type":58,"value":576},"Full Compiled Document",{"type":53,"tag":68,"props":578,"children":579},{},[580,582,588],{"type":58,"value":581},"For the complete guide with every rule expanded in a single\ncontext load: ",{"type":53,"tag":85,"props":583,"children":585},{"className":584},[],[586],{"type":58,"value":587},"AGENTS.md",{"type":58,"value":273},{"items":590,"total":779},[591,609,623,639,653,671,681,699,713,730,742,762],{"slug":592,"name":592,"fn":593,"description":594,"org":595,"tags":596,"stars":32,"repoUrl":33,"updatedAt":608},"chdb-datastore","accelerate pandas with chDB datastore","Use when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to filter, group, aggregate, join, or speed up slow pandas. Provides chDB DataStore — same pandas API, ClickHouse engine underneath. Also handles reading from S3, MySQL, PostgreSQL, MongoDB, ClickHouse Cloud, Iceberg, Delta Lake as DataFrames and joining across sources. TRIGGER when: user mentions DataFrame, parquet, csv, \"fast pandas\", \"speed up pandas\", or cross-source DataFrame joins; user imports `chdb.datastore` or `from datastore import DataStore`. SKIP this skill for raw SQL syntax (use chdb-sql instead), ClickHouse server administration, or non-Python DataStore API work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[597,598,601,604,605],{"name":9,"slug":8,"type":13},{"name":599,"slug":600,"type":13},"Data Analysis","data-analysis",{"name":602,"slug":603,"type":13},"Data Engineering","data-engineering",{"name":18,"slug":19,"type":13},{"name":606,"slug":607,"type":13},"Python","python","2026-04-15T04:56:32.0629",{"slug":610,"name":610,"fn":611,"description":612,"org":613,"tags":614,"stars":32,"repoUrl":33,"updatedAt":622},"chdb-sql","run ClickHouse SQL queries in Python","Use when the user wants to run SQL — especially analytical SQL — on local files (parquet\u002Fcsv\u002Fjson), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse Cloud, Iceberg, Delta Lake) without setting up a server. Provides chDB — embedded ClickHouse SQL in Python with 1000+ functions, Session for stateful multi-step pipelines, parametrized queries, and cross-source joins via `s3()`, `mysql()`, `postgresql()`, `iceberg()`, `deltaLake()`, `remoteSecure()` table functions. TRIGGER when: user wants SQL on parquet\u002Fcsv\u002Ffiles or across remote analytical sources; uses ClickHouse SQL features (window functions, windowFunnel, geoToH3, JSON path ops, Session, parametrized queries); imports `chdb` or calls `chdb.query()`. SKIP this skill for pandas-style DataFrame method-chaining (use chdb-datastore instead) or ClickHouse server administration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[615,616,617,618,619],{"name":9,"slug":8,"type":13},{"name":599,"slug":600,"type":13},{"name":602,"slug":603,"type":13},{"name":606,"slug":607,"type":13},{"name":620,"slug":621,"type":13},"SQL","sql","2026-04-15T04:56:33.299509",{"slug":624,"name":624,"fn":625,"description":626,"org":627,"tags":628,"stars":32,"repoUrl":33,"updatedAt":638},"clickhouse-architecture-advisor","advise on ClickHouse architectures","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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[629,632,633,634,637],{"name":630,"slug":631,"type":13},"Architecture","architecture",{"name":9,"slug":8,"type":13},{"name":602,"slug":603,"type":13},{"name":635,"slug":636,"type":13},"Database","database",{"name":18,"slug":19,"type":13},"2026-04-15T04:56:34.534001",{"slug":640,"name":640,"fn":641,"description":642,"org":643,"tags":644,"stars":32,"repoUrl":33,"updatedAt":652},"clickhouse-best-practices","review ClickHouse schemas and queries","MUST USE when reviewing ClickHouse schemas, queries, or configurations. Contains 31 rules that MUST be checked before providing recommendations. Always read relevant rule files and cite specific rules in responses.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[645,646,649,650,651],{"name":9,"slug":8,"type":13},{"name":647,"slug":648,"type":13},"Code Review","code-review",{"name":635,"slug":636,"type":13},{"name":18,"slug":19,"type":13},{"name":620,"slug":621,"type":13},"2026-04-06T18:07:18.953931",{"slug":654,"name":654,"fn":655,"description":656,"org":657,"tags":658,"stars":32,"repoUrl":33,"updatedAt":670},"clickhouse-js-node-rowbinary","encode and decode ClickHouse RowBinary streams","Generate TypeScript\u002FJavaScript code that reads\u002Fdecodes AND writes\u002Fencodes ClickHouse RowBinary streams for the ClickHouse HTTP server. Use this skill whenever a user wants to parse or produce `RowBinary`, `RowBinaryWithNames`, or `RowBinaryWithNamesAndTypes`. Node.js only, doesn't cover browsers.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[659,662,663,664,667],{"name":660,"slug":661,"type":13},"API Development","api-development",{"name":9,"slug":8,"type":13},{"name":635,"slug":636,"type":13},{"name":665,"slug":666,"type":13},"JavaScript","javascript",{"name":668,"slug":669,"type":13},"TypeScript","typescript","2026-07-01T08:16:19.314713",{"slug":4,"name":4,"fn":5,"description":6,"org":672,"tags":673,"stars":32,"repoUrl":33,"updatedAt":34},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[674,675,676,677,678,679,680],{"name":9,"slug":8,"type":13},{"name":30,"slug":31,"type":13},{"name":24,"slug":25,"type":13},{"name":15,"slug":16,"type":13},{"name":18,"slug":19,"type":13},{"name":27,"slug":28,"type":13},{"name":21,"slug":22,"type":13},{"slug":682,"name":682,"fn":683,"description":684,"org":685,"tags":686,"stars":32,"repoUrl":33,"updatedAt":698},"infra-clickhouse","manage ClickHouse server instances","Sets up and manages ClickHouse using the clickhousectl CLI — installs and runs a local ClickHouse server for development, and creates managed ClickHouse Cloud services for production (authentication, service creation, schema migration, application connection). Use when the user wants to build an application with ClickHouse, set up a local ClickHouse dev environment, create tables and start querying, deploy ClickHouse to production or ClickHouse Cloud, or migrate from a local setup to the cloud.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[687,690,691,692,695],{"name":688,"slug":689,"type":13},"CLI","cli",{"name":9,"slug":8,"type":13},{"name":635,"slug":636,"type":13},{"name":693,"slug":694,"type":13},"Deployment","deployment",{"name":696,"slug":697,"type":13},"Infrastructure","infrastructure","2026-07-28T06:06:00.02089",{"slug":700,"name":700,"fn":701,"description":702,"org":703,"tags":704,"stars":32,"repoUrl":33,"updatedAt":712},"infra-postgres","manage PostgreSQL database instances","Sets up and manages Postgres using the clickhousectl CLI — runs a local Docker-backed Postgres for development, and creates and operates managed ClickHouse Cloud Postgres services (connections, TLS, runtime config, read replicas, failover, point-in-time restore). Use when the user wants a Postgres or PostgreSQL database for their application, a local Postgres dev environment, psql access, or a managed\u002Fproduction Postgres in ClickHouse Cloud, or mentions moving a local Postgres to production.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[705,706,707,710,711],{"name":635,"slug":636,"type":13},{"name":693,"slug":694,"type":13},{"name":708,"slug":709,"type":13},"Docker","docker",{"name":696,"slug":697,"type":13},{"name":27,"slug":28,"type":13},"2026-07-28T06:06:07.151976",{"slug":714,"name":714,"fn":715,"description":716,"org":717,"tags":718,"stars":727,"repoUrl":728,"updatedAt":729},"clickhouse-js-node-coding","build Node.js applications with ClickHouse","Write idiomatic application code with the ClickHouse Node.js client (`@clickhouse\u002Fclient`). Use this skill whenever a user is *building* against the Node.js client — configuring the client, pinging, inserting rows in JSON or raw formats, selecting and parsing results, binding query parameters, managing sessions and temporary tables, working with data types or customizing JSON parsing. Do NOT use for browser\u002FWeb client code.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[719,722,723,724],{"name":720,"slug":721,"type":13},"Backend","backend",{"name":9,"slug":8,"type":13},{"name":635,"slug":636,"type":13},{"name":725,"slug":726,"type":13},"Node.js","node-js",321,"https:\u002F\u002Fgithub.com\u002FClickHouse\u002Fclickhouse-js","2026-05-06T05:41:40.923776",{"slug":731,"name":731,"fn":732,"description":733,"org":734,"tags":735,"stars":727,"repoUrl":728,"updatedAt":741},"clickhouse-js-node-troubleshooting","troubleshoot ClickHouse Node.js client","Troubleshoot and resolve common issues with the ClickHouse Node.js client (@clickhouse\u002Fclient). Use this skill whenever a user reports errors, unexpected behavior, or configuration questions involving the Node.js client specifically — including socket hang-up errors, Keep-Alive problems, stream handling issues, data type mismatches, read-only user restrictions, proxy\u002FTLS setup problems, or long-running query timeouts. Trigger even when the user hasn't precisely named the issue; vague symptoms like \"my inserts keep failing\" or \"connection drops randomly\" in a Node.js context are strong signals to use this skill. Do NOT use for browser\u002FWeb client issues.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[736,737,738,740],{"name":9,"slug":8,"type":13},{"name":30,"slug":31,"type":13},{"name":725,"slug":739,"type":13},"nodejs",{"name":668,"slug":669,"type":13},"2026-04-14T04:56:39.447406",{"slug":743,"name":743,"fn":744,"description":745,"org":746,"tags":747,"stars":759,"repoUrl":760,"updatedAt":761},"clickstack-otel-collector","set up OpenTelemetry collector for ClickHouse","Use when a user wants to wire an OpenTelemetry collector into a Managed ClickStack service on ClickHouse Cloud, either by deploying a new local collector (Docker run or Docker Compose) or by configuring their own existing collector, then send rich synthetic telemetry and verify it is visible in ClickStack.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[748,749,752,755,756],{"name":9,"slug":8,"type":13},{"name":750,"slug":751,"type":13},"Logs","logs",{"name":753,"slug":754,"type":13},"Metrics","metrics",{"name":15,"slug":16,"type":13},{"name":757,"slug":758,"type":13},"OpenTelemetry","opentelemetry",196,"https:\u002F\u002Fgithub.com\u002FClickHouse\u002Fclickhouse-docs","2026-06-11T08:25:17.959323",{"slug":763,"name":763,"fn":764,"description":765,"org":766,"tags":767,"stars":776,"repoUrl":777,"updatedAt":778},"setup","set up ClickHouse MCP server connections","Guides users through setting up the ClickHouse MCP server connection bundled with this plugin. Use when the user first installs the plugin or has trouble connecting to ClickHouse.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[768,769,770,773],{"name":9,"slug":8,"type":13},{"name":635,"slug":636,"type":13},{"name":771,"slug":772,"type":13},"Local Development","local-development",{"name":774,"slug":775,"type":13},"MCP","mcp",4,"https:\u002F\u002Fgithub.com\u002FClickHouse\u002Fclickhouse-claude-code-plugin","2026-04-19T04:59:29.849185",12,{"items":781,"total":840},[782,790,798,806,814,822,832],{"slug":592,"name":592,"fn":593,"description":594,"org":783,"tags":784,"stars":32,"repoUrl":33,"updatedAt":608},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[785,786,787,788,789],{"name":9,"slug":8,"type":13},{"name":599,"slug":600,"type":13},{"name":602,"slug":603,"type":13},{"name":18,"slug":19,"type":13},{"name":606,"slug":607,"type":13},{"slug":610,"name":610,"fn":611,"description":612,"org":791,"tags":792,"stars":32,"repoUrl":33,"updatedAt":622},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[793,794,795,796,797],{"name":9,"slug":8,"type":13},{"name":599,"slug":600,"type":13},{"name":602,"slug":603,"type":13},{"name":606,"slug":607,"type":13},{"name":620,"slug":621,"type":13},{"slug":624,"name":624,"fn":625,"description":626,"org":799,"tags":800,"stars":32,"repoUrl":33,"updatedAt":638},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[801,802,803,804,805],{"name":630,"slug":631,"type":13},{"name":9,"slug":8,"type":13},{"name":602,"slug":603,"type":13},{"name":635,"slug":636,"type":13},{"name":18,"slug":19,"type":13},{"slug":640,"name":640,"fn":641,"description":642,"org":807,"tags":808,"stars":32,"repoUrl":33,"updatedAt":652},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[809,810,811,812,813],{"name":9,"slug":8,"type":13},{"name":647,"slug":648,"type":13},{"name":635,"slug":636,"type":13},{"name":18,"slug":19,"type":13},{"name":620,"slug":621,"type":13},{"slug":654,"name":654,"fn":655,"description":656,"org":815,"tags":816,"stars":32,"repoUrl":33,"updatedAt":670},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[817,818,819,820,821],{"name":660,"slug":661,"type":13},{"name":9,"slug":8,"type":13},{"name":635,"slug":636,"type":13},{"name":665,"slug":666,"type":13},{"name":668,"slug":669,"type":13},{"slug":4,"name":4,"fn":5,"description":6,"org":823,"tags":824,"stars":32,"repoUrl":33,"updatedAt":34},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[825,826,827,828,829,830,831],{"name":9,"slug":8,"type":13},{"name":30,"slug":31,"type":13},{"name":24,"slug":25,"type":13},{"name":15,"slug":16,"type":13},{"name":18,"slug":19,"type":13},{"name":27,"slug":28,"type":13},{"name":21,"slug":22,"type":13},{"slug":682,"name":682,"fn":683,"description":684,"org":833,"tags":834,"stars":32,"repoUrl":33,"updatedAt":698},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[835,836,837,838,839],{"name":688,"slug":689,"type":13},{"name":9,"slug":8,"type":13},{"name":635,"slug":636,"type":13},{"name":693,"slug":694,"type":13},{"name":696,"slug":697,"type":13},8]