kubernetes-troubleshooting

kubernetes-troubleshooting is a skill for Claude Code from joao-aires/agent-skills-public. It costs 90 tokens per session (1,323 once invoked), scanned A, original, MIT.

A method for diagnosing problems in a running Kubernetes workload or cluster from the state it reports. Kubernetes is software that runs and manages containers across a group of machines.

In plain words
What is it for?
Use it to investigate pod states, events, logs, health checks, resource limits, scheduling, DNS, services, network policies, storage and control-plane problems.
Why use it?
It keeps troubleshooting based on current evidence instead of guesses, while accounting for differences between Kubernetes versions, distributions and cloud providers. It also distinguishes diagnosis from changing manifests or provisioning infrastructure.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to investigate pod states, events, logs, health checks, resource limits, scheduling, DNS, services, network policies, storage and control-plane problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joao-aires/agent-skills-public/kubernetes-troubleshooting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add joao-aires/agent-skills-public --skill kubernetes-troubleshooting
Clone the repo
git clone --depth 1 https://github.com/joao-aires/agent-skills-public

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kubernetes-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/kubernetes-troubleshooting/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/kubernetes-troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/kubernetes-troubleshooting"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/kubernetes-troubleshooting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kubernetes-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/kubernetes-troubleshooting"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/kubernetes-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01323
Opus 5.5 $0.00036 $0.00529
Sonnet 5.5 $0.00018 $0.00265
Haiku 4.5 $0.00009 $0.00132

Measured today against content hash ebad12cf340d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kubernetes-troubleshooting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/operations-platforms/skills/kubernetes-troubleshooting/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kubernetes troubleshooting

Diagnose a live or reported Kubernetes problem from the state the cluster actually reports. This method owns evidence gathering, discrimination among plausible failure modes and a precise next action. It does not own manifest, chart or overlay design, cluster provisioning, upgrades or application repair outside the diagnosed scope.

Commands here are starting points, not portable syntax. Field names, log access, event retention, CNI enforcement, storage behavior and control-plane visibility vary by Kubernetes version, distribution and provider. Use current first-party documentation for exact syntax and the installed distribution's guidance for managed components.

Evidence discipline

Establish the cluster and distribution, version, active context, namespace, affected object, symptom, first and last observation, affected population and recent changes. Identify whether access is read-only or includes a granted mutation, and preserve that boundary.

  • Read object status, conditions, events and logs before proposing a cause.
  • Record the exact command, context and namespace, UTC timestamp and relevant output. Redact secrets, tokens and personal data.
  • Separate reported fact, live observation, inference and unavailable evidence.
  • Do not claim a live cluster fact from a manifest, a repository value, another environment or a provider status page.
  • A recent deployment or configuration change is a correlation, not proof of cause or remedy.
  • Managed control planes may hide etcd, controller and node evidence. Provider diagnostics can fill part of that gap; they do not establish application behavior.

Diagnostic order

Work from impact and controller evidence toward narrower runtime evidence. Skip a step only when earlier evidence makes it irrelevant, and say so.

Step Question First evidence
Scope Which users, workloads and dependencies are affected, and since when? Workload status, endpoints, alerts, dependent-service symptoms and recent rollout history.
Events and conditions What did the scheduler, kubelet, controllers or admission report? Namespace and object events in timestamp order; object status.conditions.
Pod lifecycle Is the pod scheduled, pulling, starting, running, ready, completing or terminating? Pod phase, container statuses, restart count, last termination state and waiting reason.
Logs What did the application, init containers and sidecars emit, now and before the last restart? Current and previous container logs with timestamps and the container name.
Probes and traffic Is it alive but not ready, ready but failing, or restarted by a probe? Probe configuration and events, readiness transitions, Service endpoints and serving path.
Resources and scheduling Do requests, limits, quota, node pressure, taints, affinity or disruption settings explain the state? Pod and node descriptions, QoS class, quota and limit ranges, autoscaler and controller events.
DNS and network Does the name resolve, does the Service select the pod, and do policy and routing allow the path? Endpoint slices, in-pod resolution, Service ports, NetworkPolicy, ingress/gateway status.
Storage Is the volume bound, attached, mounted and writable by the workload identity? PVC/PV status, storage class, volume attachment, mount and permission evidence.
Control plane and nodes Are nodes, system components, admission or the API healthy? Node conditions, system-namespace pods, API errors, webhook and provider diagnostics.
Change correlation What changed in the workload, configuration, credentials, policy, CRD, controller or cloud resource? Revision history, rendered configuration, secret/config version and provider events.

Read the full file on GitHub · 78 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +3 lines · +25 tokens per session ebad12cf340d
  2. 11d ago Changed · -3 lines 92a8b929a180
  3. 16d ago Changed 06fc49472403
  4. 19d ago First seen · 78 lines · 65 tokens per session scan A 793c3f27fca5

Subscribe to this mod's changes

kubernetes-troubleshooting is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 1,323 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.

Related

kubernetes-troubleshooting compared with skills from other repositories

kubernetes-troubleshooting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kubernetes-troubleshootingjoao-aires/agent-skills-publicSkill2yesterdayMITA90Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7kyesterdayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9kyesterdayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill345yesterdayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k4d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6k3d agoMITA63Claude Code