review-infrastructure

review-infrastructure is a skill for Claude Code, Codex from paultyng/skill-issue. It costs 95 tokens per session (2,874 once invoked), scanned B, original, MIT.

A process for reviewing infrastructure configuration such as Terraform, Kubernetes files, Dockerfiles, Helm charts, gateways, and service meshes. Infrastructure configuration describes how software is built, deployed, and connected.

In plain words
What is it for?
Use it to inspect infrastructure files, selected modules, or changed files for deployment, container, gateway, and service-mesh problems.
Why use it?
Configuration mistakes can expose services, break deployments, or cause incorrect network behavior. The review turns these risks into prioritized findings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents.

Good fit Use it to inspect infrastructure files, selected modules, or changed files for deployment, container, gateway, and service-mesh problems.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/paultyng/skill-issue/review-infrastructure"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/review-infrastructure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,874 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00095 $0.02874
Opus 5.5 $0.00038 $0.01150
Sonnet 5.5 $0.00019 $0.00575
Haiku 4.5 $0.00010 $0.00287

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

Security

Grade B, and why

review-infrastructure scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Findings must cite probed evidence (`path:line`, grep output, command result), not pattern-matched suspicion. Per `~/.claude/rules/probe-not-assume.md`.
skills/review-infrastructure/SKILL.md · 190 lines

How it starts

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

Infrastructure Review

Structured infrastructure-as-code review producing actionable, prioritized findings with code-level references. Covers Terraform / OpenTofu, Kubernetes manifests, Dockerfiles, Helm charts, north-south gateway exposure (Envoy as edge gateway, Ingress controllers, Gateway API), and east-west service mesh (Linkerd, Istio).

Out of scope (defer to siblings):

  • Pod shutdown / SIGTERM / preStop / terminationGracePeriodSeconds → review-reliability
  • IAM policies, secret material, KMS key usage → review-security (but flag inline plaintext secrets in TF / k8s here)
  • Application source code (.go, .proto, etc.) → review-code

Workflow

1. Scope and explore

  • Confirm scope with the user: full codebase, specific paths/modules, changed files only (PR or branch diff), or specific concern.
  • Resolve scope to a file list. Based on what the user requested:
    • Changed files (PR or branch): Run git diff --name-only --diff-filter=d <base>...HEAD to get changed files (default <base> is main). If the user references a PR number, use gh pr diff <number> --name-only instead. Filter to infrastructure file types (see classification below).
    • Explicit paths/modules: The user may specify directories (e.g. terraform/, deploy/k8s/) or individual files. Include all infra files under it.
    • Full codebase: No filtering. Walk the repo for infra files (default).
  • If invoked from review-all: receive file_list, has_changes, base_ref, REVIEW_DIR, and pr_url from the orchestrator. Skip your own scope confirmation and use the provided values directly.
  • Pass the resolved scope (file list) to all exploration and investigation subagents so findings stay scoped to those files. Reading is not scoped: follow callees, callers, and third-party source wherever a finding depends on their behavior. Report bugs in code the scope touches or calls even when they predate the diff, prefixed pre-existing:.

Read the full file on GitHub · 190 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 98ff770def01
  2. 3mo ago First seen · 190 lines · 95 tokens per session scan B ab1eb449bd9b

Subscribe to this mod's changes

review-infrastructure is a skill published in the GitHub repository paultyng/skill-issue (8 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 2,874 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

review-infrastructure compared with skills from other repositories

review-infrastructure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-infrastructurepaultyng/skill-issueSkill8todayMITB95Claude Code, Codex
deep-reviewulises-jeremias/agent-toolkitSkill28todayMITA57Claude Code
gh-address-commentsulises-jeremias/agent-toolkitSkill28todayMITA51Claude Code
deslopulises-jeremias/agent-toolkitSkill28todayMITA14Claude Code
pr-alignment-loopnikships/skills-registrySkill251mo agoApache-2.0A122Claude Code, Codex
blind-spot-passemaraschio/cursor-commandsSkill915d agoMITA138Claude Code, Cursor
merge-open-prsemaraschio/cursor-commandsSkill915d agoMITA65Claude Code, Cursor