k8s-workload-hardening

k8s-workload-hardening is a skill for Claude Code from jassics/awesome-claude-security. It costs 57 tokens per session (522 once invoked), scanned A, original, GPL-3.0.

A review and hardening guide for Kubernetes workloads such as pods and Deployments, focusing on settings that limit what containers can access on the host system.

In plain words
What is it for?
Use it to assess or fix pod-level security for a Kubernetes workload or namespace and align it with Pod Security Standards.
Why use it?
It helps prevent risky configurations such as privileged containers, host filesystem access, unsafe capabilities, and missing admission enforcement.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the k8s-security plugin — 3 skills shipped together

Good fit Use it to assess or fix pod-level security for a Kubernetes workload or namespace and align it with Pod Security Standards.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jassics/awesome-claude-security/k8s-workload-hardening
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jassics/awesome-claude-security --skill k8s-workload-hardening
Clone the repo
git clone --depth 1 https://github.com/jassics/awesome-claude-security

Made for: Claude Code.

Or install k8s-security, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for k8s-workload-hardening

README.md
[![agentmods](https://agentmods.dev/badge/skills/jassics/awesome-claude-security/k8s-workload-hardening/github.svg)](https://agentmods.dev/skills/jassics/awesome-claude-security/k8s-workload-hardening)
Your own site
<a href="https://agentmods.dev/skills/jassics/awesome-claude-security/k8s-workload-hardening"><img src="https://agentmods.dev/badge/skills/jassics/awesome-claude-security/k8s-workload-hardening/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for k8s-workload-hardening

Your own site · 80×15
<a href="https://agentmods.dev/skills/jassics/awesome-claude-security/k8s-workload-hardening"><img src="https://agentmods.dev/badge/skills/jassics/awesome-claude-security/k8s-workload-hardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00522
Opus 5 $0.00028 $0.00261
Sonnet 5 $0.00011 $0.00104
Haiku 4.5 $0.00006 $0.00052

Measured 7d ago against content hash 6214bb27492a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

k8s-workload-hardening scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/k8s-security/skills/k8s-workload-hardening/SKILL.md · 52 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 52 lines · 57 tokens per session scan A 6214bb27492a

Subscribe to this mod's changes

k8s-workload-hardening is a skill published in the GitHub repository jassics/awesome-claude-security (6 stars, last pushed 1mo ago), licensed GPL-3.0. It adds 57 tokens to every session and 522 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens

cloudflare-sandbox

Cloudflare Sandboxes SDK for secure code execution in Linux containers at edge. Use for untrusted code, Python/Node.js scripts, AI code interpreters, git operations.

secondsky/claude-skills · 40 tokens

deploy-mcp

Deploy the FutureSearch MCP server to staging or production on GKE. Use when the user wants to deploy, redeploy, roll back, scale replicas, or check deployment status. Triggers on deploy, redeploy, staging, production, rollout, scale, replicas.

futuresearch/futuresearch-python · 58 tokens

symfony:runner-selection

Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment.

dev-toolings/superpowers-symfony · 29 tokens

platform-skills

Use when troubleshooting, implementing, reviewing, or auditing platform infrastructure as a system — where Kubernetes, GitOps, CI/CD, and security concerns intersect. Provides structured diagnosis with blast radius, validation steps, and rollback plan for: Kubernetes, Flux CD, Argo CD, Terraform, GitHub Actions…

nitinjain999/platform-skills · 137 tokens

container-execution

Infrastructure skill for containerized target execution. Runtime detection, container lifecycle, security restrictions, interaction patterns.

prime-radiant-inc/greenfield · 24 tokens