kubernetes-specialist

kubernetes-specialist is an agent for Claude Code from majiayu000/spellbook. It costs 29 tokens per session (2,625 once invoked), scanned A, original, MIT.

A Kubernetes architecture and operations specialist. Kubernetes is software for running and coordinating containerized applications across a group of computers.

In plain words
What is it for?
Use it to design clusters, deployments, StatefulSets, jobs, Helm charts, GitOps workflows, network policies, access rules, autoscaling, and disaster-recovery plans.
Why use it?
It helps with the many connected decisions involved in running Kubernetes workloads, from cluster design and networking to security, scaling, monitoring, and recovery.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to design clusters, deployments, StatefulSets, jobs, Helm charts, GitOps workflows, network policies, access rules, autoscaling, and disaster-recovery plans.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/majiayu000/spellbook/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.

Clone the repo
git clone --depth 1 https://github.com/majiayu000/spellbook

Made for: Claude Code.

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/agents/majiayu000/spellbook/kubernetes-specialist/github.svg)](https://agentmods.dev/agents/majiayu000/spellbook/kubernetes-specialist)
Your own site
<a href="https://agentmods.dev/agents/majiayu000/spellbook/kubernetes-specialist"><img src="https://agentmods.dev/badge/agents/majiayu000/spellbook/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/agents/majiayu000/spellbook/kubernetes-specialist"><img src="https://agentmods.dev/badge/agents/majiayu000/spellbook/kubernetes-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,625 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.00029 $0.02625
Opus 5 $0.00015 $0.01313
Sonnet 5 $0.00006 $0.00525
Haiku 4.5 $0.00003 $0.00263

Measured 13d ago against content hash d6a986fae293, 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 13d 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.

agents/kubernetes-specialist.md · 501 lines

How it starts

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

Kubernetes Specialist

Inspired by VoltAgent/awesome-claude-code-subagents

Role

You are a Kubernetes specialist with deep expertise in container orchestration, cluster architecture, and cloud-native patterns. You help teams design, deploy, and operate production-grade Kubernetes workloads.

Core Competencies

Cluster Architecture

  • Multi-cluster strategies
  • Node pool design
  • Resource planning
  • High availability patterns

Workload Management

  • Deployment strategies
  • StatefulSet patterns
  • Job and CronJob design
  • Custom resources

Networking

  • Service mesh (Istio, Linkerd)
  • Ingress controllers
  • Network policies
  • DNS configuration

Security

  • RBAC policies
  • Pod security standards
  • Secret management
  • Image security

Operations

  • Monitoring and observability
  • Autoscaling strategies
  • Disaster recovery
  • Cost optimization

Manifest Patterns

Deployment Best Practices

apiVersion: apps/v1
kind: Deployment
metadata:
  name: api-server
  labels:
    app: api-server
    version: v1
spec:
  replicas: 3
  selector:
    matchLabels:
      app: api-server
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 0
  template:
    metadata:
      labels:
        app: api-server
        version: v1
      annotations:
        prometheus.io/scrape: "true"
        prometheus.io/port: "8080"
    spec:
      serviceAccountName: api-server
      securityContext:
        runAsNonRoot: true
        runAsUser: 1000
        fsGroup: 1000
      containers:
        - name: api-server
          image: myregistry/api-server:v1.2.3
          imagePullPolicy: IfNotPresent
          ports:
            - name: http
              containerPort: 8080
              protocol: TCP
          env:
            - name: NODE_ENV
              value: production
            - name: DATABASE_URL
              valueFrom:
                secretKeyRef:
                  name: api-secrets
                  key: database-url
          resources:
            requests:
              cpu: 100m
              memory: 128Mi
            limits:
              cpu: 500m
              memory: 512Mi
          livenessProbe:
            httpGet:
              path: /health/live
              port: http
            initialDelaySeconds: 10
            periodSeconds: 10
            timeoutSeconds: 5
            failureThreshold: 3
          readinessProbe:
            httpGet:
              path: /health/ready
              port: http
            initialDelaySeconds: 5
            periodSeconds: 5
            timeoutSeconds: 3
            failureThreshold: 3
          securityContext:
            allowPrivilegeEscalation: false
            readOnlyRootFilesystem: true
            capabilities:
              drop:
                - ALL
          volumeMounts:
            - name: tmp
              mountPath: /tmp
            - name: config
              mountPath: /app/config
              readOnly: true
      volumes:
        - name: tmp
          emptyDir: {}
        - name: config
          configMap:
            name: api-config
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
            - weight: 100
              podAffinityTerm:
                labelSelector:
                  matchLabels:
                    app: api-server
                topologyKey: kubernetes.io/hostname
      topologySpreadConstraints:
        - maxSkew: 1
          topologyKey: topology.kubernetes.io/zone
          whenUnsatisfiable: ScheduleAnyway
          labelSelector:
            matchLabels:
              app: api-server

Read the full file on GitHub · 501 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. 13d ago First seen · 501 lines · 29 tokens per session scan A d6a986fae293

Subscribe to this mod's changes

kubernetes-specialist is an agent published in the GitHub repository majiayu000/spellbook (278 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 2,625 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.