altinity-expert-clickhouse-overview
БесплатноБез исполняемых скриптовНе проверенFast ClickHouse server health snapshot (object counts, memory, disks, replication summary, system log TTLs, error rates, background pools, detached parts)…
Об этом скилле
Health overview and routing
Answers "is this server healthy, and which area needs a deeper look?" from system.metrics, system.asynchronous_metrics, system.parts, system.disks, system.tables, system.query_log, system.errors and system.text_log. It is single-host by design; per-replica divergence belongs to the specialist skills.
Run altinity-expert-clickhouse-connection first if the connection mode, cluster and time window are not yet established.
Query packs
checks.sql— 14 checks: object counts, memory vs RAM, primary-key and dictionary RAM, disk usage, replication summary, system log TTL and size, hourly query error rate, part_log errors,system.errorstop codes, detached parts, recent warnings intext_log, background pool utilization.metrics.sql— 13 alert checks (idsA3.0.x) that return rows only when a threshold is breached; an empty result is OK. Checks A3.0.4 and A3.0.5 have two version-specific alternatives (@requires version<26.8/version>=26.8): run the one matching the server version.ddl_queue.sql— 1 check on the ON CLUSTER DDL queue;@requires keeper.
How to run the query packs
- Read each pack file from this skill's directory (the skill loader prints the directory path).
- Run statements one at a time, never a whole file. Statements end with
;and start with a-- @check <id> <title>header; keep the id with its result. - Honor
-- @requires: skip the statement when the named table is missing, whenkeeperis required and the server has no Keeper/ZooKeeper, or when the version condition is not met. List skipped ids with the reason. - Keep
{cluster}as written when a cluster macro exists; otherwise apply the connection skill's rewrite rule. Any other{placeholder}is a template variable: substitute a real value first or skip the statement. - On an error, record the check id and the first line of the error, then continue. Only for
UNKNOWN_IDENTIFIER, runDESCRIBE TABLE system.<table>and drop the missing column. - A
severitycolumn is the verdict for that row. Copy it; do not re-grade.
Interpretation rules
metrics.sqlchecks that return no rows are OK; list their ids in the OK line.Minorrows are informational, not findings.- A system log table without TTL (overview-07) is a finding; quote its size from overview-08 next to it. Route to the logs skill only when the largest untended table exceeds a few GiB or the disk is above 70 percent.
- Error rate (overview-09): say whether failures are steady or a spike, and name the top error codes from overview-11. Ignore codes caused by this diagnostic session itself (UNKNOWN_IDENTIFIER, UNKNOWN_TABLE, SYNTAX_ERROR).
- Object counts (overview-01) and part counts are server-wide. When the largest part counts or sizes come from
system.*tables, say so instead of blaming user tables. - Detached parts (overview-12) with reasons
broken*,unexpected*,ignored*indicate replication or disk problems;cloneandcovered-by-brokenare usually safe to remove. - Background pool utilization (overview-14) above 90 percent for MergesAndMutations means merges are throttled by capacity, not necessarily by data volume.
- With
has_keeper = 0, mark replication and DDL queue checks as not applicable rather than OK.
Report format
- Header: connection mode, cluster or "single node", ClickHouse version, time window.
- Findings: table with columns
check,severity,object,evidence,recommendation; one row per finding, Critical first. Evidence quotes the numbers from the result rows. - OK checks: one line listing the check ids that returned no problem rows.
- Skipped and failed checks: id and reason or first error line. Never omit this section.
- Next steps: skills to load next and immediate actions.
Next skills
- Read-only replicas, replica delay, replication queue growth, Keeper errors in text_log → load skill
altinity-expert-clickhouse-replication - Memory above 80 percent of RAM, large primary-key or dictionary RAM, MEMORY_LIMIT_EXCEEDED errors → load skill
altinity-expert-clickhouse-memory - Disk above 80 percent or large system log tables → load skill
altinity-expert-clickhouse-storage(disk) oraltinity-expert-clickhouse-logs(log TTL) - Many parts per partition, TOO_MANY_PARTS, saturated MergesAndMutations pool, part_log merge errors → load skill
altinity-expert-clickhouse-merges - High query error rate or slow SELECTs → load skill
altinity-expert-clickhouse-reporting - Slow or failing INSERTs, high NewPart rate → load skill
altinity-expert-clickhouse-ingestion - Kafka consumers above pool size or Kafka warnings in text_log → load skill
altinity-expert-clickhouse-kafka - Dictionary load failures or high dictionary RAM → load skill
altinity-expert-clickhouse-dictionaries - Stuck or failing mutations in part_log errors → load skill
altinity-expert-clickhouse-mutations - ACCESS_DENIED or authentication errors
Установить altinity-expert-clickhouse-overview в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл altinity-expert-clickhouse-overview?
Fast ClickHouse server health snapshot (object counts, memory, disks, replication summary, system log TTLs, error rates, background pools, detached parts) that routes to the specialist skills. Use as the entry point for "is the server healthy" or when the problem area is not yet known.
Как установить скилл altinity-expert-clickhouse-overview?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл altinity-expert-clickhouse-overview запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic