cloud-k8s

cloud-k8s is a skill for Claude Code, Codex from Saprophytic-seattle561/reverse-skill. It costs 35 tokens per session (841 once invoked), scanned B, a copy of cloud-k8s, MIT.

A guide for authorized security checks on cloud accounts, containers, and Kubernetes clusters, a system for running containerized applications. It covers identity permissions, exposed services, container escape risks, and cluster access rules.

In plain words
What is it for?
Use it to review cloud identities and storage, test metadata-service access, inspect container settings and image vulnerabilities, and check Kubernetes permissions, secrets, admission controls, and network rules.
Why use it?
It gives security reviews a defined scope and order, helping avoid unsafe scans and missed issues across cloud and cluster systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review cloud identities and storage, test metadata-service access, inspect container settings and image vulnerabilities, and check Kubernetes permissions, secrets, admission controls, and network rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saprophytic-seattle561/reverse-skill/cloud-k8s
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 Saprophytic-seattle561/reverse-skill --skill cloud-k8s
Clone the repo
git clone --depth 1 https://github.com/Saprophytic-seattle561/reverse-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/saprophytic-seattle561/reverse-skill/cloud-k8s/github.svg)](https://agentmods.dev/skills/saprophytic-seattle561/reverse-skill/cloud-k8s)
Your own site
<a href="https://agentmods.dev/skills/saprophytic-seattle561/reverse-skill/cloud-k8s"><img src="https://agentmods.dev/badge/skills/saprophytic-seattle561/reverse-skill/cloud-k8s/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 cloud-k8s

Your own site · 80×15
<a href="https://agentmods.dev/skills/saprophytic-seattle561/reverse-skill/cloud-k8s"><img src="https://agentmods.dev/badge/skills/saprophytic-seattle561/reverse-skill/cloud-k8s.svg" alt="Reviewed on agentmods" width="80" 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 841 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00841
Opus 5.5 $0.00014 $0.00336
Sonnet 5.5 $0.00007 $0.00168
Haiku 4.5 $0.00003 $0.00084

Measured 3mo ago against content hash 86fdb2c06275, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

- 云元数据 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.

Origin

This is a copy

100% identical to cloud-k8s — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

What it actually says

Cloud / Container / Kubernetes Security

ACTION REQUIRED(读完后立刻执行)

  1. NOW: 读取 ../field-journal/precedent-pentest.md — 云/K8s 测试必须书面授权
  2. NOW: case-init + scope;明确账号边界、禁止破坏性操作
  3. NOW: 确认是云元数据/容器/K8s/IAM,而非普通 Web 扫(后者 pentest-tools/)
  4. NEXT: tool-index;kubectl/aws/gcloud 等多为手动安装
  5. ACT: 从「身份与暴露面」开始,禁止默认全网扫描

适用场景

  • 云元数据 SSRF(169.254.169.254 / IMDS)
  • IAM 过度权限、公开存储桶、错误安全组
  • Docker/containerd 逃逸路径评估
  • Kubernetes RBAC、Secrets、Admission、供应链镜像
  • 容器镜像漏洞(可联动 supply-chain-security/)

工作流

Phase 1 — 身份与边界

□ 当前身份:云 AK/SK、K8s SA、节点 SSH?
□ 范围:单账号 / 单 cluster / 单 namespace
□ 网络档:authorized_target_only

Phase 2 — 云控制面

# 示例(按厂商替换;MUST 在授权账号内)
aws sts get-caller-identity
aws s3 ls
# Azure / GCP 对应 identity 命令
□ 公开桶 / 错误 ACL
□ 元数据:IMDSv1 vs v2;SSRF 链
□ 角色可扮演(PassRole)与横向

Phase 3 — 容器

□ 是否 privileged / hostPath / hostNetwork
□ capabilities(SYS_ADMIN 等)
□ 可写宿主机路径 → 逃逸候选
□ 镜像历史与已知 CVE → Trivy

Phase 4 — Kubernetes

kubectl auth can-i --list
kubectl get pods,secrets,svc -A
kubectl get clusterrolebindings
□ SA token 挂载与权限
□ 危险 admission webhook 缺失
□ etcd / dashboard 暴露
□ 网络策略是否默认放行

工具链

工具 用途 自举
kubectl 集群交互 手动
trivy 镜像/IaC bootstrap trivy 若可用
kube-bench / kubeaudit CIS/配置 手动
pacu / scoutsuite 云审计(授权) 手动
nuclei 已知云漏洞模板 bootstrap nmap/nuclei 生态

参考

  • references/k8s-cloud-checklist.md
  • CTF 对照:../../CTF-Sandbox-Orchestrator/competition-agent-cloud/
  • ../supply-chain-security/ ../pentest-tools/

路由上下文

上游: MASTER R23
下游: 拿到节点 shell → attack-chain / windows-ad;镜像漏洞 → supply-chain
MUST NOT: 未授权扫公有云其他租户

任务完成自检

  • 是否限定在授权账号/cluster?
  • 发现是否含复现与影响?
  • 是否避免破坏性操作?
  • 报告 / journal?
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. 3mo ago First seen · 100 lines · 35 tokens per session scan B 86fdb2c06275

Subscribe to this mod's changes

cloud-k8s is a skill published in the GitHub repository Saprophytic-seattle561/reverse-skill (3 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 841 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (cloud metadata endpoint). It is 100% identical to cloud-k8s, differing in 0 lines, and is treated as a copy.

Related

cloud-k8s compared with skills from other repositories

cloud-k8s next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-k8sSaprophytic-seattle561/reverse-skillSkill31mo agoMITB35Claude Code, Codex
openshell-cliNVIDIA/OpenShellSkill22kyesterdayApache-2.0A134Claude Code, Codex
azd-deploymentsickn33/agentic-awesome-skillsSkill51ktodayMITA37Claude Code
kubernetes-architectsickn33/agentic-awesome-skillsSkill51ktodayMITA31Claude Code
tao-run-on-slurmNVIDIA/skillsSkill4.2k2d agoApache-2.0A94Claude Code
cdf-orchestration-setupNVIDIA/skillsSkill4.2k2d agoApache-2.0A105Codex
langbot-deploylangbot-app/LangBotSkill19ktodayApache-2.0B104Claude Code, Codex