infra-review

infra-review is a skill for Claude Code from yarlson/yarstack. It costs 43 tokens per session (510 once invoked), scanned A, original, MIT.

A read-only review of infrastructure-as-code and the deployment configuration produced from it. Infrastructure-as-code means text files that define servers, networks, storage, and other hosted resources.

In plain words
What is it for?
Use it to check affected resources, dependencies, targeting, state changes, destruction risk, availability, capacity, cost, and recovery steps before deployment.
Why use it?
It exposes deployment risks before a plan, apply, or release, including accidental replacement, data loss, downtime, cost changes, and difficult recovery.

Skill for Claude Code

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

Part of the yarstack plugin — 47 skills, 1 agent shipped together

Good fit Use it to check affected resources, dependencies, targeting, state changes, destruction risk, availability, capacity, cost, and recovery steps before deployment.

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

Made for: Claude Code.

Or install yarstack, the plugin that ships this one along with the rest of its 47 skills, 1 agent.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yarlson/yarstack/infra-review"><img src="https://agentmods.dev/badge/skills/yarlson/yarstack/infra-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 510 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.00043 $0.00510
Opus 5.5 $0.00017 $0.00204
Sonnet 5.5 $0.00009 $0.00102
Haiku 4.5 $0.00004 $0.00051

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

Security

Grade A, and why

infra-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 1mo 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.

plugins/yarstack/skills/infra-review/SKILL.md · 25 lines

How it starts

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

Infrastructure Review

Find the infrastructure changes that can destroy, replace, expose, or disrupt something before anyone applies them, using only evidence that changes nothing.

Workflow

  1. Identify the comparison target, the path from source to rendered configuration, the tools and their versions, and the affected environment. Refer to environments with redacted identifiers.
  2. Rank the changed resources by blast radius, then read their full definitions and dependency order.
  3. Check targeting, replacement or destruction, state and migration safety, data protection, recovery from a partial apply, availability, disruption, capacity, and material cost.
  4. Prefer plan output that already exists, such as a plan from CI. Read replacements and deletions from the machine-readable plan, not from its summary. For Terraform or OpenTofu: terraform show -json <planfile> | jq -r '.resource_changes[] | select(.change.actions | index("delete")) | "\(.address) \(.change.actions | join(","))"' lists every resource that the plan deletes or replaces.
  5. Run a new plan, render, diff, or dry run only when it is authorized and the repository supports it. A local terraform plan needs cloud credentials and takes a state lock by default, which writes to the backend and blocks other runs.
  6. Before you claim that a change replaces or destroys a resource, confirm the provider's behavior for that attribute in its local version or its documentation.
  7. Delegate exploit analysis to security-review, dependency provenance to dependency-review, CI mechanics to ci-review, and cross-cutting runtime readiness to rollout-readiness-review.

Never apply, deploy, install, upgrade, delete, destroy, or modify cloud state. Do not expose sensitive plan output or add policy frameworks for the review.

Result

Report each finding with its severity, exact location, redacted environment, concrete blast radius, failure path, smallest correction, evidence, and uncertainty. Mark confirmed public exposure, privilege escalation, secret leakage, unprotected destruction, unsafe state migration, and missing recovery as blocking findings; this is advice, not authority to block an operation. Also report the scope, the destructive effects, the cost impact, the checks run, and the confidence limits, or state that nothing was found.

Read the full file on GitHub · 25 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. 1mo ago Changed · +1 lines 6c1f5c11b274
  2. 3mo ago First seen · 24 lines · 43 tokens per session scan A e685e08cbcff

Subscribe to this mod's changes

infra-review is a skill published in the GitHub repository yarlson/yarstack (3 stars, last pushed 25d ago), licensed MIT. It adds 43 tokens to every session and 510 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-08-31.

Related

infra-review compared with skills from other repositories

infra-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
infra-reviewyarlson/yarstackSkill325d agoMITA43Claude Code
ring:creating-grafana-dashboardsLerianStudio/ringSkill2181mo agoApache-2.0A103Cursor
ring:migrating-to-lib-systemplaneLerianStudio/ringSkill2181mo agoApache-2.0A113Cursor
ring:creating-helm-chartsLerianStudio/ringSkill2181mo agoApache-2.0B92Cursor
shipgaragon/nanostackSkill2092mo agoApache-2.0A36Claude Code, Codex
sandbox-to-production-gatesjoelbrilliant/agentic-delivery-skillsSkill34d agoMITA49Claude Code, Codex
capturedavesheffer/hunchSkill185d agononeA21Claude Code