kubernetes-ops

kubernetes-ops is a skill for Claude Code from 0xDarkMatter/claude-mods. It costs 91 tokens per session (2,518 once invoked), scanned A, original, MIT.

A Kubernetes and Helm operations guide for deploying and running containerised applications. Kubernetes manages groups of containers, while Helm packages and installs their configuration.

In plain words
What is it for?
It helps create and review deployments, services, health probes, resource limits, autoscaling, network policies, Gateway API routes, Helm charts, and safe kubectl operations.
Why use it?
It helps avoid operational mistakes such as sending traffic to unready services, applying changes to the wrong cluster, or deleting resources accidentally.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the claude-mods plugin — 112 skills, 3 commands, 3 agents, 4 hooks shipped together

Good fit It helps create and review deployments, services, health probes, resource limits, autoscaling, network policies, Gateway API routes, Helm charts, and safe kubectl operations.

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

Made for: Claude Code.

Or install claude-mods, the plugin that ships this one along with the rest of its 112 skills, 3 commands, 3 agents, 4 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/kubernetes-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/kubernetes-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,518 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.00091 $0.02518
Opus 5.5 $0.00036 $0.01007
Sonnet 5.5 $0.00018 $0.00504
Haiku 4.5 $0.00009 $0.00252

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

Security

Grade A, and why

kubernetes-ops 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/run.sh), 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.

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.

skills/kubernetes-ops/SKILL.md · 166 lines

How it starts

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

Kubernetes Operations

Manifests, charts and day-two kubectl for Kubernetes 1.35-1.37. Facts verified 2026-10-07: Kubernetes 1.37 "Garhwal" is current (1.34 reaches end of life on 2026-10-27), Helm 4 is current, and Gateway API v1.6 is the routing API. docker-ops' scripts/check-docker-facts.py --live watches these versions weekly.

Why: a manifest that applies cleanly can still take production down. A pod with no readiness probe takes traffic before it can serve; a namespace delete takes its volumes with it; an Ingress controller that stopped getting security fixes in March 2026 is still routing traffic in most clusters.

Hard rules

  1. Know where you are before you write. Run kubectl config current-context before any apply, delete or Helm command, and name the context when you report. Deletes, apply --prune, helm uninstall and namespace teardown are Tier 2: list what goes, ask, wait (docker-ops destructive-commands.md has the Kubernetes and Helm table).
  2. New routes use Gateway API, not ingress-nginx. ingress-nginx was retired: no releases or security fixes since March 2026, and the repo is archived. Existing installs keep working until a CVE lands. InGate was retired too, so it is not the successor. Migrate with Ingress2Gateway. gateway-api.md
  3. Pods meet the restricted Pod Security Standard. runAsNonRoot: true with a numeric runAsUser, allowPrivilegeEscalation: false, capabilities.drop: [ALL], seccompProfile.type: RuntimeDefault. readOnlyRootFilesystem: true is recommended, but Restricted does not require it. Enforce with the namespace label pod-security.kubernetes.io/enforce: restricted.
  4. Every container has requests, a memory limit, and probes that mean different things. readiness = "send me traffic", liveness = "restart me", startup = "I'm still booting". A liveness probe that checks a database restarts healthy pods when the database blips.
  5. Images by version, and by digest in production. Never :latest (and never imagePullPolicy: Always as a substitute for pinning). The image itself is docker-ops' job.
  6. A Secret is base64, not encryption. Never commit Secret manifests with data. Use External Secrets Operator, Sealed Secrets or the Secrets Store CSI driver, and limit get secrets in RBAC.
  7. Helm 4 changed defaults. New releases use server-side apply. --atomic is now --rollback-on-failure and --force is --force-replace (the old flags warn). Post-renderers are plugins. Rendering with helm template | kubectl apply loses release tracking and rollback. helm-patterns.md
  8. Preview before changing a shared cluster: kubectl diff -f ... and kubectl apply --dry-run=server -f .... Prefer GitOps over hand-applies for anything long-lived.

Read the full file on GitHub · 166 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. yesterday First seen · 166 lines · 91 tokens per session scan A b0daf36cc359

Subscribe to this mod's changes

kubernetes-ops is a skill published in the GitHub repository 0xDarkMatter/claude-mods (63 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 2,518 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-10-15.

Related

Other skills, from other repositories