operating-kubernetes

operating-kubernetes is a skill for Claude Code from ancoleman/ai-design-components. It costs 49 tokens per session (3,395 once invoked), scanned A, original, MIT.

Guidance for running Kubernetes, a system that deploys and manages applications across groups of servers. It covers resources, scheduling, networking, storage, security, autoscaling, and troubleshooting.

In plain words
What is it for?
Use it when deploying applications, setting CPU and memory limits, configuring autoscaling, network rules, access permissions, persistent storage, or high availability across zones.
Why use it?
It helps prevent poorly sized workloads, insecure access, networking problems, storage failures, and common pod issues. It also provides structured ways to diagnose operational problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the infrastructure-skills plugin — 12 skills shipped together

Good fit Use it when deploying applications, setting CPU and memory limits, configuring autoscaling, network rules, access permissions, persistent storage, or high availability across zones.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ancoleman/ai-design-components/operating-kubernetes
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 ancoleman/ai-design-components --skill operating-kubernetes
Clone the repo
git clone --depth 1 https://github.com/ancoleman/ai-design-components

Made for: Claude Code.

Or install infrastructure-skills, the plugin that ships this one along with the rest of its 12 skills.

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 operating-kubernetes

README.md
[![agentmods](https://agentmods.dev/badge/skills/ancoleman/ai-design-components/operating-kubernetes.svg)](https://agentmods.dev/skills/ancoleman/ai-design-components/operating-kubernetes)
Your own site
<a href="https://agentmods.dev/skills/ancoleman/ai-design-components/operating-kubernetes"><img src="https://agentmods.dev/badge/skills/ancoleman/ai-design-components/operating-kubernetes.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,395 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.00049 $0.03395
Opus 5 $0.00024 $0.01698
Sonnet 5 $0.00010 $0.00679
Haiku 4.5 $0.00005 $0.00340

Measured 8d ago against content hash 8761716c392b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

operating-kubernetes 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 8d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (examples/python/generate_cost_report.py, examples/python/list_pods_without_limits.py, examples/python/validate_rbac.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.

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/operating-kubernetes/SKILL.md · 503 lines

How it starts

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

Kubernetes Operations

Purpose

Operating Kubernetes clusters in production requires mastery of resource management, scheduling patterns, networking architecture, storage strategies, security hardening, and autoscaling. This skill provides operations-first frameworks for right-sizing workloads, implementing high-availability patterns, securing clusters with RBAC and Pod Security Standards, and systematically troubleshooting common failures.

Use this skill when deploying applications to Kubernetes, configuring cluster resources, implementing NetworkPolicies for zero-trust security, setting up autoscaling (HPA, VPA, KEDA), managing persistent storage, or diagnosing operational issues like CrashLoopBackOff or resource exhaustion.

When to Use This Skill

Common Triggers:

  • "Deploy my application to Kubernetes"
  • "Configure resource requests and limits"
  • "Set up autoscaling for my pods"
  • "Implement NetworkPolicies for security"
  • "My pod is stuck in Pending/CrashLoopBackOff"
  • "Configure RBAC with least privilege"
  • "Set up persistent storage for my database"
  • "Spread pods across availability zones"

Operations Covered:

  • Resource management (CPU/memory, QoS classes, quotas)
  • Advanced scheduling (affinity, taints, topology spread)
  • Networking (NetworkPolicies, Ingress, Gateway API)
  • Storage operations (StorageClasses, PVCs, CSI)
  • Security hardening (RBAC, Pod Security Standards, policies)
  • Autoscaling (HPA, VPA, KEDA, cluster autoscaler)
  • Troubleshooting (systematic debugging playbooks)

Resource Management

Quality of Service (QoS) Classes

Kubernetes assigns QoS classes based on resource requests and limits:

Guaranteed (Highest Priority):

  • Requests equal limits for CPU and memory
  • Never evicted unless exceeding limits
  • Use for critical production services
resources:
  requests:
    memory: "512Mi"
    cpu: "500m"
  limits:
    memory: "512Mi"  # Same as request
    cpu: "500m"

Burstable (Medium Priority):

  • Requests less than limits (or only requests set)
  • Can burst above requests
  • Evicted under node pressure
  • Use for web servers, most applications

Read the full file on GitHub · 503 lines

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. 8d ago First seen · 503 lines · 49 tokens per session scan A 8761716c392b

Subscribe to this mod's changes

operating-kubernetes is a skill published in the GitHub repository ancoleman/ai-design-components (519 stars, last pushed 9mo ago), licensed MIT. It adds 49 tokens to every session and 3,395 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

docker-debugger

Debug Docker containers, fix Dockerfile issues, optimize images, and troubleshoot docker-compose. Use when having Docker problems, container issues, or optimizing Docker builds.

OneWave-AI/claude-skills · 35 tokens

ui-ux-laws

Priority-ordered rulebook of core UX/UI laws, cognitive-psychology principles, Nielsen's usability heuristics, and accessibility requirements that Claude must actively apply (not just cite) whenever it designs, builds, redesigns, reviews, or critiques any user interface — websites, web/mobile apps, dashboards, forms…

AmirGhl/ui-ux-laws · 203 tokens

compose

A guide to Docker Compose, a tool for defining and running applications made of multiple containers, such as a web app, API, and database.

chaterm/terminal-skills · 6 tokens

networking

A guide to Docker container networking, which controls how containers communicate with each other, the host computer, and other machines. It explains bridge, host, none, overlay, and macvlan network modes.

chaterm/terminal-skills · 8 tokens

helm

A guide to Helm, a package manager for Kubernetes applications. Helm uses reusable packages called Charts to install, configure, upgrade, inspect, and remove groups of Kubernetes resources.

chaterm/terminal-skills · 6 tokens

container-ops

A reference for operating Docker containers, which are isolated environments used to run applications and their dependencies. It covers starting, stopping, inspecting, entering, monitoring, and removing containers.

chaterm/terminal-skills · 11 tokens