k8s-security-policies
NetworkPolicy, RBAC and pod security policies for Kubernetes clusters.
- Kind
- Skill
- Works with
- Claude Code, Codex
- Source
- wshobson/agents @ 0874a27b17a2
- Path
- plugins/kubernetes-operations/skills/k8s-security-policies/SKILL.md
- Jobs
- Guardrails
- Topics
- Docker & Kubernetes, Security audits
Credit
- Made by
- wshobson
- Original
- github.com/wshobson/agents/blob/0874a27b17a22e2b7c2e2bcd72576…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallInstall it from a plugin marketplace.
/plugin install kubernetes-operations@claude-code-workflows
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/k8s-security-policies/ (the skill folder)
- 2 file(s) the skill refers to
- 2 other files in the folder: assets/network-policy-template.yaml, references/rbac-patterns.md
- Runs scripts
- Yes
- shell block in the text
- shell block in the text (references/rbac-patterns.md)
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 0874a27b17a2
- Licence
- MIT
- Last activity
- 24 Nov 2026
- Source changed after the scan
- Yes
- Last push 24 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Kubernetes Security Policies
Comprehensive guide for implementing NetworkPolicy, PodSecurityPolicy, RBAC, and Pod Security Standards in Kubernetes.
## Purpose
Implement defense-in-depth security for Kubernetes clusters using network policies, pod security standards, and RBAC.
## When to Use This Skill
- Implement network segmentation
- Configure pod security standards
- Set up RBAC for least-privilege access
- Create security policies for compliance
- Implement admission control
- Secure multi-tenant clusters
## Pod Security Standards
### 1. Privileged (Unrestricted)
```yaml
apiVersion: v1
kind: Namespace
metadata:
name: privileged-ns
labels:
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/warn: privileged
```
### 2. Baseline (Minimally restrictive)
```yaml
apiVersion: v1
kind: Namespace
metadata:
name: baseline-ns
labels:
pod-security.kubernetes.io/enforce: baseline
pod-security.kubernetes.io/audit: baseline
pod-security.kubernetes.io/warn: baseline
```
### 3. Restricted (Most restrictive)
```yaml
apiVersion: v1
kind: Namespace
metadata:
name: restricted-ns
…