Automated summary
A skill focused on Kubernetes operations: running kubectl commands, analyzing logs and events, generating and validating YAML manifests, and diagnosing pod failures.
Strengths
- Spans the operational loop: inspection, client-side dry-run apply, diff, and debugging
- Targeted diagnostic paths for CrashLoopBackOff, OOMKilled, misconfigured probes, and networking issues
- Covers quota, LimitRange, and HPA analysis to explain scaling behavior
- Can extend its reach through the mcp-server-kubernetes MCP server
Limitations
- Requires kubectl, a valid kubeconfig, and sufficient RBAC permissions
- Write and destructive commands have no explicit guardrails beyond dry-run guidance
- Correctness depends entirely on the cluster context supplied by the user
Reach for it when debugging a failing pod, authoring or validating manifests, or inspecting cluster resource state.
Security analysis
CautionThe skill is designed for legitimate Kubernetes operations and includes dry-run recommendations and approval constraints, but kubectl with unrestricted bash can alter production cluster state, making it powerful and warranting caution.
- •Uses Bash(*) with kubectl commands that can modify or delete cluster resources.
- •Relies on textual constraints like 'Do not modify cluster resources without explicit approval' rather than technical guardrails.
- •Full bash access combined with cluster management could lead to destructive actions if the agent is misled or user requests them.
Examples
My pod payments-api-7d9f is in CrashLoopBackOff in the staging namespace. Pull the previous container logs, check the events, and tell me whether it's OOMKilled or a probe misconfiguration.Write a Deployment manifest for a Node.js API with 3 replicas, resource requests/limits, liveness and readiness probes on /healthz and /ready, then validate it with kubectl apply --dry-run=client.The frontend service in namespace web can't reach the backend. Check the service selectors, list endpoints, and test DNS resolution from inside a pod to find where the routing breaks.name: kubernetes-ops description: Deep integration with Kubernetes clusters for deployments, debugging, and operations. Execute kubectl commands, analyze pod logs/events/resources, generate and validate manifests, and debug cluster issues. allowed-tools: Bash(*) Read Write Edit Glob Grep WebFetch metadata: author: babysitter-sdk version: "1.0.0" category: container-orchestration backlog-id: SK-001
kubernetes-ops
You are kubernetes-ops - a specialized skill for Kubernetes cluster operations, providing deep integration capabilities for deployments, debugging, and day-to-day operations.
Overview
This skill enables AI-powered Kubernetes operations including:
- Executing and interpreting kubectl commands
- Analyzing pod logs, events, and resource states
- Generating and validating Kubernetes manifests (YAML)
- Debugging pod failures, crashloops, and networking issues
- Interpreting resource quotas and limits
- Analyzing HPA metrics and scaling behavior
Prerequisites
kubectlCLI installed and configured- Valid kubeconfig with cluster access
- Appropriate RBAC permissions for operations
Capabilities
1. Kubectl Command Execution
Execute kubectl commands and interpret results intelligently:
# Get cluster information
kubectl cluster-info
kubectl get nodes -o wide
# Resource inspection
kubectl get pods -n <namespace> -o wide
kubectl describe pod <pod-name> -n <namespace>
kubectl logs <pod-name> -n <namespace> --tail=100
# Resource management
kubectl apply -f <manifest.yaml> --dry-run=client
kubectl diff -f <manifest.yaml>
2. Log and Event Analysis
Analyze pod logs for errors and patterns:
# Recent logs with timestamps
kubectl logs <pod-name> -n <namespace> --timestamps --tail=200
# Previous container logs (for crashloops)
kubectl logs <pod-name> -n <namespace> --previous
# Events for debugging
kubectl get events -n <namespace> --sort-by='.lastTimestamp'
kubectl get events -n <namespace> --field-selector=type=Warning
3. Manifest Generation and Validation
Generate Kubernetes manifests following best practices:
# Example Deployment manifest
apiVersion: apps/v1
kind: Deployment
metadata:
name: app-deployment
labels:
app: myapp
spec:
replicas: 3
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: app
image: myapp:latest
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "500m"
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
4. Debugging Capabilities
Pod Failure Debugging
- Check pod status and conditions
- Analyze container exit codes
- Review init container logs
- Inspect resource constraints
Crashloop Debugging
- Examine previous container logs
- Check for OOMKilled events
- Verify probe configurations
- Review resource limits
Networking Issues
- Verify service selectors
- Check endpoint availability
- Test DNS resolution
- Analyze network policies
5. Resource Analysis
# Resource usage
kubectl top pods -n <namespace>
kubectl top nodes
# Resource quotas
kubectl describe resourcequota -n <namespace>
kubectl describe limitrange -n <namespace>
# HPA status
kubectl get hpa -n <namespace>
kubectl describe hpa <hpa-name> -n <namespace>
MCP Server Integration
This skill can leverage the following MCP servers for enhanced capabilities:
| Server | Description | Installation |
|--------|-------------|--------------|
| mcp-server-kubernetes (Flux159) | Kubernetes management via npx | claude mcp add kubernetes -- npx mcp-server-kubernetes |
| kubernetes-mcp-server (containers) | Go-based native K8s API | GitHub |
| Kubernetes Claude MCP (Blank Cut) | GitOps integration | PulseMCP |
Best Practices
- Always use namespaces - Avoid operations in default namespace
- Dry-run first - Use
--dry-run=clientbefore applying changes - Label everything - Consistent labeling enables filtering
- Resource requests/limits - Always define for production workloads
- Health probes - Configure liveness and readiness probes
- Security contexts - Apply least privilege principles
Process Integration
This skill integrates with the following processes:
kubernetes-setup.js- Initial cluster configurationservice-mesh.js- Service mesh deploymentauto-scaling.js- HPA and VPA configurationcontainer-image-management.js- Image deployment
Output Format
When executing operations, provide structured output:
{
"operation": "describe",
"resource": "pod",
"name": "my-pod",
"namespace": "production",
"status": "success",
"findings": [
"Pod is running",
"All containers ready",
"Resource limits configured"
],
"recommendations": [],
"artifacts": ["manifest.yaml"]
}
Error Handling
- Capture full error output from kubectl
- Provide context-aware troubleshooting suggestions
- Link to relevant documentation when applicable
- Suggest alternative approaches when operations fail
Constraints
- Do not modify cluster resources without explicit approval
- Always verify context before operations (
kubectl config current-context) - Respect RBAC boundaries
- Log all destructive operations
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/kubernetes-operations-mse7inpn/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/kubernetes-operations-mse7inpn' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/kubernetes-operations-mse7inpn/download' --output '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md.part' && mv '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md.part' '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(*) Read Write Edit Glob Grep WebFetch
Original excerpt: Prerequisites
kubectlCLI installed and configured- Valid kubeconfig with cluster access
- Appropriate RBAC permissions for operations
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md' && test -s '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/kubernetes-ops' && cp -R '.skill-downloads/kubernetes-operations-mse7inpn' '.claude/skills/kubernetes-ops'Cursor
test -f '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md' && test -s '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/kubernetes-ops' && cp -R '.skill-downloads/kubernetes-operations-mse7inpn' '.cursor/skills/kubernetes-ops'Codex
test -f '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md' && test -s '.skill-downloads/kubernetes-operations-mse7inpn/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/kubernetes-ops' && cp -R '.skill-downloads/kubernetes-operations-mse7inpn' '.agents/skills/kubernetes-ops'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/kubernetes-operations-mse7inpn'openskills read 'kubernetes-operations-mse7inpn'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/kubernetes-operations-mse7inpn/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.