kubernetes-agent

kubernetes-agent is a skill for Claude Code, Codex from chandrudp29/skillhub. It costs 25 tokens per session (1,214 once invoked), scanned A, original, MIT.

A guide to running applications on Kubernetes, a system that schedules and manages containers across computers. It covers deployment settings, health checks, resources, secrets, networking and scaling.

In plain words
What is it for?
Use it to write, review or troubleshoot Kubernetes manifests and cluster configurations in cloud or on-premises environments.
Why use it?
It helps prevent unreliable deployments, containers using too many resources, unsafe secret handling and traffic being sent to unhealthy application instances.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to write, review or troubleshoot Kubernetes manifests and cluster configurations…

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/chandrudp29/skillhub/kubernetes-agent.svg)](https://agentmods.dev/skills/chandrudp29/skillhub/kubernetes-agent)
Your own site
<a href="https://agentmods.dev/skills/chandrudp29/skillhub/kubernetes-agent"><img src="https://agentmods.dev/badge/skills/chandrudp29/skillhub/kubernetes-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,214 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.00025 $0.01214
Opus 5 $0.00013 $0.00607
Sonnet 5 $0.00005 $0.00243
Haiku 4.5 $0.00003 $0.00121

Measured 7d ago against content hash bd9662861509, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

kubernetes-agent 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 7d 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.

skills/kubernetes-agent/SKILL.md · 182 lines

How it starts

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

When to Use

Apply when writing, reviewing, or debugging Kubernetes manifests and cluster configurations. Works for any cloud provider (EKS, GKE, AKS) and on-prem.

Core Rules

  • Always set CPU/memory requests AND limits — never leave them unset
  • Always define readinessProbe and livenessProbe — they prevent bad rollouts
  • Never run containers as root — set runAsNonRoot: true
  • Store secrets in a secrets manager (Vault, AWS Secrets Manager) — not Kubernetes Secrets (they're just base64)
  • Use RollingUpdate strategy with maxUnavailable: 0 for zero-downtime deploys

Deployment Template

apiVersion: apps/v1
kind: Deployment
metadata:
  name: api-server
  labels:
    app: api-server
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 0
      maxSurge: 1
  selector:
    matchLabels:
      app: api-server
  template:
    metadata:
      labels:
        app: api-server
    spec:
      securityContext:
        runAsNonRoot: true
        runAsUser: 1000
      containers:
        - name: api-server
          image: myapp:1.2.3  # never use :latest in production
          ports:
            - containerPort: 8080
          resources:
            requests:
              cpu: 100m
              memory: 128Mi
            limits:
              cpu: 500m
              memory: 512Mi
          readinessProbe:
            httpGet:
              path: /healthz/ready
              port: 8080
            initialDelaySeconds: 5
            periodSeconds: 10
          livenessProbe:
            httpGet:
              path: /healthz/live
              port: 8080
            initialDelaySeconds: 15
            periodSeconds: 20
          env:
            - name: DATABASE_URL
              valueFrom:
                secretKeyRef:
                  name: app-secrets
                  key: database-url

Resource Sizing

Requests: what the scheduler guarantees (use P50 of actual usage)
Limits:   ceiling that triggers OOMKill/throttle (use P99 + 20% headroom)

Common starting points:
  Small service:  requests: 50m CPU / 64Mi RAM,  limits: 200m / 256Mi
  Medium service: requests: 100m / 128Mi,         limits: 500m / 512Mi
  Heavy service:  requests: 500m / 512Mi,         limits: 2000m / 2Gi

CPU throttling: hitting CPU limit slows the container (not killed)
Memory OOMKill: hitting memory limit kills the container immediately
→ Set memory limit generously; set CPU limit conservatively

Read the full file on GitHub · 182 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. 7d ago First seen · 182 lines · 25 tokens per session scan A bd9662861509

Subscribe to this mod's changes

kubernetes-agent is a skill published in the GitHub repository chandrudp29/skillhub (13 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 1,214 once invoked, about $0.0001 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.