infra-as-code-review

infra-as-code-review is a skill for Claude Code from cnfeat/top-pm-skills. It costs 79 tokens per session (3,163 once invoked), scanned A, original, MIT.

An infrastructure-as-code review guide for checking Terraform, CloudFormation, Pulumi, Ansible, or CDK files that define cloud systems. It produces a structured report when code is supplied, or a reusable checklist when it is not.

In plain words
What is it for?
Use it to review cloud configuration, check security posture, and create a repeatable infrastructure review checklist.
Why use it?
It helps find security, reliability, and operational problems in infrastructure changes before they affect deployed systems. It also gives teams a consistent way to review future changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pm-engineering plugin — 37 skills shipped together

Good fit Use it to review cloud configuration, check security posture, and create a repeatable infrastructure review checklist.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cnfeat/top-pm-skills/infra-as-code-review
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 cnfeat/top-pm-skills --skill infra-as-code-review
Clone the repo
git clone --depth 1 https://github.com/cnfeat/top-pm-skills

Made for: Claude Code.

Or install pm-engineering, the plugin that ships this one along with the rest of its 37 skills.

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-as-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/cnfeat/top-pm-skills/infra-as-code-review/github.svg)](https://agentmods.dev/skills/cnfeat/top-pm-skills/infra-as-code-review)
Your own site
<a href="https://agentmods.dev/skills/cnfeat/top-pm-skills/infra-as-code-review"><img src="https://agentmods.dev/badge/skills/cnfeat/top-pm-skills/infra-as-code-review/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-as-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/cnfeat/top-pm-skills/infra-as-code-review"><img src="https://agentmods.dev/badge/skills/cnfeat/top-pm-skills/infra-as-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,163 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.00079 $0.03163
Opus 5 $0.00039 $0.01581
Sonnet 5 $0.00016 $0.00633
Haiku 4.5 $0.00008 $0.00316

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

Security

Grade A, and why

infra-as-code-review 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 7d 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.

参考skill/pm-claude-skills-main/pm-claude-skills-main/plugins/pm-engineering/skills/infra-as-code-review/SKILL.md · 301 lines

How it starts

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

Infrastructure-as-Code Review

Produce a structured infrastructure-as-code review that applies security, reliability, and operational quality standards to a specific body of IaC code. The output serves two purposes: an actionable review report for the code at hand (with findings by severity and specific remediation steps), and a reusable checklist the team can apply to every future IaC change. If the user provides actual code, analyze it and populate the findings table with real issues. If no code is provided, produce the checklist and a template findings report.

Required Inputs

Ask for these if not already provided:

  • IaC tool — Terraform, CloudFormation, Pulumi, Ansible, or CDK
  • Cloud provider — AWS, GCP, Azure, or multi-cloud
  • What the code provisions — a brief description (e.g., "VPC, EKS cluster, and RDS instance for the payments service")
  • Security policies or naming standards in use — any existing org standards to check against; if none, use sensible defaults
  • The IaC code itself — paste or describe it; if not provided, produce the checklist template only and note findings require code

Output Format


IaC Review Report: [What Is Being Provisioned]

Reviewer: [Name / Claude] IaC Tool: [Terraform / CloudFormation / Pulumi / Ansible / CDK] Cloud Provider: [AWS / GCP / Azure] Code Location: [Repo path or PR link] Review Date: [Date] Overall Risk: [Critical / High / Medium / Low]


Executive Summary

Severity Finding Count Resolved in This Review Carry-Over Risk
Critical [n] [n] [Yes/No — explain]
High [n] [n] [Yes/No — explain]
Medium [n] [n] [Yes/No — explain]
Low [n] [n] [Yes/No — explain]
Total [n] [n]

Recommendation: [Approve / Approve with Required Changes / Block — one sentence rationale]


Findings

Critical Findings

CRIT-01: [Finding Title]

Read the full file on GitHub · 301 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. 7d ago First seen · 301 lines · 79 tokens per session scan A d46046e1d353

Subscribe to this mod's changes

infra-as-code-review is a skill published in the GitHub repository cnfeat/top-pm-skills (48 stars, last pushed 2mo ago), licensed MIT. It adds 79 tokens to every session and 3,163 once invoked, about $0.0004 per session on Opus 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-09-03.