kubernetes-skill
Skill by LukasNiessen
Diagnoses and fixes Kubernetes failure modes in manifests, Helm charts, and Kustomize overlays. It is aimed at engineers generating, reviewing, or migrating workloads on EKS, GKE, AKS, OpenShift, or GitOps setups.
Install kubernetes-skill
Built from the published package, never by AI.
git clone --depth 1 https://github.com/LukasNiessen/kubernetes-skill /tmp/kubernetes-skill && mkdir -p ~/.claude/skills && cp -r /tmp/kubernetes-skill ~/.claude/skills/kubernetes-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/LukasNiessen/kubernetes-skill /tmp/kubernetes-skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kubernetes-skill ~/.gemini/antigravity-cli/skills/kubernetes-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
KubeShark is a failure-mode workflow skill for Kubernetes. It guides an AI assistant to capture execution context first, such as cluster version, distribution, namespace, workload type, and deployment method. It then diagnoses likely failure modes: insecure workload defaults, resource starvation, network exposure, privilege sprawl, fragile rollouts, and API drift.
For each fix, the skill explains why it helps, what could still go wrong, and which guardrails apply, such as validation commands and rollback paths. It can produce YAML manifests, Helm or Kustomize output, NetworkPolicies, RBAC resources, PodDisruptionBudgets, and Kyverno or OPA rules. It loads reference files on demand and adds platform guidance for EKS, GKE, AKS, OpenShift, GitOps controllers, and observability stacks. It is aimed at engineers who generate, review, refactor, or migrate Kubernetes configuration.
Written from the project's SKILL.md and checked against it.
What it can do
- Capture execution contextRecords cluster version, distribution, namespace, workload type, and deployment method before writing manifests.
- Diagnose failure modesSelects likely failure modes such as insecure defaults, resource starvation, or API drift based on user intent.
- Propose fix pathsFor each fix, explains the reasoning, remaining deploy and runtime risks, and guardrails.
- Generate artifactsProduces manifests, Helm or Kustomize output, NetworkPolicies, RBAC resources, and PodDisruptionBudgets.
- Write policy rulesDrafts Kyverno or OPA policy rules and admission controls.
- Validate before finalizeProvides dry-run, diff, kubeconform, and policy scan steps tailored to the deployment method.
- Platform guidanceLoads conditional references for EKS, GKE, AKS, OpenShift, Argo CD or Flux, and observability stacks when detected.
- Output contractReturns assumptions, chosen remediation, validation plan, and rollback notes.
What you need
- kubectl
- kubeconform
Try asking
- Review this Deployment manifest for security and resource issues on EKS.
- Add NetworkPolicies and a PodDisruptionBudget to my app's Helm chart.
- Check my Kustomize overlay for deprecated apiVersions before upgrading.
Good to know
- Platform-specific guidance loads only when the matching platform or tool is detected.
- States assumptions explicitly when cluster details are unknown.
- Does not recommend direct production apply without a reviewed diff and approval.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore28 B -
CHANGELOG.md622 B -
CODE_OF_CONDUCT.md943 B -
CONTRIBUTING.md2 KB -
LICENSE1 KB
Show all 8 files
-
PHILOSOPHY.md11 KB -
README.md22 KB -
SKILL.md5 KB
Alternatives to kubernetes-skill
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
kubernetes-skill: common questions
What failure modes does kubernetes-skill cover?
It covers insecure workload defaults, resource starvation, network exposure, privilege sprawl, fragile rollouts, and API drift.
Does it apply changes to a cluster?
The skill says not to recommend direct production apply without a reviewed diff and approval. It provides dry-run and diff steps for validation instead.
Which platforms does it support?
The source names EKS, GKE, AKS, OpenShift, k3s, and vanilla Kubernetes, plus GitOps controllers and observability stacks.
How do I install kubernetes-skill?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is kubernetes-skill free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is kubernetes-skill safe to use?
It scores 84 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to kubernetes-skill?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
