Run read-only Kubernetes health checks and report cluster status with evidence. This skill works
without private overlays by requiring an explicit kube context or confirmed current context.
Local users may add ignored protected overlays for aliases and environment-specific checks.
When to use
User asks to check cluster health, status, diagnostics, node status, or post-maintenance state
Verifying cluster-wide symptoms after upgrades, reboots, Helm changes, GitOps syncs, or incidents
Gathering read-only evidence across nodes, workloads, events, ingress, storage, logs, and policy
Producing a short traffic-light report from Kubernetes and related observability signals
When NOT to use
Writing or reviewing Kubernetes manifests - use kubernetes
Writing Helm charts, Kustomize overlays, or IaC - use kubernetes or terraform
Changing resources, restarting pods, deleting objects, or applying fixes - ask for explicit escalation
Debugging one application deeply after the broad sweep identifies it - use the relevant domain skill
AI Self-Check
Before running checks or reporting results, verify:
Target context is explicit or the current context was confirmed
Every kubectl command includes --context <context>
Every helm command includes --kube-context <context>
Commands are read-only: no apply, patch, delete, edit, rollout restart, scale, cordon, drain, or exec unless the user explicitly escalates
Output is capped with head, tail, --since, --field-selector, or selectors
Time window is bounded and stated in the report
Protected registry contents are not printed unless the user asks for those exact details
Findings include evidence, impact, and next action
Cluster target explicit: kubeconfig context, namespace, and environment are named before any query
Read-only posture kept: health checks do not mutate resources or restart workloads unless the user explicitly escalates
No improvisation: only the read-only commands in the reference files were run; missing coverage was noted as a suggestion, not freelanced with guessed service names, paths, or flags
Stderr is visible: diagnostic commands surface their failure reason instead of masking it with 2>/dev/null; a missing tool, permission gap, or wrong context is reported, not silently treated as a clean result
Cross-cutting agent hygiene applied - see references/agent-hygiene.md
Performance
Start with cluster-wide signals before loading symptom-specific references.
Bound logs, events, and object listings by namespace, time window, or selectors.
Prefer summarized evidence over dumping raw Kubernetes output into context.
Best Practices
Treat the current kube context as hidden state until it is explicitly named.
Separate health evidence from remediation; fixes require a separate escalation.
Report permission gaps and missing CRDs as diagnostic findings, not silent skips.
Run only the commands the reference files define. A monitoring context invites improvisation; resist it. When a check you want is not listed, write it as a suggested follow-up instead of guessing a service name, namespace, or path that may not exist.
Do not read a metric's status without knowing what the metric measures. The reference files state what each signal does and does NOT represent; misreading a percentage or a stale value produces a confidently wrong report.
Cluster Registry
This public skill has no built-in private cluster registry.
Users may create local-only overlays under skills/cluster-health/protected/ for private lab,
homelab, work, or customer cluster details. The directory is gitignored by this collection. If it
exists in the installed skill, read it while using this skill. A user can ask their agent to create
or update these files.
Suggested local layout:
protected/
registry.md # aliases, kube contexts, CWD patterns, profile mappings
private-patterns.txt # terms that must never appear in public files
<cluster-or-env>.md # local namespaces, runbooks, dashboards, thresholds
If protected/registry.md exists, read it first and use its alias, context, CWD pattern, and
reference mappings.
If the registry maps the target to protected/<cluster-or-env>.md, read that profile before
running checks.
If no protected registry exists, require an explicit kube context or ask before using the current
context.
Never guess a cluster from a vague request.
Never print protected registry contents in public reports unless the user asks for those exact
details.
Treat gitignored as local privacy, not encryption. Do not put protected overlays in shared logs,
issues, PR comments, or public reports.
Usage
cluster-health [context-or-alias] [timewindow]
context-or-alias is a kube context, current-context confirmation, or protected overlay alias.
timewindow defaults to 2h; use bounded values such as 30m, 1h, 2h, 6h, or 24h.
Workflow
Step 1: Resolve target
If a protected registry maps the request or current directory to an alias, use that mapping. If no
mapping exists, require an explicit kube context or ask whether to use kubectl config current-context.
Step 2: Confirm read-only scope
State the context and time window before running commands. Do not run mutation commands as part of
this skill.
Step 3: Run the generic sweep
Treat generic health, cluster-wide, and post-maintenance requests as broad sweeps: run
references/kubernetes-core.md, references/helm-gitops.md,
references/networking-ingress.md, references/storage.md, and
references/monitoring-logs.md. For a narrower symptom-scoped request, start with
references/kubernetes-core.md and load only the matching references below. Load
references/security.md when policy, RBAC, or image risk is in scope or the core sweep exposes it.
networking or certificate symptoms -> references/networking-ingress.md
release or reconciliation symptoms -> references/helm-gitops.md
pending pods or volume symptoms -> references/storage.md
noisy errors or alert symptoms -> references/monitoring-logs.md
policy, RBAC, or image-risk symptoms -> references/security.md
Step 4: Classify findings
Use GREEN for healthy signals, YELLOW for degraded or ambiguous state, and RED for user-visible
outage, data-risk, or control-plane risk. Distinguish transient rollout noise from persistent
degradation.
Step 5: Report
Return a concise report:
# Cluster Health Report - <context> (<timewindow>, YYYY-MM-DD HH:MM)
## Summary
- STATUS: GREEN|YELLOW|RED
- Scope: <contexts, namespaces, time window>
- Key findings: <short bullets>
## Evidence
- <area>: <command or source> -> <observed signal>
## Next Actions
- <read-only follow-up or explicit escalation request>
Reference Files
references/kubernetes-core.md - nodes, workloads, events, namespaces, and resource pressure
references/helm-gitops.md - Helm releases, GitOps controllers, and reconciliation state
references/networking-ingress.md - services, ingress, load balancers, DNS, and certificates
references/monitoring-logs.md - alerts, metrics availability, log triage, and noisy namespaces
references/security.md - read-only checks for RBAC, secrets exposure signals, image risk, and policy engines
Output Contract
See references/output-contract.md for the full contract.
Skill name: CLUSTER-HEALTH
Deliverable bucket:audits
Mode: conditional. When invoked to analyze, review, audit, or improve existing repo content, emit the full contract - monospace inline header, severity-grouped inline summary, linked Markdown deliverable, and concise monospace conclusion - and write the deliverable to docs/local/audits/cluster-health/<YYYY-MM-DD>-<slug>.md. When invoked to answer a question, teach a concept, build a new artifact, or generate content, respond freely without the contract.
Severity scale:P0 | P1 | P2 | P3 | info (see shared contract; only used in audit/review mode).
Related Skills
kubernetes - write or review manifests, Helm charts, Kustomize, and GitOps config
networking - debug DNS, routing, proxies, VPNs, and Linux networking
terraform - change infrastructure definitions or state
Rules
Read only. Do not mutate cluster state unless the user explicitly changes the task.
Use --context <context> on every kubectl command and --kube-context <context> on every helm command.
Cap output before putting it in context.
Never guess a cluster target from a vague request.
Keep protected overlay details out of public reports unless the user asks for those exact details.
Report failed checks as findings; do not hide missing tools, missing CRDs, or permission errors.
Run ONLY the read-only commands listed in the reference files. If a needed check is missing, note it as a suggested follow-up in the report rather than improvising a mutating or unlisted command. Inventing service names, paths, or flags is how diagnostic skills produce false results.
1---2name: cluster-health3description: >4 · Check Kubernetes cluster health with read-only diagnostics. Triggers: 'cluster health',5 'health check', 'cluster status', 'diagnostics', 'post-maintenance', 'node status'.6 Not for manifests/IaC (use kubernetes).7license: MIT8compatibility: "Requires kubectl. Optional: helm, jq, openssl, dig, ssh"9metadata:10 source: iuliandita/skills11 date_added: "2026-03-30"12 effort: high13 argument_hint: "[context-or-alias] [timewindow]"14---1516# Cluster Health1718Run read-only Kubernetes health checks and report cluster status with evidence. This skill works19without private overlays by requiring an explicit kube context or confirmed current context.20Local users may add ignored protected overlays for aliases and environment-specific checks.2122## When to use2324- User asks to check cluster health, status, diagnostics, node status, or post-maintenance state25- Verifying cluster-wide symptoms after upgrades, reboots, Helm changes, GitOps syncs, or incidents26- Gathering read-only evidence across nodes, workloads, events, ingress, storage, logs, and policy27- Producing a short traffic-light report from Kubernetes and related observability signals2829## When NOT to use3031- Writing or reviewing Kubernetes manifests - use **kubernetes**32- Writing Helm charts, Kustomize overlays, or IaC - use **kubernetes** or **terraform**33- Changing resources, restarting pods, deleting objects, or applying fixes - ask for explicit escalation34- Debugging one application deeply after the broad sweep identifies it - use the relevant domain skill3536---3738## AI Self-Check3940Before running checks or reporting results, verify:4142- [ ] Target context is explicit or the current context was confirmed43- [ ] Every `kubectl` command includes `--context <context>`44- [ ] Every `helm` command includes `--kube-context <context>`45- [ ] Commands are read-only: no apply, patch, delete, edit, rollout restart, scale, cordon, drain, or exec unless the user explicitly escalates46- [ ] Output is capped with `head`, `tail`, `--since`, `--field-selector`, or selectors47- [ ] Time window is bounded and stated in the report48- [ ] Protected registry contents are not printed unless the user asks for those exact details49- [ ] Findings include evidence, impact, and next action50- [ ] **Cluster target explicit**: kubeconfig context, namespace, and environment are named before any query51- [ ] **Read-only posture kept**: health checks do not mutate resources or restart workloads unless the user explicitly escalates52- [ ] **No improvisation**: only the read-only commands in the reference files were run; missing coverage was noted as a suggestion, not freelanced with guessed service names, paths, or flags53- [ ] **Stderr is visible**: diagnostic commands surface their failure reason instead of masking it with `2>/dev/null`; a missing tool, permission gap, or wrong context is reported, not silently treated as a clean result54- [ ] Cross-cutting agent hygiene applied - see `references/agent-hygiene.md`5556## Performance5758- Start with cluster-wide signals before loading symptom-specific references.59- Bound logs, events, and object listings by namespace, time window, or selectors.60- Prefer summarized evidence over dumping raw Kubernetes output into context.6162## Best Practices6364- Treat the current kube context as hidden state until it is explicitly named.65- Separate health evidence from remediation; fixes require a separate escalation.66- Report permission gaps and missing CRDs as diagnostic findings, not silent skips.67- Run only the commands the reference files define. A monitoring context invites improvisation; resist it. When a check you want is not listed, write it as a suggested follow-up instead of guessing a service name, namespace, or path that may not exist.68- Do not read a metric's status without knowing what the metric measures. The reference files state what each signal does and does NOT represent; misreading a percentage or a stale value produces a confidently wrong report.6970## Cluster Registry7172This public skill has no built-in private cluster registry.7374Users may create local-only overlays under `skills/cluster-health/protected/` for private lab,75homelab, work, or customer cluster details. The directory is gitignored by this collection. If it76exists in the installed skill, read it while using this skill. A user can ask their agent to create77or update these files.7879Suggested local layout:8081```text82protected/83 registry.md # aliases, kube contexts, CWD patterns, profile mappings84 private-patterns.txt # terms that must never appear in public files85 <cluster-or-env>.md # local namespaces, runbooks, dashboards, thresholds86```87881. If `protected/registry.md` exists, read it first and use its alias, context, CWD pattern, and89 reference mappings.902. If the registry maps the target to `protected/<cluster-or-env>.md`, read that profile before91 running checks.923. If no protected registry exists, require an explicit kube context or ask before using the current93 context.944. Never guess a cluster from a vague request.955. Never print protected registry contents in public reports unless the user asks for those exact96 details.976. Treat gitignored as local privacy, not encryption. Do not put protected overlays in shared logs,98 issues, PR comments, or public reports.99100## Usage101102```103cluster-health [context-or-alias] [timewindow]104```105106- `context-or-alias` is a kube context, current-context confirmation, or protected overlay alias.107- `timewindow` defaults to `2h`; use bounded values such as `30m`, `1h`, `2h`, `6h`, or `24h`.108109## Workflow110111### Step 1: Resolve target112113If a protected registry maps the request or current directory to an alias, use that mapping. If no114mapping exists, require an explicit kube context or ask whether to use `kubectl config current-context`.115116### Step 2: Confirm read-only scope117118State the context and time window before running commands. Do not run mutation commands as part of119this skill.120121### Step 3: Run the generic sweep122123Treat generic health, cluster-wide, and post-maintenance requests as broad sweeps: run124`references/kubernetes-core.md`, `references/helm-gitops.md`,125`references/networking-ingress.md`, `references/storage.md`, and126`references/monitoring-logs.md`. For a narrower symptom-scoped request, start with127`references/kubernetes-core.md` and load only the matching references below. Load128`references/security.md` when policy, RBAC, or image risk is in scope or the core sweep exposes it.129130- networking or certificate symptoms -> `references/networking-ingress.md`131- release or reconciliation symptoms -> `references/helm-gitops.md`132- pending pods or volume symptoms -> `references/storage.md`133- noisy errors or alert symptoms -> `references/monitoring-logs.md`134- policy, RBAC, or image-risk symptoms -> `references/security.md`135136### Step 4: Classify findings137138Use GREEN for healthy signals, YELLOW for degraded or ambiguous state, and RED for user-visible139outage, data-risk, or control-plane risk. Distinguish transient rollout noise from persistent140degradation.141142### Step 5: Report143144Return a concise report:145146```markdown147# Cluster Health Report - <context> (<timewindow>, YYYY-MM-DD HH:MM)148149## Summary150- STATUS: GREEN|YELLOW|RED151- Scope: <contexts, namespaces, time window>152- Key findings: <short bullets>153154## Evidence155- <area>: <command or source> -> <observed signal>156157## Next Actions158- <read-only follow-up or explicit escalation request>159```160161## Reference Files162163- `references/kubernetes-core.md` - nodes, workloads, events, namespaces, and resource pressure164- `references/helm-gitops.md` - Helm releases, GitOps controllers, and reconciliation state165- `references/networking-ingress.md` - services, ingress, load balancers, DNS, and certificates166- `references/storage.md` - PVs, PVCs, CSI drivers, storage classes, and volume attachment167- `references/monitoring-logs.md` - alerts, metrics availability, log triage, and noisy namespaces168- `references/security.md` - read-only checks for RBAC, secrets exposure signals, image risk, and policy engines169170## Output Contract171172See `references/output-contract.md` for the full contract.173174- **Skill name:** CLUSTER-HEALTH175- **Deliverable bucket:** `audits`176- **Mode:** conditional. When invoked to **analyze, review, audit, or improve** existing repo content, emit the full contract - monospace inline header, severity-grouped inline summary, linked Markdown deliverable, and concise monospace conclusion - and write the deliverable to `docs/local/audits/cluster-health/<YYYY-MM-DD>-<slug>.md`. When invoked to **answer a question, teach a concept, build a new artifact, or generate content**, respond freely without the contract.177- **Severity scale:** `P0 | P1 | P2 | P3 | info` (see shared contract; only used in audit/review mode).178179## Related Skills180181- **kubernetes** - write or review manifests, Helm charts, Kustomize, and GitOps config182- **networking** - debug DNS, routing, proxies, VPNs, and Linux networking183- **security-audit** - review security controls or vulnerability posture beyond read-only cluster signals184- **terraform** - change infrastructure definitions or state185186## Rules1871881. Read only. Do not mutate cluster state unless the user explicitly changes the task.1892. Use `--context <context>` on every `kubectl` command and `--kube-context <context>` on every `helm` command.1903. Cap output before putting it in context.1914. Never guess a cluster target from a vague request.1925. Keep protected overlay details out of public reports unless the user asks for those exact details.1936. Report failed checks as findings; do not hide missing tools, missing CRDs, or permission errors.1947. **Run ONLY the read-only commands listed in the reference files. If a needed check is missing, note it as a suggested follow-up in the report rather than improvising a mutating or unlisted command.** Inventing service names, paths, or flags is how diagnostic skills produce false results.
Run npx skillmds@latest add iuliandita/cluster-health in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
· Check Kubernetes cluster health with read-only diagnostics. Triggers: 'cluster health', 'health check', 'cluster status', 'diagnostics', 'post-maintenance', 'node status'. Not for manifests/IaC (use kubernetes). It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under MIT.
iuliandita (@iuliandita) published this skill. Their other Agent Skills are listed on their SkillMD profile.