Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By fabnv0.1.2In 1 marketplace
Kubernetes workload rightsizing: derive CPU and memory requests from observed usage metrics, size limits for safety rather than savings, reconcile against the values declared in Terraform or Helm, and gate every change behind a rendered-plan check and a live-object check.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
kubernetes, k8s, rightsizing, resources, requests, limits, cpu, memory ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Kubernetes workload rightsizing: derive CPU and memory requests from observed usage metrics, size limits for safety rather than savings, reconcile against the values declared in Terraform or Helm, and gate every change behind a rendered-plan check and a live-object check.
| Skill | Description |
|---|---|
/kubernetes:rightsizing | Analyze observed CPU and memory usage, compare against declared resource values, and recommend requests and limits — with optional application behind two verification gates |
| Requirement | Required | Why |
|---|---|---|
| A metrics backend holding Kubernetes resource metrics (Datadog) | Yes | There is no fallback. The method sizes against observed usage. |
kubectl with a context for each cluster | Yes | Verifying the environment discriminator, reading pod ages and specs, and the post-apply live-object check. |
| Read access to the repository that declares the resource values | Yes | Terraform modules, Helm values, or raw manifests. |
kube-capacity | No | Node-level allocatable against requested, in one call — which is what turns a request reduction into a node count. Falls back to kubectl top nodes plus a node read. |
brew install kube-capacity # or
kubectl krew install resource-capacity
The metrics backend is deliberately not abstracted. The skill ships concrete, runnable Datadog queries rather than provider-agnostic advice; see skills/rightsizing/reference/metric-queries.md. Install the datadog plugin alongside this one for the metrics MCP servers and the DD_* credentials they need.
| Server | Package | Purpose |
|---|---|---|
kubernetes.kubernetes-mcp | kubernetes-mcp-server | Live pod specs, pod ages, deployment and node reads |
Started with read_only = true from mcp-config.toml (the server dropped its runtime flags in 0.1.x, so settings live in TOML) and pinned to an exact version so a flag change upstream cannot break it silently. The skill never mutates the cluster: changes go through the repository's own declaration and the project's own apply mechanism. The server inherits the ambient environment, so it picks up KUBECONFIG if set and falls back to ~/.kube/config otherwise.
/kubernetes:rightsizing
On first run in a project the skill runs a discovery pass, proposes the settings it can detect, and writes .claude/kubernetes.local.md. Add that path to .gitignore — it is per-developer and holds cluster and namespace names.
Everything project-specific lives in .claude/kubernetes.local.md: clusters, namespaces per environment, which file declares each workload, what the knobs are called, the metrics tag keys, and the commands that preview, apply and read back a change. The full schema is in skills/rightsizing/reference/configuration.md.
Three keys exist because assuming them went wrong in practice:
workloads — maps a workload's metrics tag value to the file and block that declares it. A workload name is not assumed to match a file name, because the step downstream of that guess is an Edit.knobs — the input names of whatever module or chart wraps Kubernetes, which are often not the Kubernetes field names. Helm accepts an unknown value key silently, so a wrong name is indistinguishable from a working one until the rendered manifest is read.environment_discriminator — the input that genuinely separates the environments, plus where it is observable on a live object so the claim can be checked./kubernetes:rightsizingLoads or creates the settings, discovers clusters and workloads, parses the declared values, verifies the environment discriminator against live objects, gathers usage at two resolutions, establishes whether the observed peak can be trusted, computes, translates the result into node headroom, reports, and optionally applies.
Requests are the only savings lever. A limit is not reserved by the scheduler, so lowering one frees no capacity and only narrows the margin before an OOM kill. Savings count request reductions and nothing else; memory limits move up for safety or down only to contain a known leak; CPU limits are recommended for removal as a correctness change. Every limit left deliberately untouched is listed as such. Request savings are reported in the same table as their node consequence and never where the millicore total can be quoted alone, because only the node figure is money.
Five conditions make an observed figure something other than what it looks like, and the skill establishes all five before sizing anything, because each can move a recommendation by an order of magnitude — and each fails by producing a plausible number rather than an error:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub fabn/claude-plugins --plugin kubernetesPlugins from other owners that cover similar ground