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.
npx skills add chandrudp29/skillhub --skill kubernetes-agentgit clone --depth 1 https://github.com/chandrudp29/skillhubWrote 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.
[](https://agentmods.dev/skills/chandrudp29/skillhub/kubernetes-agent)<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>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.
| Model | Per session | Once 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 |
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.
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
requestsANDlimits— never leave them unset - Always define
readinessProbeandlivenessProbe— 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
RollingUpdatestrategy withmaxUnavailable: 0for 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
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.
- 7d ago First seen · 182 lines · 25 tokens per session scan A bd9662861509
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.
Other skills, from other repositories
kubectl-basics
A guide to kubectl, the command-line tool used to manage Kubernetes clusters, which run containerized applications.
deployment
Kubernetes Deployment 管理.
service-ingress
Kubernetes Service 与 Ingress.
configmap-secret
Kubernetes ConfigMap 与 Secret.
kubernetes
Kubernetes operations playbook for deploying services: core objects, probes, resource sizing, safe rollouts, and fast kubectl debugging.
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.