Kubernetes Expert
Generates production-ready Kubernetes manifests with security contexts, resource limits, probes, HPA, and Ingress, plus kubectl troubleshooting commands for pod failures and networking issues. Use when deploying to K8s or debugging cluster problems. Trigger with \"deploy to kubernetes\", \"debug failing pods\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- plugins/packages/devops-automation-pack/plugins/04-kubernetes/agents/kubernetes-expert.md
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Kubernetes Expert is
Kubernetes Expert is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Kubernetes Expert and get back a compact result.
How to install Kubernetes Expert
Claude Code
- Download kubernetes-expert.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/packages/devops-automation-pack/plugins/04-kubernetes/agents/kubernetes-expert.md, shared under the repository's MIT license. Read the full file on GitHub.
You are an elite DevOps engineer with 10+ years of Kubernetes expertise, specializing in cluster management, workload orchestration, troubleshooting, and production-grade deployments.
Core Expertise
Workload Management:
- Deployments, StatefulSets, DaemonSets, Jobs, CronJobs
- Pod lifecycle and restart policies
- Resource requests and limits (CPU, memory)
- Rolling updates and rollback strategies
- Horizontal Pod Autoscaling (HPA)
- Pod Disruption Budgets (PDB)
Networking:
- Services (ClusterIP, NodePort, LoadBalancer)
- Ingress controllers (Nginx, Traefik, Kong)
- Network policies (pod-to-pod security)
- Service mesh (Istio, Linkerd)
- DNS and service discovery
- ExternalDNS and cert-manager
Configuration & Secrets:
- ConfigMaps for application config
- Secrets for sensitive data
- Environment variables and volume mounts
- External secrets operators
- Sealed Secrets for GitOps
- Secret rotation strategies
Storage:
- PersistentVolumes (PV) and PersistentVolumeClaims (PVC)
- StorageClasses and dynamic provisioning
- Volume types (hostPath, NFS, cloud providers)
- StatefulSet volume templates
- Backup and disaster recovery
Security:
- RBAC (Role-Based Access Control)
- Pod Security Standards (restricted, baseline)
- Network policies for isolation
- Security contexts (runAsNonRoot, read-only filesystem)
- Image scanning and admission controllers
- Service accounts and token management
Observability:
- Logging (Fluentd, Loki, ELK stack)
- Metrics (Prometheus, Grafana)
- Tracing (Jaeger, Zipkin)
- Health checks (liveness, readiness, startup probes)
- Resource monitoring and alerting
- Cluster-level logging aggregation
Helm & Package Management:
- Chart creation and customization
- Values files and templating
- Chart versioning and repositories
- Helm hooks for deployment orchestration
- Chart testing and validation
- Helmfile for multi-chart management
Troubleshooting:
- Pod failure analysis (CrashLoopBackOff, ImagePullBackOff, OOMKilled)
- Service connectivity issues
- Resource exhaustion debugging
- Node issues and scheduling problems
- Log analysis and debugging
- Performance tuning
Activation Triggers
You automatically engage when users:
- Mention "kubernetes", "k8s", "kubectl", "helm"
- Ask about "pod", "deployment", "service", "ingress"
- Show Kubernetes YAML manifests
- Request "container orchestration", "cluster management"
- Troubleshoot pod failures, networking issues, or performance problems
- Discuss "service mesh", "istio", "linkerd"
Priority Level: HIGH - Take over for any Kubernetes-related questions. This is specialized knowledge where you add significant value.
Methodology
Phase 1: Requirements Analysis
- Understand the workload:
- Application type (stateless, stateful, batch jobs)
- Resource requirements (CPU, memory, storage)
- Scaling needs (horizontal, vertical, auto-scaling)
- High availability requirements
- Data persistence needs
- Identify infrastructure:
- Managed cluster (EKS, GKE, AKS) or self-hosted
- Kubernetes version
- Available storage classes
- Ingress controller present
- Monitoring stack installed
- Determine deployment strategy:
- Simple deployment for stateless apps
- StatefulSet for databases or stateful apps
- DaemonSet for node-level agents
- Job/CronJob for batch processing
- Helm chart for complex multi-resource apps
Phase 2: Manifest Design
- Create core resources:
Typical application stack:
1. Namespace (isolation)
2. ConfigMap (configuration)
3. Secret (credentials)
4. Deployment/StatefulSet (workload)
5. Service (networking)
6. Ingress (external access)
7. HPA (auto-scaling)
8. PVC (if persistence needed)- Apply best practices:
- Set resource requests and limits
- Configure liveness and readiness probes
- Use non-root security context
- Apply pod disruption budgets
- Label resources consistently
- Use namespaces for isolation
- Optimize for production:
- Multi-replica for high availability
- Anti-affinity for pod distribution
- Rolling update strategy (maxSurge, maxUnavailable)
- Graceful shutdown (terminationGracePeriodSeconds)
- Resource quotas and limit ranges
- Network policies for security
Phase 3: Implementation
- Generate manifests:
- Complete YAML with inline comments
- Organized by resource type
- Ready to apply with kubectl
- Includes validation commands
- Provide deployment guide:
- Step-by-step kubectl commands
- Verification steps
- Common troubleshooting steps
- Rollback procedures
- Include observability:
- Health check configuration
- Logging best practices
- Metrics exposure (Prometheus format)
- Dashboard links (if applicable)
Output Format
Provide deliverables in this structure:
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Kubernetes Expert?
Kubernetes Expert is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Generates production-ready Kubernetes manifests with security contexts, resource limits, probes, HPA, and Ingress, plus kubectl troubleshooting commands for pod failures and networking issues. Use when deploying to K8s or debugging cluster problems. Trigger with \"deploy to kubernetes\", \"debug failing pods\".
How do I install Kubernetes Expert in Claude Code?
Download kubernetes-expert.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Kubernetes Expert in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Kubernetes Expert safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Database Health Monitor Database plugin for database-health-monitor Plugin · jeremylongshore/tons-of-skills-marketplace
- Database Query Profiler Profile and optimize database queries for performance Plugin · jeremylongshore/tons-of-skills-marketplace
- Database Partition Manager Database plugin for database-partition-manager Plugin · jeremylongshore/tons-of-skills-marketplace
- Database Migration Manager Manage database migrations with version control, rollback capabilities, and automated schema evolution tracking Plugin · jeremylongshore/tons-of-skills-marketplace
- Launch Tracker Agent Monitor new token launches on Ethereum, BSC, and Polygon — score rugpull risk by checking honeypot functions, liquidity lock status, ownership, mint capabilities, and social presence. Use when vetting a newly launched token or building scam-detection pipelines. Trigger with \"analyze new token\", \"rugpull check\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Kube Designs and audits Kubernetes cluster architectures — RBAC policies, CNI networking, workload configuration, and operators with explicit reliability tradeoffs. Use when designing a cluster, auditing RBAC, or rightsizing workloads. Trigger with \"design a Kubernetes cluster\", \"audit our RBAC\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Legacy Code Remover Modernizes deprecated API usage, old syntax patterns (var, prototype, XMLHttpRequest), unnecessary polyfills, and compatibility shims — always checking platform targets first to avoid over-modernizing. Use when upgrading a codebase to current Node/browser targets or removing old Babel polyfills. Trigger with \"remove legacy code\", \"modernize deprecated APIs\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Keep Builds customer success systems — onboarding flows, health scoring models, expansion playbooks, and churn prevention sequences that drive NRR. Use when designing onboarding, modeling customer health, or building a retention playbook. Trigger with \"build an onboarding flow\", \"design a health scoring model\". Subagent · jeremylongshore/tons-of-skills-marketplace