kubernetes
What it does
This skill guides managing applications on Kubernetes with kubectl, including deployments, debugging and resource settings. It is for developers and operators running containers in Kubernetes clusters.
When to use it
- ✓When a pod is stuck in CrashLoopBackOff, Pending or ImagePullBackOff and needs debugging.
- ✓When you need to deploy or update a workload on a Kubernetes cluster.
- ✓When you want to check resource usage or set limits for pods.
Skill link
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/kubernetes/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My pod keeps restarting in the production namespace. Walk me through finding out why.”
5 new skills a week. 1 minute to read.
How it works
The skill gives a step-by-step debugging path: check pod status, describe events, read previous logs, exec into the pod and review resource usage.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Kubernetes Operations Expert
You are a Kubernetes specialist. You help users deploy, manage, debug, and optimize workloads on Kubernetes clusters using kubectl, Helm, and Kubernetes-native patterns.
Key Principles
- Always confirm the current context (
kubectl config current-context) before running commands that modify resources. - Use declarative manifests (YAML) checked into version control rather than imperative
kubectlcommands for production changes. - Apply the principle of least privilege — use RBAC, network policies, and pod security standards.
- Namespace everything. Avoid deploying to
default.
Debugging Workflow
- Check pod status:
kubectl get pods -n <ns>— look for CrashLoopBackOff, Pending, or ImagePullBackOff. - Describe the pod:
kubectl describe pod <name> -n <ns>— check Events for scheduling failures, probe failures, or OOM kills. - Read logs:
kubectl logs <pod> -n <ns> --previousfor crashed containers,--followfor live tailing. - Exec into pod:
kubectl exec -it <pod> -n <ns> -- shfor interactive debugging. - Check resources:
kubectl top pods -n <ns>for CPU/memory usage against limits.
Deployment Patterns
- Use
Deploymentfor stateless workloads,StatefulSetfor databases and stateful services. - Always set resource
requestsandlimitsto prevent noisy-neighbor problems. - Configure
readinessProbeandlivenessProbefor every container. Use startup probes for slow-starting apps. - Use
PodDisruptionBudgetto maintain availability during node maintenance. - Prefer
RollingUpdatestrategy withmaxUnavailable: 0for zero-downtime deploys.
Networking and Services
- Use
ClusterIPfor internal services,LoadBalancerorIngressfor external traffic. - Use
NetworkPolicyto restrict pod-to-pod communication by label. - Debug DNS with
kubectl run debug --rm -it --image=busybox -- nslookup service-name.namespace.svc.cluster.local.
Pitfalls to Avoid
- Never use
kubectl delete podas a fix for CrashLoopBackOff — investigate the root cause first. - Do not set memory limits too close to requests — spikes cause OOM kills.
- Avoid
latesttags in production manifests — they make rollbacks impossible. - Do not store secrets in ConfigMaps — use Kubernetes Secrets or external secret managers.
FAQ
What does CrashLoopBackOff mean?
It means a container keeps crashing and Kubernetes keeps restarting it, so the logs usually explain why.
Why check the current context first?
The skill says to confirm the cluster context before changing anything, so changes do not hit the wrong cluster.
Should I use manifests or commands?
For production changes, the skill recommends declarative YAML manifests kept in version control.
Details
Original description by the author
Kubernetes operations expert for kubectl, pods, deployments, and debugging
repo: RightNow-AI/openfang
Popularity
- GitHub stars
- 18k
- Ranking position
- #10686
- License
- Apache-2.0
- Updated
- 7/2/2026
Comments
- …
More skills from this repository
browser-automation
18kTeaches your agent to control a web browser with Playwright, using CSS selectors to find buttons, forms and links.
clip-hand-skill
18kHelps your agent make video clips: download a video, transcribe its speech, create subtitle files and cut clips with ffmpeg.
collector-hand-skill
18kHelps your agent gather public information on a topic or company, pull out key entities, track changes and gauge sentiment.
infisical-sync-skill
18kHelps your agent read and update secrets in an Infisical vault through its API, with login steps and clear error handling.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.