kubernetes-operator-development

kubernetes-operator-development is a skill for Claude Code, Codex from d-padmanabhan/agent-engineering-handbook. It costs 72 tokens per session (1,504 once invoked), scanned A, original, MIT.

A skill for designing, implementing, reviewing, testing, and operating Kubernetes operators in Go. An operator is a program that watches Kubernetes resources and reconciles the cluster with the desired state.

In plain words
What is it for?
Use it to work on custom resources, reconciliation loops, finalizers, admission webhooks, external controllers, and controller tests.
Why use it?
It helps make controllers safe across retries, restarts, upgrades, duplicate events, and failed external calls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to work on custom resources, reconciliation loops, finalizers, admission webhooks, external controllers, and controller tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development
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 d-padmanabhan/agent-engineering-handbook --skill kubernetes-operator-development
Clone the repo
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbook

Made for: Claude Code, Codex.

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-operator-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development/github.svg)](https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development)
Your own site
<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development/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-operator-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/kubernetes-operator-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,504 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.00072 $0.01504
Opus 5 $0.00036 $0.00752
Sonnet 5 $0.00014 $0.00301
Haiku 4.5 $0.00007 $0.00150

Measured today against content hash 97b0aab3a607, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kubernetes-operator-development 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.

skills/kubernetes-operator-development/SKILL.md · 161 lines

How it starts

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

Kubernetes Operator Development

Mandatory controller and cluster-mutation gates live in the Kubernetes rule (${HANDBOOK_ROOT}/rules/450-kubernetes.mdc). This skill owns the operator design and implementation workflow. Use the Kubernetes containers skill (${HANDBOOK_ROOT}/skills/kubernetes-containers/SKILL.md) for workloads, Helm, Argo CD, and cluster operations.

Core Contract

A custom resource expresses desired intent. Reconciliation observes desired and actual state, performs retry-safe work, and records what was observed. Events only indicate that state might have changed; they are not durable exactly-once commands.

Every design must answer:

  • What is authoritative, and which fields does this controller own?
  • How is each external resource identified and ownership-verified?
  • What happens after duplicate delivery, restart, timeout, or lost response?
  • What is safe to create, adopt, update, retain, and delete?
  • What makes each condition current for the resource generation?
  • What bounds retries, provider calls, concurrency, and tenant impact?
  • How are API and operator upgrades rolled forward and back?

Do not implement a one-shot provisioning workflow inside Reconcile.

Decide Whether to Build an Operator

Prefer an existing Kubernetes API, vendor operator, Crossplane provider, cloud service operator, or composition mechanism when it already provides the required ownership and lifecycle semantics.

Build a custom operator when continuous convergence, a domain-specific API, multi-resource ownership, or custom lifecycle policy creates clear platform value. Do not wrap a trivial remote API call merely to expose it as a CRD.

Design Before Coding

Complete the design review template (${HANDBOOK_ROOT}/skills/kubernetes-operator-development/references/design-review-template.md) before scaffolding implementation. Resolve:

  1. API intent, scope, maturity, and compatibility.
  2. Source of truth and field ownership.
  3. External identity, collision prevention, and adoption proof.
  4. finalizer, deletion, orphan, and recovery behavior.
  5. status conditions and readiness semantics.
  6. retry, rate-limit, timeout, and concurrency budgets.
  7. authentication, Kubernetes RBAC, and provider authorization.
  8. test, upgrade, observability, and rollback evidence.

Read the full file on GitHub · 161 lines

Files

What ships with it

5 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 First seen · 161 lines · 72 tokens per session scan A 97b0aab3a607

Subscribe to this mod's changes

kubernetes-operator-development is a skill published in the GitHub repository d-padmanabhan/agent-engineering-handbook (17 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 1,504 once invoked, about $0.0004 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-09-12.

Related

Other skills, from other repositories

audit-release-go-version

Audit the effective Go builder versions used by images in an OpenShift Container Platform release image or payload against a requested Go version. Use when the user asks which OCP release images were built with a different Go version, wants a concise payload Go-version audit, or needs Dockerfile builder evidence for…

openshift-eng/ai-helpers · 68 tokens

go-binary-size

Reduce the size of compiled Go binaries and container images: linker flags, inlining budget, CGO and build tags, embedded assets, dependency weight, and measuring what actually costs bytes. Use when a binary or image is too large, when shrinking a CLI for distribution, or when auditing what a dependency adds to the…

eduardo-sl/go-agent-skills · 138 tokens

go-containers

Go container optimization — scratch/distroless images, static binaries, CGO, ldflags, trimpath (846MB to 2.5MB). Use when working with Go containers or optimizing Go image sizes.

laurigates/claude-plugins · 47 tokens

go-deploy

Build and deploy Go applications — version detection, static binaries, CGO, workspaces, and Dockerfile patterns. Use when deploying a Go project, or when go.mod is detected.

nixopus/nixopus · 41 tokens

golang-k8s-agent

Use when building Go-based Kubernetes agents/controllers, reconcile loops, or cloud-native systems. Invoke for controller-runtime, CRDs, leader election, and Go concurrency.

Awish021/opencode · 39 tokens

docker-deploy

Build and deploy Go applications with Docker. Generates optimized multi-stage Dockerfiles, distroless images, docker-compose configs, and CI/CD pipelines. Use when dockerizing a Go app, optimizing image size, or setting up deployment. Triggers: "Dockerize my Go app", "Create a Dockerfile", "Deploy my Go service"…

daibang123a/golang-agent-skills · 87 tokens