kubernetes-operations

kubernetes-operations is a skill for Claude Code from nodnarbnitram/claude-code-extensions. It costs 67 tokens per session (2,035 once invoked), scanned C, original, MIT.

A Kubernetes operations guide for working with containers and services running in Kubernetes clusters.

In plain words
What is it for?
Use it to inspect cluster context, debug pods, read logs, examine resources, check health, and manage deployments, services, configuration, and rollouts.
Why use it?
It reduces common operational mistakes, such as using the wrong cluster or namespace, exposing secrets, or missing useful logs and events.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect cluster context, debug pods, read logs, examine resources, check health, and manage deployments, services, configuration, and rollouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nodnarbnitram/claude-code-extensions/kubernetes-operations
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 nodnarbnitram/claude-code-extensions --skill kubernetes-operations
Clone the repo
git clone --depth 1 https://github.com/nodnarbnitram/claude-code-extensions

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-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/nodnarbnitram/claude-code-extensions/kubernetes-operations/github.svg)](https://agentmods.dev/skills/nodnarbnitram/claude-code-extensions/kubernetes-operations)
Your own site
<a href="https://agentmods.dev/skills/nodnarbnitram/claude-code-extensions/kubernetes-operations"><img src="https://agentmods.dev/badge/skills/nodnarbnitram/claude-code-extensions/kubernetes-operations/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-operations

Your own site · 80×15
<a href="https://agentmods.dev/skills/nodnarbnitram/claude-code-extensions/kubernetes-operations"><img src="https://agentmods.dev/badge/skills/nodnarbnitram/claude-code-extensions/kubernetes-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00067 $0.02035
Opus 5.5 $0.00027 $0.00814
Sonnet 5.5 $0.00013 $0.00407
Haiku 4.5 $0.00007 $0.00203

Measured 1mo ago against content hash 63b4a9e03a11, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

kubernetes-operations scanned grade C with 2 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/cluster_health.py, scripts/debug_pod.py, scripts/get_resources.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

cat ~/.kube/config

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

kubectl run debug --rm -it --image=busybox -- wget -qO- http://<service>:<port>
.claude/skills/kubernetes-operations/SKILL.md · 314 lines

How it starts

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

Kubernetes Operations

Comprehensive kubectl assistance for debugging, resource management, and cluster operations with token-efficient scripts.

BEFORE YOU START

This skill prevents 5 common errors and saves ~70% tokens.

Metric Without Skill With Skill
Pod Debugging ~1200 tokens ~400 tokens
Resource Listing ~800 tokens ~200 tokens
Cluster Health ~1500 tokens ~300 tokens

Known Issues This Skill Prevents

  1. Running kubectl commands in wrong namespace/context
  2. Verbose output flooding context with unnecessary data
  3. Missing critical debugging steps (events, previous logs)
  4. Exposing secrets in plain text output
  5. Destructive operations without dry-run verification

Quick Start

Step 1: Verify Context

kubectl config current-context
kubectl config get-contexts

Why this matters: Running commands in the wrong cluster can cause production incidents.

Step 2: Debug a Pod

uv run scripts/debug_pod.py <pod-name> [-n namespace]

Why this matters: The script combines describe, logs, and events into a condensed summary, saving ~800 tokens.

Step 3: Check Cluster Health

uv run scripts/cluster_health.py

Why this matters: Quick overview of node status and unhealthy pods without verbose output.

Critical Rules

Always Do

  • Always verify kubectl config current-context before operations
  • Always use -n namespace to be explicit about target
  • Always use --dry-run=client -o yaml before applying changes
  • Always check events when debugging: kubectl get events --sort-by='.lastTimestamp'
  • Always use --previous flag when pod is in CrashLoopBackOff

Never Do

  • Never run kubectl delete without --dry-run first in production
  • Never output secrets without filtering: avoid kubectl get secret -o yaml
  • Never assume default namespace - always specify -n
  • Never ignore resource limits when debugging OOMKilled pods
  • Never skip describe when logs show no errors

Read the full file on GitHub · 314 lines

Files

What ships with it

7 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. 1mo ago First seen · 314 lines · 67 tokens per session scan C 63b4a9e03a11

Subscribe to this mod's changes

kubernetes-operations is a skill published in the GitHub repository nodnarbnitram/claude-code-extensions (16 stars, last pushed 6mo ago), licensed MIT. It adds 67 tokens to every session and 2,035 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, profile management, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger…

NVIDIA/OpenShell · 134 tokens

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, declarative Helm plugins, varfile generation, EKS integration, source management.

cloudposse/atmos · 38 tokens