cloud-k8s

cloud-k8s is a skill for Claude Code, Codex from xAmirHamza77/ReverseOps-Skill. It costs 35 tokens per session (757 once invoked), scanned B, original, MIT.

A guide for authorized security assessments of cloud accounts, containers, and Kubernetes clusters. Kubernetes is a system for running and managing containers.

In plain words
What is it for?
Use it to review cloud identity, storage and network settings, container escape paths, Kubernetes permissions, secrets, admission controls, and image vulnerabilities.
Why use it?
It provides boundaries and checks for risks such as metadata-server requests, excessive permissions, container escapes, and cluster access-control mistakes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/xamirhamza77/reverseops-skill/cloud-k8s
Any agent
npx skills add xAmirHamza77/ReverseOps-Skill --skill cloud-k8s
Clone the repo
git clone --depth 1 https://github.com/xAmirHamza77/ReverseOps-Skill

Made for: Claude Code, Codex.

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 cloud-k8s

README.md
[![agentmods](https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/cloud-k8s.svg)](https://agentmods.dev/skills/xamirhamza77/reverseops-skill/cloud-k8s)
Your own site
<a href="https://agentmods.dev/skills/xamirhamza77/reverseops-skill/cloud-k8s"><img src="https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/cloud-k8s.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 757 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original 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.00035 $0.00757
Opus 5 $0.00017 $0.00378
Sonnet 5 $0.00007 $0.00151
Haiku 4.5 $0.00003 $0.00076

Measured 5d ago against content hash bbd77bd452de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

cloud-k8s scanned grade B with 1 finding 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 5d 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.

Cloud metadata endpointmediumServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Cloud metadata SSRF (169.254.169.254 / IMDS)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/cloud-k8s/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cloud / Container / Kubernetes Security

ACTION REQUIRED (execute immediately after reading)

  1. NOW: Read ../field-journal/precedent-pentest.mdcloud/K8s testing requires written authorization
  2. NOW: case-init + scope; define account boundaries clearly; destructive operations are prohibited
  3. NOW: Confirm this is cloud metadata/container/K8s/IAM work, not generic web scanning (for the latter use pentest-tools/)
  4. NEXT: tool-index; kubectl/aws/gcloud, etc. usually require manual installation
  5. ACT: Start from "identity and attack surface"; full-network scanning by default is prohibited

Applicable Scenarios

  • Cloud metadata SSRF (169.254.169.254 / IMDS)
  • IAM excessive permissions, public storage buckets, misconfigured security groups
  • Docker/containerd escape path assessment
  • Kubernetes RBAC, Secrets, Admission, supply-chain images
  • Container image vulnerabilities (can be combined with supply-chain-security/)

Workflow

Phase 1 — Identity & Boundaries

□ Current identity: cloud AK/SK, K8s SA, node SSH?
□ Scope: single account / single cluster / single namespace
□ Network profile: authorized_target_only

Phase 2 — Cloud Control Plane

# Examples (substitute per vendor; MUST be within the authorized account)
aws sts get-caller-identity
aws s3 ls
# Azure / GCP equivalent identity commands
□ Public buckets / incorrect ACLs
□ Metadata: IMDSv1 vs v2; SSRF chains
□ Assumable roles (PassRole) and lateral movement

Phase 3 — Containers

□ Whether privileged / hostPath / hostNetwork
□ capabilities (SYS_ADMIN, etc.)
□ Writable host paths → escape candidates
□ Image history and known CVEs → Trivy

Phase 4 — Kubernetes

kubectl auth can-i --list
kubectl get pods,secrets,svc -A
kubectl get clusterrolebindings
□ SA token mounting and permissions
□ Missing dangerous admission webhooks
□ etcd / dashboard exposure
□ Whether network policies allow-all by default

Read the full file on GitHub · 100 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 100 lines · 35 tokens per session scan B bbd77bd452de

Subscribe to this mod's changes

cloud-k8s is a skill published in the GitHub repository xAmirHamza77/ReverseOps-Skill (4 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 757 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

kubernetes-specialist

Use when deploying or managing Kubernetes workloads. Invoke to create deployment manifests, configure pod security policies, set up service accounts, define network isolation rules, debug pod crashes, analyze resource limits, inspect container logs, or right-size workloads. Use for Helm charts, RBAC policies…

Jeffallan/claude-skills · 79 tokens

n8n-self-hosting

Deploy a production self-hosted n8n end-to-end to a fresh Linux VM over SSH, using Docker Compose behind a Caddy reverse proxy with automatic HTTPS. Use whenever the user wants to self-host, install, set up, provision, or deploy n8n on their own server/VPS/box (Hetzner, DigitalOcean, AWS EC2, bare metal, etc.) — in…

czlonkowski/n8n-mcp · 265 tokens

ecs

AWS ECS container orchestration for running Docker containers. Use when deploying containerized applications, configuring task definitions, setting up services, managing clusters, or troubleshooting container issues.

itsmostafa/aws-agent-skills · 35 tokens

eks

AWS EKS Kubernetes management for clusters, node groups, and workloads. Use when creating clusters, configuring IRSA, managing node groups, deploying applications, or integrating with AWS services.

itsmostafa/aws-agent-skills · 38 tokens

performing-kubernetes-penetration-testing

Kubernetes penetration testing systematically evaluates cluster security by simulating attacker techniques against the API server, kubelet, etcd, pods, RBAC, network policies, and secrets. Using tools.

xalgorix/xalgorix · 46 tokens

kubernetes-skill

Prevent Kubernetes hallucinations by diagnosing and fixing failure modes: insecure workload defaults, resource starvation, network exposure, privilege sprawl, fragile rollouts, and API drift. Use when generating, reviewing, refactoring, or migrating manifests, Helm charts, Kustomize overlays, cluster policies, and…

LukasNiessen/kubernetes-skill · 89 tokens