frankchen021 avatar

Diagnose Clickhouse Clusters

When your ClickHouse cluster is acting up, this skill cuts through the noise. It runs standardized health checks across replication lag, disk usage, part counts, and errors, then formats the findings into clean severity tables instead of making you parse raw SQL results. The real value is the RCA mode: ask "why is part count high" and it scores potential causes with actual evidence from your cluster, not generic advice. It enforces structured output so you get concrete remediation steps rather than theory. Works well for bounded time windows if you're debugging historical incidents. Currently supports high part count and general symptoms. If you maintain ClickHouse in production and want faster triage without writing custom diagnostic queries every time, this saves repetitive work.

GitHub stars
320
last updated
May 14, 2026

Install

$ npx -y skills add frankchen021/datastoria --skill diagnose-clickhouse-clusters --agent claude-code

Installs into .claude/skills of the current project.

Files

Tool Usage Rules

  • Call collect_cluster_status before health conclusions about current cluster health.
  • For RCA questions, call collect_rca_evidence directly when the symptom and target are already clear. Use collect_cluster_status first only when you need current health context, severity/outliers, or help choosing the RCA symptom/scope.
  • Use only supported Phase 1 RCA symptoms: high_part_count and unknown.
  • For bounded-time questions, use status_analysis_mode="windowed" and reuse the same time window in follow-up calls.
  • If user asks for a chart, use the visualization skill. Do not emit chart specs directly from this skill.
  • Do not invent custom health-check SQL. Use tool outputs as the source of truth.

Workflow (MANDATORY)

  1. Determine whether the user asks for status only, or root cause ("why", "root cause", "reason", "caused by", "explain").
  2. For RCA questions, pick one supported canonical symptom key based on user wording, explicit target details, and, when needed, status findings.
  3. Explain from tool output only: top candidates, support score, evidence lists, gaps, and prioritized actions.

Severity Thresholds (Guidance)

Sponsors

Details

Repository
github.com/frankchen021/datastoria
Categories
Debugging, Databases
First seen
Jun 11, 2026

More from frankchen021/datastoria

All 7

Recommended

More Debugging
1ganyuanran avatarsystematic-debuggingganyuanran/aegisThis is the disciplined alternative to guessing at fixes.0skills.sh installs
2github avataraws-resource-health-diagnosegithub/awesome-copilotAnalyze AWS resource health, diagnose issues from CloudWatch logs and metrics, and create a remediation plan for identified problems.0skills.sh installs
3hoangnguyen0403 avatardev-fixhoangnguyen0403/agent-skills-standardUnified developer workflow for fixing bugs. Analyzes issue-tracker context, cross-checks docs/code, proposes a solution, implements the fix, verifies locally, a0skills.sh installs
4hoangsonww avatarsession-debughoangsonww/claude-code-agent-monitor>0skills.sh installs
5laolaoshiren avatarperf-profilerlaolaoshiren/claude-code-skills-zh性能分析 - 识别瓶颈、生成优化建议0skills.sh installs
6lawless-m avatarVram-GPU-OOMlawless-m/claude-skillsGPU VRAM management patterns for sharing memory across services (Ollama, Whisper, ComfyUI). OOM retry logic, auto-unload on idle, and service signaling protocol0skills.sh installs