kubernetes-specialist

kubernetes-specialist is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 34 tokens per session (1,512 once invoked), scanned A, original, MIT.

A guide for deploying and troubleshooting applications in Kubernetes, a system that runs containerized software across a cluster of machines.

In plain words
What is it for?
Use it to inspect Pods and logs, debug containers, create Helm charts, configure autoscaling, manage services and secrets, and review cluster resources.
Why use it?
It provides a structured way to investigate failed or restarting workloads and manage deployment, scaling, configuration, storage, and access controls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect Pods and logs, debug containers, create Helm charts, configure autoscaling, manage services and secrets, and review cluster resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist
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 seaworld008/Commonly-used-high-value-skills --skill kubernetes-specialist
Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist/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 kubernetes-specialist

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/kubernetes-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 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.00034 $0.01512
Opus 5 $0.00017 $0.00756
Sonnet 5 $0.00007 $0.00302
Haiku 4.5 $0.00003 $0.00151

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

Security

Grade A, and why

kubernetes-specialist 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 9d 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.

openclaw-skills/kubernetes-specialist/SKILL.md · 142 lines

How it starts

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

Kubernetes Specialist

触发条件

  • 需要部署新的微服务到 Kubernetes 集群时。
  • 现有 Pod 出现故障、重启或性能瓶颈(如 CPU/Memory 限制)时。
  • 需要设计或维护 Helm Charts 以实现应用的参数化部署。
  • 配置集群自动扩缩容(HPA/VPA)以应对流量波动。
  • 实施 RBAC 权限控制,确保多租户环境的安全。
  • 进行集群范围的资源审计或配置优化(ConfigMap/Secret 管理)。

核心能力

1. 资源管理 (Resource Management)

  • Deployment: 理解声明式更新,管理副本集、滚动更新策略(RollingUpdate vs Recreate)。
  • Service: 熟练配置 ClusterIP、NodePort、LoadBalancer,理解 Endpoints 机制。
  • ConfigMap & Secret: 将配置与代码解耦,理解 Secret 的 base64 编码及其实时挂载特性。
  • Volume: 管理 PersistentVolume (PV) 和 PersistentVolumeClaim (PVC),配置持久化存储。

2. Pod 故障排查流程

  • Phase 1: 查看状态 - kubectl get pods 确认状态(Pending, Error, CrashLoopBackOff)。
  • Phase 2: 详情检查 - kubectl describe pod <name> 查看事件日志(Events),定位调度失败或探针失败原因。
  • Phase 3: 日志分析 - kubectl logs <name> [-c container] [--previous] 查看标准输出/错误流。
  • Phase 4: 运行时调试 - kubectl exec -it <name> -- /bin/sh 进入容器内部排查(如网络连通性)。
  • Phase 5: 临时调试容器 - 使用 kubectl debug 注入诊断容器。

3. Helm Chart 最佳实践

  • 模板化: 合理使用 {{ .Values.xxx }} 提取配置,支持多环境部署(values-dev.yaml, values-prod.yaml)。
  • 依赖管理: 使用 Chart.yaml 管理子 Chart 依赖。
  • Hook 机制: 利用 pre-install, post-upgrade 等 Hooks 处理数据库迁移或清理任务。
  • 版本控制: 严格遵守 Semantic Versioning,确保 Chart 与应用镜像版本同步。

4. 自动扩缩容 (HPA/VPA)

  • HPA (Horizontal Pod Autoscaler): 基于 CPU/内存利用率或自定义指标(Custom Metrics)自动增减副本数。
  • VPA (Vertical Pod Autoscaler): 自动调整 Pod 的资源请求(Requests)和限制(Limits)。
  • Cluster Autoscaler: 与云厂商集成,自动调整节点池大小。

5. 安全与 RBAC

  • Namespace 隔离: 逻辑上划分开发、测试、生产环境。
  • RBAC: 定义 Role/ClusterRole 和 RoleBinding/ClusterRoleBinding,遵循最小权限原则。
  • Network Policy: 控制 Pod 间的流量出入,实施微服务间的安全隔离。

常用命令/模板

故障排查组合拳

# 查看所有 Namespace 下异常的 Pod
kubectl get pods -A --field-selector=status.phase!=Running

# 追踪实时日志并显示时间戳
kubectl logs -f <pod-name> --timestamps

# 查看资源占用排行
kubectl top nodes
kubectl top pods

# 导出资源定义的干净版本(去除 runtime 信息)
kubectl get deployment <name> -o yaml | kubectl-neat > deployment.yaml

Deployment 模板 (Best Practice)

apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-app
spec:
  replicas: 3
  selector:
    matchLabels:
      app: my-app
  template:
    metadata:
      labels:
        app: my-app
    spec:
      containers:
      - name: main
        image: my-app:v1.2.3
        resources:
          requests:
            cpu: "100m"
            memory: "128Mi"
          limits:
            cpu: "500m"
            memory: "512Mi"
        livenessProbe:
          httpGet:
            path: /healthz
            port: 8080
          initialDelaySeconds: 15
          periodSeconds: 20
        readinessProbe:
          httpGet:
            path: /readyz
            port: 8080

Read the full file on GitHub · 142 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. 9d ago First seen · 142 lines · 34 tokens per session scan A e41b625752f3

Subscribe to this mod's changes

kubernetes-specialist is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (70 stars, last pushed 5d ago), licensed MIT. It adds 34 tokens to every session and 1,512 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

archestra-dev-investigate

Use when investigating Archestra bugs or incidents — staging issues, backend 50x errors, Drizzle failed queries, DB connection pressure, deploy regressions, or Kubernetes/runtime symptoms. Orientation only; defers the process to /investigate.

archestra-ai/archestra · 54 tokens

kubernetes-best-practices

Provides production-ready Kubernetes manifest guidance including resource management, security, high availability, and configuration best practices. This skill should be used when working with Kubernetes YAML files, deployments, pods, services, or when users mention k8s, container orchestration, or cloud-native…

armanzeroeight/fastagent-plugins · 62 tokens

proxmox-cluster-ops

Operate a Proxmox VE cluster safely — read-only inspection with pvesh/pct/qm/pvecm instead of hand-editing a live guest, node-by-node package updates that respect quorum, and the shape of joining a new node to an existing cluster. Use when inspecting cluster or guest state, planning a rolling update across cluster…

dryvist/claude-code-plugins · 89 tokens

infra-deploy

Cal.com self-hosted deployment to GCP Cloud Run with Supabase PostgreSQL. Docker Compose for local dev.

terrylica/cc-skills · 27 tokens

gcp-logs

Query GCP Cloud Logging for errors, service logs, and request traces. Use when investigating GCP-hosted services.

eveld/claude · 29 tokens

k8s-debug

Launch ephemeral debug container in running pod for interactive debugging. Use when you need to debug a pod without restarting it.

eveld/claude · 28 tokens