infra-drift-audit · git:20260817.1f97d59 · 2026-08-17 · sha256 6a1dc2d4adcab3d3

infra-drift-audit git:20260817.1f97d59A

Immutable. This exact content never changes and is served at /api/v1/blob/6a1dc2d4adcab3d3.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_ykyxq7jpg6qzrbnv/6a1dc2d4adcab3d3958fc6e86af08c249e091d28f767fa5fef1e600081a86f20.json

Then /plugin install infra-drift-audit@markdownregistry-ykyxq7jpg6qzrbnv in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: infra-drift-audit
description: Compare declared infrastructure against what a state refresh reports, and list the divergences without resolving them.
---

# Audit infrastructure drift

## Steps

1. Ask which working directory holds the configuration, and confirm it contains `.tf` files
   before going further.
2. Read the declared resources from the configuration. Read the observed resources from a state
   refresh output the user supplies. Never assume one from the other.
3. Report three lists, in this order: declared but absent, present but undeclared, and present
   with differing attributes. Include the resource address in every entry.
4. For the third list, name each differing attribute with its declared and observed values side
   by side. An entry with no named attribute is not a drift finding — leave it out.

## What not to do

- Do not import, taint or remove anything from state. This skill reports divergence; changing
  state is a human decision made after reading the report.
- Do not treat a formatting difference as drift.
- Do not report a total drift count without the per-resource lists behind it.