infra-reviewer

infra-reviewer is an agent for Claude Code from avelikiy/great_cto. It costs 31 tokens per session (1,748 once invoked), scanned A, original, MIT.

A pre-change security review for infrastructure-as-code, which is configuration that creates and manages cloud resources. It covers tools such as Terraform, Pulumi, Helm, and CDK.

In plain words
What is it for?
It reviews cloud plans and configurations for access control, network exposure, storage privacy, encryption, security benchmarks, and destructive-change safeguards.
Why use it?
It helps catch publicly exposed resources, excessive permissions, missing encryption, configuration drift, and unsafe rollback paths before deployment.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the great-cto plugin — 40 skills, 44 commands, 70 agents shipped together

Good fit It reviews cloud plans and configurations for access control, network exposure, storage privacy, encryption, security benchmarks, and destructive-change safeguards.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/avelikiy/great_cto/infra-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/avelikiy/great_cto

Made for: Claude Code.

Or install great-cto, the plugin that ships this one along with the rest of its 40 skills, 44 commands, 70 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/avelikiy/great_cto/infra-reviewer"><img src="https://agentmods.dev/badge/agents/avelikiy/great_cto/infra-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,748 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.00031 $0.01748
Opus 5 $0.00015 $0.00874
Sonnet 5 $0.00006 $0.00350
Haiku 4.5 $0.00003 $0.00175

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

Security

Grade A, and why

infra-reviewer 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 5d 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.

agents/infra-reviewer.md · 163 lines

How it starts

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

You are the Infra Reviewer — a specialist subagent that activates for archetype: infra. The general security-officer covers OWASP for application code; you cover the cloud-resource surface where one wrong aws_s3_bucket line goes on TechCrunch.

The Step-0 read-inputs, output convention (docs/sec-threats/TM-{slug}.md), severity scale, verdict rules, and HANDOFF format come from archetype-review-base. This prompt adds ONLY the infra heuristics.

Domain triggers

  • Any Terraform / Pulumi / Helm / CDK change touching IAM, networking, encryption, public access
  • Pre-terraform apply / pre-helm upgrade to production

TM sections you must complete

Beyond the base read-inputs, also read terraform/*.tf / Pulumi.yaml / Chart.yaml / cdk.json, the terraform plan output (run if not already), and PROJECT.md cloud-providers: / regions:. The TM (infra-adapted) must complete:

  1. Public-access audit — every S3 / GCS / Azure Blob / Public ALB explicitly justified or blocked
  2. IAM least-privilege — Access Analyzer + iamlive + permission boundaries
  3. Encryption at rest + in transit — KMS / CMEK / Customer-managed; rotation cadence
  4. CIS benchmark — CIS AWS Foundations / GCP / Azure — score ≥ 90%
  5. Drift detection — terraform plan in CI; alert on manual changes
  6. Rollback path — every change has a documented "how to undo" — not optional
  7. Cost delta + capacity — projected $/month change at the top of TM
  8. Network isolation — VPC / Subnet / SG / NACL — default-deny + explicit allowlist

Domain review steps

Step 1: Public-resource audit (most important)

Run static check first:

# Terraform
tfsec . --format=json --soft-fail | jq '.results[] | select(.severity=="CRITICAL" or .severity=="HIGH")'
checkov -d . -o json | jq '.results.failed_checks[] | select(.severity=="HIGH" or .severity=="CRITICAL")'

# Pulumi
pulumi preview --policy-pack=...

# CDK
cdk-nag --json

For every Critical / High finding from tfsec/checkov, decide:

Read the full file on GitHub · 163 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. 5d ago Changed af0e8125d915
  2. 7d ago Changed · -48 tokens per session e46181b4f536
  3. 11d ago First seen · 163 lines · 79 tokens per session scan A 1b584b1fe75a

Subscribe to this mod's changes

infra-reviewer is an agent published in the GitHub repository avelikiy/great_cto (92 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 1,748 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories

parallel-reviewer

Parallel code review using 4 specialist agents (elixir-reviewer, security-analyzer, testing-reviewer, verification-runner). Use for thorough review of significant changes.

oliver-kriska/claude-elixir-phoenix · 38 tokens

craft-code-reviewer-deep

Deep code review on Opus 4.8 for high-stakes PRs — release branches, security-sensitive code, large architectural changes, migrations, multi-service flows. Use when extra scrutiny is worth the token cost; use craft-code-reviewer for daily review.

michtio/craftcms-claude-skills · 62 tokens

fec-code-reviewer

Senior review focusing on front-end code (React/Vue/Next/Nuxt, TypeScript, styles, client-side security). Delegate after writing or modifying the front-end; by default, only the review report will be output and placed, and the business code will not be modified directly. Press CRITICAL→LOW to check, control noise and…

bovinphang/frontend-craft · 95 tokens

fec-performance-optimizer

Front-end performance analysis and optimization specialization: Core Web Vitals, packaging volume, runtime and rendering, network and cache, memory leak troubleshooting; can cooperate with Lighthouse, Bundle analysis and Profiler. Use it when users mention page slowness, lag, first screen, package size, poor…

bovinphang/frontend-craft · 0 tokens

fec-figma-implementer

Focus on implementing the proxy of UI components accurately according to the design draft, and save the implementation report as a Markdown file. Supports six design tools: Figma, Sketch, MasterGo, Pixso, Ink Knife, and Mockup. Provide design draft links, selection screenshots or annotation data, automatically obtain…

bovinphang/frontend-craft · 0 tokens

claude-deep-review

Internal Claude subagent for deep code review — security vulnerabilities, bug detection, and performance analysis. Has native codebase access (Read, Grep, Glob, Bash) to trace input paths, follow call chains, profile hot paths, and verify assumptions. Launched automatically by council review workflows — not invoked…

rube-de/cc-skills · 71 tokens