Individual skill

tidb-cluster-inspector

Comprehensive TiDB cluster inspection. Checks cluster topology, node health, slow queries, hot regions, TiKV storage status, PD scheduling, leader skew, and TopSQL drain (latency / execution count / memory). Outputs a full inspection report with prioritized findings. Compatible with TiDB v4.0+.

tidb_cluster_inspector/SKILL.md

Read pinned source

Source commit 6ac447941289a7aa25df36b1c8977704db7ba3f1

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Instructions only
Last checked
Nov 11, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
174
Repository last updated
Jun 22, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# TiDB Cluster Inspector

## Overview

TiDB clusters have a complex distributed architecture (TiDB + PD + TiKV) where issues in any component can cascade. This skill performs a systematic inspection across all layers:

1. **Topology** — Map all nodes, versions, uptime
2. **Node Health** — Check each TiDB/PD/TiKV node status
3. **Slow Queries** — Identify TOP N slow queries
4. **Hot Regions** — Detect read/write hotspots (hot-degree ranked)
5. **TiKV Storage** — Capacity and region distribution
6. **PD Scheduling** — Leader/region balance check
7. **Leader Skew** — Detect leader concentration imbalance across TiKV stores
8. **TopSQL** — Rank SQL by total latency, execution count, and memory
Back to top