It answers the question: where are the misconfigurations, privilege escalation paths, and reliability risks in this Kubernetes codebase?
Built for Kubernetes-specific concerns — RBAC graph analysis, pod security, network reachability, resource lifecycle, Helm chart drift, admission policy gaps — not generic YAML linting. This is not kube-linter or checkov with extra rules; it's a review campaign that reads manifests and live cluster state the way a senior platform engineer would, then classifies every finding as FIX / CONSIDER / POLICY / ACCEPTABLE.
Works on any Kubernetes repository: raw manifests, Helm charts, Kustomize overlays, or Operator projects — plus optional live-cluster analysis via kubectl.
Installation
From the marketplace (recommended)
# Add the marketplace (one-time setup)
claude plugin marketplace add mohityadav8/k8s-review-toolkit
# Install the plugin
claude plugin install k8s-review-toolkit@k8s-review-toolkit
Direct install from GitHub
claude plugin install k8s-review-toolkit \
--source github:mohityadav8/k8s-review-toolkit \
--path plugin
Without installing (try it first)
git clone https://github.com/mohityadav8/k8s-review-toolkit.git
cd k8s-review-toolkit
claude --plugin-dir plugin
After upgrading the plugin
Run /reload-plugins before explore or informed-explore. A Claude Code session registers dispatchable agents when the plugin is loaded; agents added by a version installed mid-session stay invisible until you reload, and those commands then run silently with the older, smaller agent set.
Quick Start
Point the plugin at a directory of manifests or a Helm chart root, then:
/k8s-review-toolkit:map # Understand workload/namespace/RBAC structure
/k8s-review-toolkit:health # Quick health dashboard across all resources
/k8s-review-toolkit:hotspots # Privilege escalation + crash-class + drift detectors
/k8s-review-toolkit:explore # Full exploration (all agents)
/k8s-review-toolkit:known-issues # Regression check vs the known-misconfiguration catalog
/k8s-review-toolkit:reproduce # Deploy a suspect manifest to kind and observe real behavior
/k8s-review-toolkit:rbac-audit # Full RBAC graph: subjects → roles → verbs → resources
/k8s-review-toolkit:drift # Helm values vs rendered templates vs live cluster state
Start with map to understand the namespace/workload graph, then hotspots to find the highest-impact misconfigurations.
What's Included
28 analysis agents
Security
privileged-container — detects securityContext.privileged: true and equivalent capability grants (CAP_SYS_ADMIN, CAP_NET_ADMIN)
host-namespace-sharing — flags hostPID, hostIPC, hostNetwork enabled on workloads that don't require them
hostpath-mount — finds hostPath volumes, classifies by path sensitivity (/, /etc, /var/run/docker.sock, etc.)
writable-root-fs — detects missing or false readOnlyRootFilesystem on containers
secret-in-env — finds Secrets projected as plain env vars instead of mounted volumes or external secret stores
default-service-account — workloads using the default ServiceAccount, which typically accumulates unexpected bindings over time
image-tag-mutable — images pinned to latest or another mutable tag; classifies by registry type and pull policy