Mirrord Operator
aiskillstore/marketplace
Help users install and configure the mirrord Operator for team/enterprise environments.
Harden and monitor a Kubernetes cluster against the attacks that actually happen — RBAC least privilege and escalation paths, Pod Security Admission enforcement, network policy default-deny, secrets…
$ npx skills add trilwu/secskills --skill defending-kubernetes -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install trilwu/secskills defending-kubernetes --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/secskills-defense/skills/defending-kubernetes .claude/skills/defending-kubernetes && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "defending-kubernetes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetes into .claude/skills/defending-kubernetes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defending-kubernetes", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add trilwu/secskills --skill defending-kubernetes -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install trilwu/secskills defending-kubernetes --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/secskills-defense/skills/defending-kubernetes .agents/skills/defending-kubernetes && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "defending-kubernetes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetes into .agents/skills/defending-kubernetes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defending-kubernetes", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill defending-kubernetes -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install trilwu/secskills defending-kubernetes --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/secskills-defense/skills/defending-kubernetes .cursor/skills/defending-kubernetes && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "defending-kubernetes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetes into .cursor/skills/defending-kubernetes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defending-kubernetes", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/trilwu/secskills.git --path secskills-defense/skills/defending-kubernetes--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add trilwu/secskills --skill defending-kubernetes -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install trilwu/secskills defending-kubernetes --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/secskills-defense/skills/defending-kubernetes .gemini/skills/defending-kubernetes && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "defending-kubernetes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetes into .gemini/skills/defending-kubernetes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defending-kubernetes", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install trilwu/secskills defending-kubernetesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add trilwu/secskills --skill defending-kubernetes -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/secskills-defense/skills/defending-kubernetes .github/skills/defending-kubernetes && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "defending-kubernetes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetes into .github/skills/defending-kubernetes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defending-kubernetes", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add trilwu/secskills --skill defending-kubernetes -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install trilwu/secskills defending-kubernetes --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/trilwu/secskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/secskills-defense/skills/defending-kubernetes .opencode/skills/defending-kubernetes && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "defending-kubernetes" agent skill from https://github.com/trilwu/secskills/tree/main/secskills-defense/skills/defending-kubernetes into .opencode/skills/defending-kubernetes/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "defending-kubernetes", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
defending-kubernetesHarden and monitor a Kubernetes cluster against the attacks that actually happen — RBAC least privilege and escalation paths, Pod Security Admission enforcement, network policy default-deny, secrets…
Defending Kubernetes is an agent skill from trilwu/secskills. Harden and monitor a Kubernetes cluster against the attacks that actually happen — RBAC least privilege and escalation paths, Pod Security Admission enforcement, network policy default-deny, secrets and service-account token exposure, control-plane and kubelet exposure, and audit-log-based detection. Use when reviewing a cluster's security posture, responding to a suspected cluster compromise, deciding what to enforce and detect, or translating an attack path from attacking-eks-gke-aks into a defense.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Container orchestration, Authorization and RBAC and Translation. It works with Kubernetes and Google Kubernetes Engine. The repository describes itself as: Transform Claude Code into your personal security engineer. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ca53957. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
kubectljqcurlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
defuddle.mdFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Defending Kubernetes loads about 2.2k tokens when it runs. Until then it costs about 132 tokens; SKILL.md has 1,064 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from trilwu/secskills at commit ca53957, republished under its MIT licence (© trilwu). 1,064 words, ~2,223 tokens.
.claude/skills/defending-kubernetes/SKILL.md (or your agent's skills folder).Kubernetes is insecure in useful defaults, not in exotic bugs. The attacks that land are RBAC that grants more than intended, pods that run privileged because nothing stops them, a flat pod network, and mounted service-account tokens with cluster-wide reach. Defense is mostly closing those, in priority order, and being able to see when someone tries.
This is the counterpart to attacking-eks-gke-aks and exploiting-containers:
read those to know what the attacker does; use this to know what to enforce and
what to watch.
attacking-eks-gke-aksexploiting-containers / escaping-hardened-containers for the technique;
return here for the controlinvestigating-*-incidents / hardening-cloud-posture; a
GKE/EKS/AKS incident usually needs both planestriaging-security-alertsOrder matters — these are ranked by how often the gap is the actual entry path.
The most common real weakness. Look for the bindings that are escalation primitives regardless of how innocent they look:
# Who can create pods anywhere? (→ mount any secret, run as any SA)
kubectl auth can-i create pods --all-namespaces --as=system:serviceaccount:ns:sa
# Subjects bound to cluster-admin
kubectl get clusterrolebindings -o json | \
jq '.items[] | select(.roleRef.name=="cluster-admin") | .subjects'The dangerous verbs are not just *. create pods lets a subject run a pod
as any service account in the namespace and mount any secret — effectively
namespace-admin. escalate and bind on roles let a subject grant themselves
more than they hold. create on pods/exec, and access to
secrets, serviceaccounts/token, and nodes/proxy are each escalation
paths. Enumerate what subjects can do, not what their role is named.
PodSecurityPolicy was removed in Kubernetes 1.25; the built-in replacement
is Pod Security Admission, which enforces the three Pod Security Standards
levels — privileged, baseline, restricted — per namespace via labels:
# Namespace label: enforce the restricted profile, and warn/audit on violations
pod-security.kubernetes.io/enforce: restricted
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/audit: restrictedrestricted blocks the pod configurations that make escape and privilege
escalation easy: privileged containers, host namespaces (hostPID, hostNetwork,
hostIPC), host-path mounts, running as root, added capabilities. A cluster
with no enforced profile is one securityContext.privileged: true away from a
node takeover. If you need policy beyond the three levels (image provenance,
registry allow-lists), that is an external admission controller (Kyverno, OPA
Gatekeeper) — note it, do not pretend PSA covers it.
By default every pod can reach every other pod. A default-deny ingress policy per namespace, with explicit allows, is what stops a single compromised pod from becoming lateral movement. Confirm the CNI actually enforces NetworkPolicy — some configurations accept the objects and enforce nothing, which is worse than none because it looks covered.
automountServiceAccountToken: false on pods that do not call the API.
A mounted token plus a permissive RBAC binding is the standard in-cluster
pivot.nodes/proxy RBAC and an exposed 10250 are
a direct route to command execution on nodes.Most clusters run with no meaningful audit policy, so there is nothing to investigate after the fact. A cluster without an audit policy configured is the Kubernetes version of GCP Data Access logging being off — the activity is simply not recorded.
High-value audit signals:
exec, attach, and port-forward into pods — interactive accessget/list at scale, especially cluster-widecreate/update on clusterrolebindings and rolebindingsprivileged, host namespaces, or host-path mountssystem:unauthenticated requests that succeedTokenRequest APIOn managed clusters the audit log ships to the cloud logging plane (GKE →
Cloud Audit Logs, EKS → CloudWatch, AKS → Azure Monitor), which is where the
investigation joins up with the investigating-*-incidents skills.
create pods or secrets get in a namespace is namespace-admin in effect.
Enumerate capabilities, not titles.restricted and actually enforced, not merely warn. A baseline or
audit-only label stops almost none of the escape paths.get secrets has them.Fetch public advisories, specifications, and vendor reports as Markdown:
curl -sL "https://defuddle.md/<url>" # scheme in the path is optionalThis strips page boilerplate — roughly 78% fewer tokens on a prose page — and returns the full text rather than a summary, so you can grep it and trust a negative result.
Three things it is not for. Fetch JSON and API responses raw, because readability extraction mangles structured data. Fetch authenticated or JavaScript-rendered pages directly, because it retrieves them anonymously. And never route adversary infrastructure (phishing links, C2, malware hosting), client-owned hosts, or engagement URLs through it — the request leaves your machine to a third party, and for live adversary infrastructure it also tips off the operator.
Some sites block the extractor and return an error blob rather than the page —
{"error":"Failed to fetch: 418 I'm a teapot"} from freedesktop.org, for
instance. That is the fetch being refused, not the source saying the thing
does not exist. Re-fetch the URL directly before drawing any conclusion from
it.
attacking-eks-gke-aks — the attack paths these controls closeexploiting-containers, escaping-hardened-containers — the escape
techniques Pod Security aims to preventhardening-cloud-posture — the cloud IAM plane around the clusterengineering-detections — turning the audit signals above into rulesinvestigating-aws-incidents / investigating-gcp-incidents — where a
managed-cluster audit trail leads© trilwu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in secskills-defense/skills/defending-kubernetes of trilwu/secskills.
Open the folder on GitHubat commit ca53957
Defending Kubernetes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Defending Kubernetes this skilltrilwu/secskills | 157 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Mirrord Operatoraiskillstore/marketplace | 433 | — | ~4.6k | Automated safety check: Pass | None | |
| Securing Kubernetes On Cloudmukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~3.3k | Automated safety check: Pass | Apache-2.0 | |
| Gke Workload Identitygoogle/skills | 21k | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| Azure Bastion Jitvinayaklatthe/microsoft-security-skills | 175 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Gke Batch Hpcgoogle/skills | 21k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 |
aiskillstore/marketplace
Help users install and configure the mirrord Operator for team/enterprise environments.
mukul975/Anthropic-Cybersecurity-Skills
Hardens managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity (IRSA for EKS, Workload Identity for GKE, Managed Identities for…
google/skills
Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 "iam.serviceAccounts.getAccessToken" / permission denied, "could not find default credentials", or…
vinayaklatthe/microsoft-security-skills
Guidance for secure remote VM management in Azure using Azure Bastion combined with Defender for Cloud just-in-time (JIT) VM access.
google/skills
Runs batch and HPC workloads on GKE, utilizing job queues and parallel processing.
Dynatrace/dynatrace-for-ai
GCP cloud resources including Compute Engine, GKE, Cloud Run, Pub/Sub, VPC networking, DNS, IAM, Secret Manager, and monitoring.
trilwu/secskills
Audit source code for exploitable vulnerabilities using threat-model-driven review, taint tracing, invariant checking, and variant analysis.
trilwu/secskills
Perform OSINT, subdomain enumeration, port scanning, web reconnaissance, email harvesting, and cloud asset discovery for initial access.
trilwu/secskills
Assess and harden LLM applications and agentic systems against prompt injection, tool misuse, excessive agency, memory poisoning, RAG data leakage, and model supply-chain risk, mapped to the OWASP…
trilwu/secskills
Reverse engineer compiled binaries, firmware, and mobile app packages using triage, static disassembly, decompilation, and dynamic instrumentation.
trilwu/secskills
Reverse engineer Go binaries by recovering function names and types from pclntab and moduledata using GoReSym, redress, and IDA/Ghidra Go plugins, and by reading Go's non-standard calling…
trilwu/secskills
Analyze iOS applications at the binary level — decrypting FairPlay-protected IPAs with frida-ios-dump or bagbak, inspecting Mach-O load commands, recovering Objective-C headers with class-dump, and…
Works with
Categories
Harden and monitor a Kubernetes cluster against the attacks that actually happen — RBAC least privilege and escalation paths, Pod Security Admission enforcement, network policy default-deny, secrets…. Defending Kubernetes is an agent skill from trilwu/secskills. Harden and monitor a Kubernetes cluster against the attacks that actually happen — RBAC least privilege and escalation paths, Pod Security Admission enforcement, network policy default-deny, secrets and service-account token exposure, control-plane and kubelet exposure, and audit-log-based detection.
Defending Kubernetes fits situations like: reviewing a clusters security posture; responding to a suspected cluster compromise; deciding what to enforce and detect; translating an attack path from attacking-eks-gke-aks into a defense.
Run `npx skills add trilwu/secskills --skill defending-kubernetes -a claude-code`. Or copy the skill folder (secskills-defense/skills/defending-kubernetes in trilwu/secskills) into .claude/skills/defending-kubernetes in your project. Claude Code loads it when a task matches its description.
Run `npx skills add trilwu/secskills --skill defending-kubernetes -a codex`. Or copy the skill folder (secskills-defense/skills/defending-kubernetes in trilwu/secskills) into .agents/skills/defending-kubernetes in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trilwu/secskills --skill defending-kubernetes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/defending-kubernetes, .gemini/skills/defending-kubernetes, .github/skills/defending-kubernetes and .opencode/skills/defending-kubernetes in your project.
Going by SKILL.md and its folder, Defending Kubernetes needs the command-line tools its instructions call (kubectl, jq and curl).
SKILL.md names 1 domain. In commands or code: defuddle.md; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Defending Kubernetes is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Defending Kubernetes: Mirrord Operator (aiskillstore/marketplace, 433 stars), Securing Kubernetes On Cloud (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Gke Workload Identity (google/skills, 21k stars) and Azure Bastion Jit (vinayaklatthe/microsoft-security-skills, 175 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
trilwu (a GitHub user) maintains it in trilwu/secskills, which has 157 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on September 4, 2026.
Source: trilwu/secskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.