CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

k8s-security-policies

Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC for production-grade security. Use when securing Kubernetes clusters, implementing network isolation, or enforcing pod security standards.

86

1.04x
Quality

84%

Does it follow best practices?

Impact

98%

1.04x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

72%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Highly actionable and token-efficient, built almost entirely from executable YAML and kubectl commands. Its weaknesses are structural: it reads as a reference catalog with no sequenced apply/verify workflow, and several self-contained topics are inlined instead of being split into the (currently underused) bundle files.

Suggestions

Add a sequenced workflow section with validation checkpoints (e.g., 1. apply default-deny, 2. verify with 'kubectl get networkpolicy' / test connectivity, 3. layer allow-lists, 4. verify with 'kubectl auth can-i' for RBAC), since cluster-wide policy application is a batch/risky operation that currently has no embedded validation.

Move the OPA Gatekeeper, Istio service mesh, and compliance framework sections into separate reference files (e.g., references/admission-control.md, references/service-mesh.md, references/compliance.md) and link them from the body, matching the pattern already used for rbac-patterns.md.

Collapse the three near-identical Pod Security Standards Namespace examples into one template with a note that only the label value (privileged/baseline/restricted) changes, saving roughly 30 lines.

DimensionReasoningScore

Conciseness

Prose is lean and assumes Claude's competence with no concept-explaining padding, but the three Pod Security Standards sections are near-identical Namespace YAML blocks differing only in a label value, and the breadth of inline topics (Istio, compliance lists) could be trimmed.

4 / 5

Actionability

Every section provides complete, executable, copy-paste-ready YAML with correct apiVersions, plus concrete kubectl commands like 'kubectl auth can-i list pods --as system:serviceaccount:default:my-sa' covering the common cases.

5 / 5

Workflow Clarity

The body is a policy catalog rather than a sequenced process: there is no ordering guidance (e.g., default-deny first, then allow-lists) and no apply/verify checkpoints, with validation appearing only in the Troubleshooting section. Applying cluster-wide security policies is a batch operation without embedded validation, which caps this dimension at 3.

3 / 5

Progressive Disclosure

The two bundle references ('assets/network-policy-template.yaml', 'references/rbac-patterns.md') are clearly signaled and exist as real, substantive files, but a 345-line body fully inlines whole topics — OPA Gatekeeper, Istio service mesh, and compliance frameworks — that clearly belong in separate reference files.

3 / 5

Total

15

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description with explicit what-and-when structure, concrete named technologies, and natural trigger phrases. Its only weakness is missing a few common synonyms and variation phrases that users might say when they need cluster security help.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions — 'NetworkPolicy, PodSecurityPolicy, and RBAC' plus 'production-grade security' — giving comprehensive coverage of the Kubernetes policy surface with no significant gaps.

5 / 5

Completeness

Explicitly answers both: the 'what' ('Implement Kubernetes security policies including NetworkPolicy, PodSecurityPolicy, and RBAC') and the 'when' via a concrete 'Use when' clause with three trigger scenarios.

5 / 5

Trigger Term Quality

Natural phrases like 'securing Kubernetes clusters', 'network isolation', and 'enforcing pod security standards' give good keyword coverage, but common variations such as 'multi-tenant', 'cluster hardening', or 'least-privilege' are missing.

4 / 5

Distinctiveness Conflict Risk

Has a clear Kubernetes security niche with distinct triggers, but overlaps slightly with broader Kubernetes or manifest-generation skills (e.g., the referenced 'k8s-manifest-generator'), so conflict risk is minor rather than minimal.

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

wshobson/agents

Path

plugins/kubernetes-operations/skills/k8s-security-policies/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.