Agent skill
get-cluster-health
Get overall cluster health status. Checks node readiness, system pod health, and control plane components. Use for periodic health checks or incident investigation. Keywords: cluster health, node status, cluster status, health check.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/get-cluster-health
Metadata
Additional technical details for this skill
- domain
- k8s
- category
- collection
- confidence
- 0.9
- mcp servers
-
[ "kubernetes-mcp-server" ] - requires approval
- NO
SKILL.md
Get Cluster Health
Preconditions
Before applying this skill, verify:
- Kubernetes cluster is accessible
- kubectl/MCP has cluster-admin or read permissions
Actions
1. Get Node Status
List all nodes and their readiness status.
mcp_tool: kubernetes-mcp-server/resources_list
params:
apiVersion: v1
kind: Node
timeout: 30s
2. Get System Pod Health
Check pods in kube-system namespace for any issues.
mcp_tool: kubernetes-mcp-server/pods_list_in_namespace
params:
namespace: kube-system
timeout: 30s
3. Get Recent Events
Check for warning events across the cluster.
mcp_tool: kubernetes-mcp-server/events_list
params: {}
timeout: 30s
Success Criteria
The skill succeeds when:
- All nodes are in Ready state
- All kube-system pods are Running
- No critical warning events in last hour
Failure Handling
If nodes are NotReady or pods are failing:
- Capture current state for analysis
- Trigger diagnostic skills for specific issues
- Escalate if multiple nodes or critical pods affected
Examples
Output:
{
"nodes": {
"total": 3,
"ready": 3,
"not_ready": 0
},
"system_pods": {
"total": 12,
"running": 12,
"failed": 0
},
"warnings": 0,
"healthy": true
}
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?