rohitg00/kubectl-mcp-server/k8s-diagnostics

Claude Code and agent skill by rohitg00/kubectl-mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Kubernetes diagnostics for metrics, health checks, resource comparisons, and cluster analysis. Use when analyzing cluster health, comparing environments, or gathering diagnostic data.

Install

npx vskill@latest install rohitg00/kubectl-mcp-server/k8s-diagnostics

SKILL.md

The same SKILL.md was published earlier as rohitg00/kubectl-mcp-server/k8s-diagnostics.

Kubernetes Diagnostics

Analyze cluster health and compare resources using kubectl-mcp-server's diagnostic tools.

Requires the diagnostics, multicluster toolsets: start kubectl-mcp-server with --toolsets default,diagnostics,multicluster (or MCP_TOOLSETS=default,diagnostics,multicluster).

When to Apply

Use this skill when:

  • User mentions: "metrics", "health check", "compare", "analysis", "capacity"
  • Operations: cluster health assessment, environment comparison, resource analysis
  • Keywords: "how much", "usage", "difference between", "capacity planning"

Priority Rules

PriorityRuleImpactTools
1Check metrics-server before using metricsCRITICALkubectl_top
2Run health check before deploymentsHIGHhealth_check
3Compare staging vs prod before releaseMEDIUMcompare_namespaces
4Document baseline metricsLOWget_nodes_summary

Quick Reference

TaskToolExample
Cluster healthhealth_checkhealth_check()
Pod metricskubectl_topkubectl_top(namespace)
Node summaryget_nodes_summaryget_nodes_summary()
Compare envscompare_namespacescompare_namespaces(ns1, ns2, type)
List CRDskubectl_getkubectl_get(resource_type="crds")

Resource Metrics

python
kubectl_top(namespace="default")
kubectl_top(resource="nodes")
kubectl_top(resource="pods", namespace="default", sort_by="cpu")
kubectl_top(resource="pods", namespace="default", sort_by="memory")

Cluster Health Check

python
health_check()
health_check()

Compare Environments

python
compare_namespaces(
namespace1="staging",
namespace2="production",
resource_type="deployment"
)
kubectl_get(resource_type="deployments", namespace="default", context="staging-cluster")
kubectl_get(resource_type="deployments", namespace="default", context="prod-cluster")

API Discovery

python
get_api_resources()
kubectl_get(resource_type="crds", name="certificates.cert-manager.io")
kubectl_get(resource_type="crds")

Resource Analysis

python
get_nodes_summary()
kubeconfig_view()
list_contexts()

Diagnostic Workflows

Cluster Overview
python
health_check()
get_nodes_summary()
kubectl_get(resource_type="events", namespace="")
kubectl_get(resource_type="crds")
Pre-deployment Check
python
kubectl_top(namespace="production")
get_nodes_summary()
compare_namespaces(namespace1="staging", namespace2="prod", resource_type="deployment")
Post-incident Analysis
python
kubectl_get(resource_type="events", namespace)
kubectl_logs(name, namespace, previous=True)
kubectl_top(namespace)
kubectl_describe(name)

Related Skills

Security

  • Security scanPassed, 96 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
853
Repository forks
166
Repository npm downloads, 7 days
360
7-day trend score
48

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 20 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rohitg00/kubectl-mcp-server/k8s-diagnostics/badge)](https://verified-skill.com/skills/rohitg00/kubectl-mcp-server/k8s-diagnostics)

Something wrong with this skill or its page? Tell us.