원클릭으로
error-diagnosis
Diagnose a ClickHouse server error (code/name/exception) and give a concrete, actionable fix.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Diagnose a ClickHouse server error (code/name/exception) and give a concrete, actionable fix.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Rules and strategies for exploring databases, tables, schemas, and searching metadata.
Complex rules for calling render_chart, inferring axes, and choosing chart types based on user intent.
Diagnose part/partition health of a MergeTree table — too many parts, slow/stuck merges, bad partition key.
Rules for using explain/analyze/optimize tools to help the user tune their queries.
Diagnose a column/table schema issue — Nullable overhead, oversized integer, or weak compression — and propose an ALTER.
Strict rules on outputting ClickHouse syntax, limiting rows, and rendering SQL in markdown.
| name | error-diagnosis |
| description | Diagnose a ClickHouse server error (code/name/exception) and give a concrete, actionable fix. |
The user reports or pastes a ClickHouse error and wants to know what it means, why it's happening, and how to fix it. Investigate read-only, then give a concrete solution — not generic advice.
run_select_query against system.errors — confirm the error and its count/last message: SELECT name, code, value, last_error_time, last_error_message FROM system.errors WHERE name = '<NAME>' OR code = <CODE> ORDER BY last_error_time DESC. (Never ORDER BY event_time — no such column.)run_select_query to find the underlying cause, matched to the error family:
system.parts (GROUP BY partition), system.merges, system.mutations.system.metrics / system.asynchronous_metrics, and get_slow_queries for the offending query shape.system.replicas (absolute_delay, is_readonly, queue_size).system.disks (free_space).get_server_info — version context if the error is version-specific.system-table-reference reference skill — BEFORE any raw system.* SELECT (exact column names).clickhouse-playbook reference skill — when the fix implies a query/schema change.system.query_log scans.FORMAT clause. A human applies any fix.