k8s-operator

k8s-operator is a skill for Claude Code from controlplane-com/ai-plugin. It costs 54 tokens per session (2,784 once invoked), scanned A, original, MIT.

A Kubernetes operator that keeps Control Plane resources in sync with configuration stored in a Kubernetes cluster. Kubernetes is a system for running and managing containers, while CRDs are custom resource types that extend Kubernetes.

In plain words
What is it for?
Use it with kubectl, ArgoCD, or Flux to apply, reconcile, and export Control Plane resources as Kubernetes manifests.
Why use it?
It lets teams manage Control Plane settings through Git-based workflows and have a cluster repeatedly apply the desired configuration.

Skill for Claude Code

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

Part of the cpln plugin — 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server shipped together

Good fit Use it with kubectl, ArgoCD, or Flux to apply, reconcile, and export Control Plane resources as Kubernetes manifests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/controlplane-com/ai-plugin/k8s-operator
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 controlplane-com/ai-plugin --skill k8s-operator
Clone the repo
git clone --depth 1 https://github.com/controlplane-com/ai-plugin

Made for: Claude Code.

Or install cpln, the plugin that ships this one along with the rest of its 32 skills, 2 commands, 2 agents, 1 hook, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/k8s-operator/github.svg)](https://agentmods.dev/skills/controlplane-com/ai-plugin/k8s-operator)
Your own site
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/k8s-operator"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/k8s-operator/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 k8s-operator

Your own site · 80×15
<a href="https://agentmods.dev/skills/controlplane-com/ai-plugin/k8s-operator"><img src="https://agentmods.dev/badge/skills/controlplane-com/ai-plugin/k8s-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,784 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.02784
Opus 5.5 $0.00022 $0.01114
Sonnet 5.5 $0.00011 $0.00557
Haiku 4.5 $0.00005 $0.00278

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

Security

Grade A, and why

k8s-operator 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 1mo ago.

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/cpln/skills/k8s-operator/SKILL.md · 148 lines

How it starts

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

Kubernetes Operator

The operator (Helm chart cpln-operator) runs in any Kubernetes cluster and reconciles cpln.io/v1 custom resources, plus labeled native Secrets, against the platform on a 30-second loop. Reach for it only when resources must live in Git and be reconciled from a cluster (ArgoCD/Flux); for direct provisioning prefer the typed MCP tools, and for pipeline-driven YAML prefer cpln apply (gitops-cicd skill). The recurring failure is manifest shape: org, gvc, and description sit at the top level next to spec, not inside it; author the spec block from mcp__cpln__get_resource with schema: true, or skip hand-writing entirely by exporting with -o crd.

Install

cert-manager is a hard requirement (the chart ships a self-signed Issuer whose certificate backs the operator's mutating webhook), then the chart, then per-org auth:

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.16.3/cert-manager.yaml
kubectl wait --for=condition=Available deployment --all -n cert-manager --timeout=300s

helm repo add cpln https://controlplane-com.github.io/k8s-operator
helm install cpln-operator cpln/cpln-operator -n controlplane --create-namespace
kubectl get pods -n controlplane -l app=operator

cpln operator install --serviceaccount k8s-operator --org ORG

cpln operator install configures auth only (the Helm step deploys the operator): it gets-or-creates the service account, adds it to a group (--serviceaccount-group, default superusers — any other group prints a warning), mints a new key, and applies a Secret named after the org in the controlplane namespace. Re-running with the same --serviceaccount is a no-op; a different name replaces the secret with a fresh key; an org-named secret the operator does not own aborts the install. --export prints the Secret YAML instead of applying it, and still creates the service account and key on the platform. The YAML holds that key: the user runs it in their own terminal, and it stays out of Git unless encrypted (Sealed Secrets, SOPS).

Read the full file on GitHub · 148 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. 1mo ago Changed 6754500acce5
  2. 2mo ago Changed · -25 lines c8eb8ee2ba3f
  3. 3mo ago First seen · 173 lines · 54 tokens per session scan A 5f6d5ca2fbd8

Subscribe to this mod's changes

k8s-operator is a skill published in the GitHub repository controlplane-com/ai-plugin (12 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 2,784 once invoked, about $0.0002 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-08-31.

Related

k8s-operator compared with skills from other repositories

k8s-operator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
k8s-operatorcontrolplane-com/ai-pluginSkill12yesterdayMITA54Claude Code
ak-cloud-deployyaalalabs/agent-kernelSkill195todayApache-2.0A204Claude Code, Codex
cloud-native-ebpf-networkingj4flmao/agent-skillsSkill4715d agoMITA103Claude Code, Codex
kubernetes-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A53Claude Code
k8s-generatorglincker/claude-code-marketplaceSkill382mo agoApache-2.0A22Claude Code
openpitrixkubesphere/kubesphereSkill17k4mo agononeA60Claude Code, Codex
kubesphere-fluidkubesphere/kubesphereSkill17k4mo agononeA72Claude Code, Codex