infra-apply

infra-apply is a skill for Claude Code, Codex from makigjuro/cloudstack-ai-plugins. It costs 34 tokens per session (794 once invoked), scanned A, original, MIT.

An infrastructure deployment helper for Terraform, a tool that defines cloud resources as code. It creates a change preview and can optionally apply the approved changes to a selected environment or module.

In plain words
What is it for?
Use it to preview or deploy changes in environments such as development, staging, or production. It can work with individual modules or all modules and supports Terragrunt, a wrapper that coordinates Terraform configurations.
Why use it?
It shows what will change before anything is deployed, reducing the risk of unexpected infrastructure updates.

Skill for Claude CodeCodex

Part of the cloud-infra plugin — 7 skills, 1 agent shipped together

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.

agentmods
npx agentmods add skills/makigjuro/cloudstack-ai-plugins/infra-apply
Any agent
npx skills add makigjuro/cloudstack-ai-plugins --skill infra-apply
Clone the repo
git clone --depth 1 https://github.com/makigjuro/cloudstack-ai-plugins

Made for: Claude Code, Codex.

Or install cloud-infra, the plugin that ships this one along with the rest of its 7 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-apply

README.md
[![agentmods](https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/infra-apply.svg)](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/infra-apply)
Your own site
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/infra-apply"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/infra-apply.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00794
Opus 5 $0.00017 $0.00397
Sonnet 5 $0.00007 $0.00159
Haiku 4.5 $0.00003 $0.00079

Measured 3d ago against content hash 557b46097d5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

infra-apply 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 3d 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/cloud-infra/skills/infra-apply/SKILL.md · 115 lines

How it starts

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

Infrastructure Apply

Generate a Terraform plan for review. Optionally apply after user confirmation.

Arguments

  • {environment} — Target environment (e.g., dev, staging, prod). Default: dev
  • {module} — Specific module to plan (e.g., aks-cluster, postgresql). If omitted, plan all.
  • --apply — Apply after showing the plan (requires explicit user confirmation)

Configuration

Read cloudstack.json from the project root at the start of execution. Extract:

  • TF_PATH = infrastructure.terraformPath (default: infra/terraform/modules)
  • TG_PATH = infrastructure.terragruntPath (default: infra/terragrunt)
  • IAC_WRAPPER = infrastructure.iacWrapper (default: none)

If cloudstack.json does not exist, auto-detect by scanning the project structure.

Process

Step 1: Validate First

Run /infra-lint terraform to ensure all modules are valid before planning.

Step 2: Generate Plan

If IAC_WRAPPER = terragrunt:

Single module:

cd {TG_PATH}/{environment}/{module}
terragrunt plan -out=tfplan

All modules:

cd {TG_PATH}/{environment}
terragrunt run --all plan

If IAC_WRAPPER = none (plain Terraform):

Single module:

cd {TF_PATH}/{module}
terraform plan -var="environment={environment}" -out=tfplan

All modules — iterate over each module directory:

for dir in {TF_PATH}/*/; do
  echo "=== Planning $(basename $dir) ==="
  terraform -chdir="$dir" plan -var="environment={environment}" -out=tfplan
done

Note: With plain Terraform, you may need to pass additional -var-file or -backend-config flags depending on the project setup. Check for {environment}.tfvars files.

Step 3: Review Plan Output

Display the plan summary:

  • Resources to add
  • Resources to change
  • Resources to destroy

CRITICAL: If any resources will be destroyed, highlight this prominently and require explicit user confirmation before proceeding.

Step 4: Apply (only if --apply and user confirms)

Read the full file on GitHub · 115 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. 3d ago First seen · 115 lines · 34 tokens per session scan A 557b46097d5b

Subscribe to this mod's changes

infra-apply is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 794 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-31.

Related

Other skills, from other repositories

redteam-cloud-detail-pack

Domain routing and boundary guidance for authorized cloud security testing, including IAM misconfiguration, exposed storage, metadata services, and serverless injection. Use when a task belongs to the cloud testing domain and needs scope, evidence, pivot, or exit criteria.

Netw0rkNoob/VulnClaw · 55 tokens

pinme-r2

Use when a PinMe Cloudflare Worker needs R2 object storage, including secure file or image upload, streaming download, metadata lookup, deletion, listing, Range requests, or R2+D1 coordination. Guides AI to use PinMe's automatically injected env.R2 binding without R2 credentials or manual Wrangler configuration.

glitternetwork/pinme · 68 tokens

subdomain-takeover-hunt

Detect and verify subdomain takeover via dangling CNAME to unclaimed services.

uphiago/recon-skills · 23 tokens

api-workers

Cloudflare Workers deployment using createWorkerHandler from @cyanheads/mcp-ts-core/worker. Covers the full handler signature, binding types, CloudflareBindings extensibility, runtime compatibility guards, and wrangler.toml requirements.

cyanheads/obsidian-mcp-server · 51 tokens

apim-bicep

Guide for building Bicep files for Azure API Management (APIM) and related Azure services. Use when users want to create, modify, or understand Bicep templates for APIM instances, APIs, backends, subscriptions, policies, products, loggers, diagnostics, and MCP servers. This skill provides Bicep syntax, patterns from…

Azure-Samples/AI-Gateway · 86 tokens

scaleway

Scaleway cloud integration for managing instances, Kapsule Kubernetes clusters, object storage, and managed databases via CLI and Terraform.

Arvo-AI/aurora · 29 tokens