clickhouse-debug-bundle
Installation
SKILL.md
ClickHouse Debug Bundle
Overview
Collect comprehensive diagnostic data from ClickHouse system.* tables for
troubleshooting performance issues, merge problems, or support escalation. The
skill runs a graduated set of queries — server health, disk and table health,
query performance, and merge/mutation status — then packages the output into a
single artifact you can attach to a support ticket.
Prerequisites
- Access to a ClickHouse server with
SELECTpermission onsystem.*tables (grantSELECT ON system.*to a restricted user if needed). - Either
curl(for the HTTP interface, port 8123) orclickhouse-client. - Connection settings exported as environment variables so no credentials are
hardcoded:
CLICKHOUSE_HOST,CLICKHOUSE_USER,CLICKHOUSE_PASSWORD. - For deep query-log analysis,
log_queries = 1must be enabled on the server.