aws-scaffold-iac

aws-scaffold-iac is a command for Claude Code from jsgerman-oss/blackrim-nimbus-skills. It costs 28 tokens per session (1,226 once invoked), scanned A, original, MIT.

A command that creates the starter structure for an AWS Infrastructure-as-Code project. Infrastructure as code means defining cloud resources in files so they can be managed consistently.

In plain words
What is it for?
Use it to start AWS projects with CDK, Terraform, CloudFormation, or SAM for serverless, multi-cloud, inherited, or organization-standard workloads.
Why use it?
It helps choose a suitable AWS setup and establish project files, pinned versions, environments, and remote state settings from the beginning.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the cloud-aws plugin — 6 skills, 1 command, 2 agents shipped together

Good fit Use it to start AWS projects with CDK, Terraform, CloudFormation, or SAM for serverless, multi-cloud, inherited, or organization-standard workloads.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac
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/jsgerman-oss/blackrim-nimbus-skills

Made for: Claude Code.

Or install cloud-aws, the plugin that ships this one along with the rest of its 6 skills, 1 command, 2 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 aws-scaffold-iac

README.md
[![agentmods](https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac/github.svg)](https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac)
Your own site
<a href="https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac"><img src="https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac/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 aws-scaffold-iac

Your own site · 80×15
<a href="https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac"><img src="https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/aws-scaffold-iac.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 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,226 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.00028 $0.01226
Opus 5 $0.00014 $0.00613
Sonnet 5 $0.00006 $0.00245
Haiku 4.5 $0.00003 $0.00123

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

Security

Grade A, and why

aws-scaffold-iac 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 12d 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.

cloud-aws/commands/aws-scaffold-iac.md · 127 lines

How it starts

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

AWS Scaffold IaC

Scaffold a new AWS Infrastructure-as-Code project for a workload described as: $ARGUMENTS

What to do

  1. Confirm the choice of tool. Ask the user which IaC tool they want, with a one-line recommendation based on the workload description:

    • Lambda-heavy serverless app → SAM (best local dev loop for Lambda + API Gateway).
    • AWS-only app with team comfortable in TS / Python → CDK v2.
    • Multi-cloud, multi-provider, or large org standard → Terraform (hashicorp/aws ≥ 5.x) or OpenTofu.
    • Inheriting CFN, GovCloud / China, or strict CFN parity → CloudFormation. Don't prescribe — recommend, then defer to the user.
  2. Confirm scope with up to three questions if not obvious:

    • Single account or org (and target account / region)?
    • Network: new VPC, or existing one (CIDR / id)?
    • State: greenfield, or migrating from console (import vs greenfield)?
  3. Generate the project skeleton in the current working directory (or a subdirectory the user picks). Use the layout below for the chosen tool. Every scaffold must include:

    • Pinned tool / provider versions and a lockfile.
    • Per-environment separation (dev, stage, prod).
    • Remote, locked state (Terraform) or CDK app config.
    • A .gitignore for the tool.
    • A README.md with bootstrap + deploy / destroy commands.
    • At least one stack: networking (VPC) + a compute placeholder + a state placeholder.
    • GitHub Actions (or equivalent) CI with OIDC role for plan / apply, plus lint (tflint / checkov / tfsec or cdk-nag).
    • Tagging policy applied via shared module / construct (Environment, Service, Owner, CostCenter).
  4. Wire safe defaults. For each scaffold:

    • Encryption at rest on by default.
    • Stateful resources tagged with prevent_destroy = true / RemovalPolicy.RETAIN.
    • VPC with three-AZ, public / private / isolated subnets, one NAT per AZ, S3 + DynamoDB gateway endpoints.
    • IAM roles defined per workload — no Action: "*".
    • CloudWatch log groups with bounded retention.

Read the full file on GitHub · 127 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. 12d ago First seen · 127 lines · 28 tokens per session scan A e495f3da7bba

Subscribe to this mod's changes

aws-scaffold-iac is a command published in the GitHub repository jsgerman-oss/blackrim-nimbus-skills (8 stars, last pushed 26d ago), licensed MIT. It adds 28 tokens to every session and 1,226 once invoked, about $0.0001 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.