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 SumonMSelim/agentguard --skill kubernetesgit clone --depth 1 https://github.com/SumonMSelim/agentguardWrote 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/sumonmselim/agentguard/kubernetes)<a href="https://agentmods.dev/skills/sumonmselim/agentguard/kubernetes"><img src="https://agentmods.dev/badge/skills/sumonmselim/agentguard/kubernetes/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.
<a href="https://agentmods.dev/skills/sumonmselim/agentguard/kubernetes"><img src="https://agentmods.dev/badge/skills/sumonmselim/agentguard/kubernetes.svg" alt="Reviewed on agentmods" width="80" 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.00000 | $0.01214 |
| Opus 5.5 | $0.00000 | $0.00486 |
| Sonnet 5.5 | $0.00000 | $0.00243 |
| Haiku 4.5 | $0.00000 | $0.00121 |
Grade A, and why
kubernetes scanned grade A with 1 finding 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.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Never run as root. `runAsNonRoot: true`, `runAsUser` (non-zero) in `securityContext` Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kubernetes
Pod security
- Never run as root.
runAsNonRoot: true,runAsUser(non-zero) insecurityContext readOnlyRootFilesystem: true. Mount writable volumes explicitlyallowPrivilegeEscalation: false- Drop all capabilities, re-add only what's needed:
capabilities: {drop: [ALL], add: [NET_BIND_SERVICE]} - No
hostPID,hostNetwork,hostIPCwithout explicit system-level justification - Pod Security Admission:
restrictedprofile for all application workloads.baselineminimum for system workloads automountServiceAccountToken: falseon pods that don't call the API server
RBAC
- Least privilege. Separate
ServiceAccountper workload. No default SA with cluster-level roles Role/RoleBindingoverClusterRole/ClusterRoleBindingunless cluster-scope is required- Audit RBAC with
kubectl auth can-i --listandrakkessorrbac-tool - No
verbs: ["*"]orresources: ["*"]in production roles
Secrets
- Secrets in external store (Vault, AWS Secrets Manager, GCP Secret Manager). Sync via External Secrets Operator or Secrets Store CSI driver
- Never commit secrets to git. Plain Kubernetes
Secretobjects are base64 only — require etcd encryption at rest - etcd encryption at rest enabled. etcd backed up on schedule (Velero or equivalent)
Network policy
- Default-deny ingress and egress per namespace. Explicit allow rules per service
- NetworkPolicies enforced by CNI (Calico, Cilium, or equivalent). Verify CNI supports policy enforcement — not all do
- Cilium: use
CiliumNetworkPolicyfor L7 rules (HTTP, gRPC path/method filtering) where needed
Workloads
Deploymentfor stateless.StatefulSetfor stateful with stable identity.DaemonSetfor node-level agentsrequestsandlimitson every container. No unbounded CPU or memory- CPU
limitscause throttling — set conservatively or omit and rely on namespaceLimitRange. Memorylimitscause OOMKill — set with headroom minReplicas≥ 2 for production. Single-replica = not HA- Liveness probe: deadlock detection. Readiness probe: traffic gating. Startup probe: slow-starting containers. All three on every long-running container
terminationGracePeriodSecondsset to cover max request duration + drain time. Default 30s is often too shortpreStop: exec: sleep 5(or equivalent) to allow load balancer to drain before SIGTERMPodDisruptionBudgeton all production workloads.minAvailable> 0topologySpreadConstraintsorpodAntiAffinityto spread replicas across nodes and zonesHorizontalPodAutoscaleron CPU/memory or custom metrics for stateless workloads- KEDA for event-driven scaling (queue depth, Kafka lag, cron). Preferred over custom metrics pipelines
VerticalPodAutoscalerin recommendation mode to right-size requests over time
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.
- 1mo ago First seen · 78 lines · 0 tokens per session scan A eec484a145dd
kubernetes is a skill published in the GitHub repository SumonMSelim/agentguard (54 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,214 tokens. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
metago-container-expert
Containerization Expert - specializes in Dockerfile, multi-arch builds, image optimization, vulnerability scanning, and registry publishing.
ascend-docker
Create Docker containers for Huawei Ascend NPU development with proper device mappings and volume mounts. Use when setting up Ascend development environments in Docker, running CANN applications in containers, or creating isolated NPU development workspaces. Supports privileged mode (default), basic mode, and full…
external-gitcode-ascend-cann-nnal-installer
An installer for the full CANN software stack: Toolkit, Kernels, and NNAL for Ascend NPUs. It can install downloaded packages or extract them from a Docker image.
docker-best-practices
A guide to writing Dockerfiles and building containers, which package an application with what it needs to run. It covers smaller images, faster rebuilds, fixed base versions, safer users, and keeping secrets out.
docker-cn
A guide for configuring Docker image mirrors in mainland China, where access to Docker Hub can be unreliable. Docker image mirrors are alternate registries that cache or serve container images.
ascend-docker
Create Docker containers for Huawei Ascend NPU development with proper device mappings and volume mounts. Use when setting up Ascend development environments in Docker, running CANN applications in containers, or creating isolated NPU development workspaces. Supports privileged mode (default), basic mode, and full…