IaC Pinning And Deletion Protection

IaC Pinning And Deletion Protection is a skill for Claude Code, Codex from niels-emmer/myace. It costs 49 tokens per session (536 once invoked), scanned A, original, MIT.

A checklist for pinning the versions of infrastructure-as-code tools, providers, and modules, while protecting important resources from accidental deletion. Infrastructure as code means defining cloud infrastructure in files that tools apply.

In plain words
What is it for?
Use it when starting a stack, upgrading providers or modules, reviewing an infrastructure plan, or adding deletion protection to databases, storage, and other critical resources.
Why use it?
It makes infrastructure changes repeatable and helps prevent an upgrade or plan from destroying stateful resources unexpectedly. It also encourages testing upgrades on a non-production stack first.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Use it when starting a stack, upgrading providers or modules, reviewing an infrastructure plan, or adding deletion protection to databases, storage, and other critical resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/iac-pinning-and-deletion-protection
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 niels-emmer/myace --skill iac-pinning-and-deletion-protection
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

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 IaC Pinning And Deletion Protection

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/iac-pinning-and-deletion-protection/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/iac-pinning-and-deletion-protection)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/iac-pinning-and-deletion-protection"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/iac-pinning-and-deletion-protection/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 IaC Pinning And Deletion Protection

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/iac-pinning-and-deletion-protection"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/iac-pinning-and-deletion-protection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 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.00049 $0.00536
Opus 5.5 $0.00020 $0.00214
Sonnet 5.5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00054

Measured yesterday against content hash 6bb0c33d7e76, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

IaC Pinning And Deletion Protection 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 yesterday.

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.

collections/additional/iac-expert/skills/iac-pinning-and-deletion-protection/SKILL.md · 32 lines

How it starts

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

Purpose

Make infrastructure changes reproducible and make destructive changes deliberate.

When to use it

When starting a stack, bumping a tool or provider version, reviewing a plan, or marking resources as protected.

Checklist

  • Tool version: set a required version constraint for the IaC tool (for Terraform and OpenTofu, required_version) and run the same version locally and in CI.
  • Providers: declare each provider with a source and a version constraint, commit the dependency lock file, and review its diff on upgrade (terraform init -upgrade is a change, not a refresh).
  • Modules: pin registry modules to a version and git modules to a tag or commit; never track a branch.
  • Upgrades: one provider or major version at a time, with a plan on a non-production stack first; read the changelog for renamed or removed arguments.
  • Deletion protection: turn on the resource's native protection where it exists (database and storage deletion protection, key deletion windows, termination protection) and add lifecycle { prevent_destroy = true } for the most critical resources. Remember prevent_destroy only blocks destroys from this configuration; removing the block or the resource from code defeats it, so review those diffs.
  • Plan review: search the plan for destroy, replace and forces replacement; each one needs a stated reason and approval, and replacing a stateful resource needs a backup and migration plan.
  • State safety: back up state, never edit it by hand, and use moved blocks or import rather than recreate when refactoring.
  • Drift: schedule a read-only plan to detect drift and treat unexpected diffs as incidents to understand, not to blindly apply.
  • Exceptions: any waiver of these checks is recorded with the exception-documentation skill.

Expected output

A stack whose versions are pinned, whose critical resources are protected, and whose plans show no destroy or replace without a recorded approval.

Read the full file on GitHub · 32 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. yesterday First seen · 32 lines · 49 tokens per session scan A 6bb0c33d7e76

Subscribe to this mod's changes

IaC Pinning And Deletion Protection is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 536 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-29.

Related

IaC Pinning And Deletion Protection compared with skills from other repositories

IaC Pinning And Deletion Protection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
IaC Pinning And Deletion Protectionniels-emmer/myaceSkill12d agoMITA49Claude Code, Codex
terraform-risk-playbooksoulcodex/agenticSkill1010d agoMITA46Claude Code, Codex
idiomatic-goTypeFox/agent-skillsSkill51mo agoMITA137Claude Code
eclipse-license-checkTypeFox/agent-skillsSkill51mo agoMITA110Claude Code
go-documentationTypeFox/agent-skillsSkill51mo agoMITA98Claude Code
publish-vscode-extensionTypeFox/agent-skillsSkill51mo agoMITA107Claude Code
domainmodel-dslTypeFox/agent-skillsSkill51mo agoMITA68Claude Code