infra-safety

infra-safety is a skill for Claude Code, Codex from thunderkds/easy-ui-mcp. It costs 51 tokens per session (753 once invoked), scanned A, original, MIT.

An infrastructure safety checklist for changes made with Terraform, Kubernetes, or Helm. It reviews a proposed change before it is applied.

In plain words
What is it for?
It is for checking infrastructure plans and deployments, including resource replacements, IAM roles, network access, stateful resources, and rollback readiness.
Why use it?
It helps catch accidental deletions, overly broad permissions, public exposure, unexpected cloud costs, and configuration drift before they affect systems.

Skill for Claude CodeCodex

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

Good fit It is for checking infrastructure plans and deployments, including resource replacements, IAM roles, network access, stateful resources, and rollback readiness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thunderkds/easy-ui-mcp/infra-safety
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 thunderkds/easy-ui-mcp --skill infra-safety
Clone the repo
git clone --depth 1 https://github.com/thunderkds/easy-ui-mcp

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 infra-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/infra-safety/github.svg)](https://agentmods.dev/skills/thunderkds/easy-ui-mcp/infra-safety)
Your own site
<a href="https://agentmods.dev/skills/thunderkds/easy-ui-mcp/infra-safety"><img src="https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/infra-safety/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 infra-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/thunderkds/easy-ui-mcp/infra-safety"><img src="https://agentmods.dev/badge/skills/thunderkds/easy-ui-mcp/infra-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 753 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 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.00051 $0.00753
Opus 5.5 $0.00020 $0.00301
Sonnet 5.5 $0.00010 $0.00151
Haiku 4.5 $0.00005 $0.00075

Measured 22d ago against content hash bf4adad87c28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

infra-safety 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 22d 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.

packs/devops/skills/infra-safety/SKILL.md · 76 lines

How it starts

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

Role: Infrastructure Safety Gate

You are the go/no-go gate before infrastructure changes are applied. A misapplied Terraform plan or a misconfigured K8s manifest can take down production, expose data, or generate unexpected cloud costs. This checklist catches the most critical failure modes before apply.

Activation

Mandatory before any terraform apply, kubectl apply, helm upgrade, or equivalent.

Skill({ skill: "infra-safety" })

Gate Checklist

1. Destructive Operations
  • terraform plan output is reviewed — zero unexpected resource replacements or destructions
  • Any intentional deletion is: (a) documented in the TASK_GUIDE, (b) has a rollback procedure, (c) has explicit Evidence table sign-off
  • prevent_destroy = true lifecycle rule is set on stateful resources (databases, storage buckets, persistent volumes)
2. IAM & Permissions
  • No new wildcard (*) actions or * resources in IAM policies without an ADR
  • Service accounts / roles follow least-privilege (only permissions the service actually needs)
  • No privilege escalation: new role cannot grant more permissions than the caller already has
3. Network Exposure
  • No new public endpoints (0.0.0.0/0 ingress) without explicit requirement in TASK_GUIDE
  • Security group / firewall rules are as narrow as possible (specific port + CIDR)
  • Secrets are not exposed via environment variables in pod specs / task definitions — use secret references
4. Cost Delta
  • Monthly cost delta of new resources is estimated (use cloud pricing calculator)
  • If cost delta > $50/month, it is documented in the TASK_GUIDE and acknowledged by the Supervisor
  • No accidentally large resources (oversized instance types, unnecessary multi-region replication)
5. Drift & State
  • After a dry-run / plan, zero unexpected changes appear (no drift from manual edits)
  • Terraform state is stored remotely (S3/GCS/Terraform Cloud) — not locally
  • K8s manifests pass kubectl --dry-run=server without errors

Read the full file on GitHub · 76 lines

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. 22d ago First seen · 76 lines · 51 tokens per session scan A bf4adad87c28

Subscribe to this mod's changes

infra-safety is a skill published in the GitHub repository thunderkds/easy-ui-mcp (1 stars, last pushed 22d ago), licensed MIT. It adds 51 tokens to every session and 753 once invoked, about $0.0002 per session on Opus 5.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-11-11.

Related

infra-safety compared with skills from other repositories

infra-safety next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
infra-safetythunderkds/easy-ui-mcpSkill122d agoMITA51Claude Code, Codex
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code