Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

altinity-expert-clickhouse-overviewAltinity 专家 CLIckhouse 概述

Agent Skill

altinity-expert-clickhouse-overview 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,211

周安装

52

GitHub Stars

5

下载量

424
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:altinity-expert-clickhouse-overview(Altinity 专家 CLIckhouse 概述)
来源仓库:https://github.com/altinity/skills
仓库路径:skills/altinity-expert-clickhouse-overview
安装命令:
npx skills add https://github.com/altinity/skills --skill altinity-expert-clickhouse-overview
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/altinity/skills --skill altinity-expert-clickhouse-overview

简介

生成 ClickHouse 集群整体运行状况的综合概览报告。

  • 适用于快速识别 detached parts、DDL 队列积压等常见问题。
  • 包含版本感知的 SQL 查询以适应不同 ClickHouse 特性支持。
  • 依赖 checks.sql、metrics.sql 等多文件协同完成全面体检。
  • 使用前应确保对 system.detached_parts 等关键表的读取权限。

SKILL.md

Analyze

Predefined SQL

Run reporting SQL queries from files in Skill directory:

  • checks.sql
  • metrics.sql
  • ddl_queue.sql

Inline SQL below (version/enablement sensitive):

Detached Parts

version-dependent: ClickHouse 23.8 does not have modification_time

SELECT
  hostName() AS host,
  database,
  table,
  reason,
  count() AS detached_parts,
  formatReadableSize(sum(bytes_on_disk)) AS bytes,
  min(modification_time) AS first_detach,
  max(modification_time) AS last_detach
FROM system.detached_parts
GROUP BY host, database, table, reason
ORDER BY detached_parts DESC
LIMIT 100

Text Log

(may be disabled)

select event_date, level, thread_name, any(logger_name) as logger_name,
       message_format_string, count(*) as count
from   system.text_log
where  event_date > now() - interval 24 hour
  and level <= 'Warning'
group by all
order by level, thread_name, message_format_string

Check Pools

WITH
    ['MergesAndMutations', 'Fetches', 'Move', 'Common', 'Schedule', 'BufferFlushSchedule', 'MessageBrokerSchedule', 'DistributedSchedule'] AS pool_tokens,
    ['pool', 'fetches_pool', 'move_pool', 'common_pool', 'schedule_pool', 'buffer_flush_schedule_pool', 'message_broker_schedule_pool', 'distributed_schedule_pool'] AS setting_tokens
SELECT
    extract(m.metric, '^Background(.*)Task') AS pool_name,
    m.active_tasks,
    pool_size,
    round(100.0 * m.active_tasks / pool_size, 1) AS utilization_pct,
    multiIf(utilization_pct > 99, 'Major', utilization_pct > 90, 'Moderate', 'OK') AS severity
FROM
(
    SELECT
        metric,
        value AS active_tasks,
        transform(extract(metric, '^Background(.*)PoolTask'), pool_tokens, setting_tokens, '') AS pool_key,
        concat('background_', lower(pool_key), '_size') AS setting_name
    FROM system.metrics
    WHERE metric LIKE 'Background%PoolTask'
) AS m
LEFT JOIN
(
    SELECT
        name,
        toFloat64OrZero(value) AS pool_size
    FROM system.server_settings
    WHERE name LIKE 'background%pool_size'
) AS s ON s.name = m.setting_name
WHERE pool_size > 0
ORDER BY utilization_pct DESC

On error and for clickhouse version <= 22.8 replace system.server_settings to system.settings

Report

Prepare a summary report based on the findings

Routing Rules (Chain to Other Skills)

Based on findings, load specific modules:

  • Replication lag/readonly replicas/Keeper issues → altinity-expert-clickhouse-replication
  • High memory usage or OOMs → altinity-expert-clickhouse-memory
  • Disk usage > 80% or poor compression → altinity-expert-clickhouse-storage
  • Many parts, merge backlog, or TOO_MANY_PARTS → altinity-expert-clickhouse-merges
  • Slow SELECTs / heavy reads in query_log → altinity-expert-clickhouse-reporting
  • Slow INSERTs / high part creation rate → altinity-expert-clickhouse-ingestion
  • Low cache hit ratios / cache pressure → altinity-expert-clickhouse-caches
  • Dictionary load failures or high dictionary memory → altinity-expert-clickhouse-dictionaries
  • Frequent exceptions or error spikes → include system.errors and system.*_log summaries below
  • System log TTL issues or log growth → altinity-expert-clickhouse-logs
  • Schema anti‑patterns (partitioning/ORDER BY/MV issues) → altinity-expert-clickhouse-schema
  • High load/connection saturation/queue buildup → altinity-expert-clickhouse-metrics
  • Suspicious server log entries → altinity-expert-clickhouse-logs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

27.48%
按下载量换算117

Claude Code

23.78%
按下载量换算101

Gemini CLI

15.14%
按下载量换算64

Antigravity

12.42%
按下载量换算53

cline

7.22%
按下载量换算31

OpenCode

2.95%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills