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.5 $0.00014 $0.00605
Sonnet 5.5 $0.00007 $0.00302
Haiku 4.5 $0.00003 $0.00151

Measured 1mo ago against content hash e41b625752f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (73 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 1,512 once invoked, about $0.0001 per session on Opus 5.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-patterns

Kubernetes workload patterns, resource management, RBAC, probes, autoscaling, ConfigMap/Secret handling, and kubectl debugging for production-grade deployments. Use when writing or reviewing Kubernetes manifests, or debugging probes, RBAC, autoscaling, or resource limits.

gongyijie85/dsh-ecc · 58 tokens

error-recovery

A guide to detecting and recovering from failures in long-running AI agents. It covers API outages, bad tool calls, broken conversation state, stalled streams, repeated loops, retries, fallback models, and circuit breakers that stop repeated failure.

bojieli/ai-agent-book · 111 tokens

omh-doctor

This is a Hermes-native doctor workflow skill.

rlaope/oh-my-hermes · 37 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens