azure-scaffold-iac

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

An Infrastructure-as-Code project scaffold for Microsoft Azure using Bicep or Terraform. Infrastructure as Code means defining cloud resources in files so they can be reviewed and recreated consistently.

In plain words
What is it for?
Use it to start Azure projects for new or existing infrastructure, choosing between Bicep, Terraform, or related approaches based on the workload and team.
Why use it?
It helps turn a workload description into an organized starting project with a suitable Azure deployment tool. It also guides choices such as subscriptions, networking, and whether existing resources must be imported.

Command for Claude Code

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

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

Good fit Use it to start Azure projects for new or existing infrastructure, choosing between Bicep, Terraform, or related approaches based on the workload and team.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jsgerman-oss/blackrim-nimbus-skills/azure-scaffold-iac"><img src="https://agentmods.dev/badge/commands/jsgerman-oss/blackrim-nimbus-skills/azure-scaffold-iac.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 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,733 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.00032 $0.01733
Opus 5 $0.00016 $0.00866
Sonnet 5 $0.00006 $0.00347
Haiku 4.5 $0.00003 $0.00173

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

Security

Grade A, and why

azure-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-azure/commands/azure-scaffold-iac.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.

Azure Scaffold IaC

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

What to do

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

    • Azure-only shop, team comfortable with a typed DSL, wants no state file → Bicep (recommended default for Azure-focused teams).
    • Multi-cloud, multi-provider, or org already standardized on HCL → Terraform (hashicorp/azurerm >= 4.x + Azure/azapi >= 2.x) or OpenTofu.
    • The user mentions ARM JSON templates → recommend Bicep instead. ARM JSON is legacy; Bicep compiles to ARM and is the recommended authoring surface for all new Azure IaC. Do not prescribe — recommend, then defer to the user.
  2. Confirm scope with up to three questions if not obvious from the workload description:

    • Single subscription, or multi-subscription with a Management Group hierarchy?
    • Network: new VNet, or integrating with an existing hub-spoke topology?
    • State: greenfield, or migrating from portal-built infrastructure (requires az resource show imports)?
  3. Generate the project skeleton in the current working directory or a subdirectory the user specifies. Every scaffold must include:

    • Pinned tool / provider versions.
    • Per-environment separation (dev, stage, prod).
    • Remote, locked state (Terraform) or ARM-native state via Bicep.
    • A .gitignore appropriate to the tool.
    • A README.md with bootstrap and deploy / destroy commands.
    • At least one module / template set: networking (VNet + NSGs + private DNS zones) + a compute placeholder + a data placeholder.
    • GitHub Actions (or Azure DevOps Pipeline YAML) with Workload Identity Federation for plan / apply, plus lint (az bicep build --lint / tflint + checkov).
    • Tagging policy applied via a shared parameter or local variable (Environment, Service, Owner, CostCenter).
  4. Wire safe defaults. For every scaffold:

    • Customer-managed key encryption at rest: Key Vault deployed first; CMK created; storage / database resources reference it.
    • Managed Identity on every compute resource: identity: { type: 'SystemAssigned' } in Bicep; identity { type = "SystemAssigned" } in Terraform.
    • Private endpoints for every PaaS data service; publicNetworkAccess: 'Disabled' on storage and databases.
    • VNet with dedicated subnets for compute, data, and management; NSG on each subnet with default-deny inbound.
    • Log Analytics workspace with bounded retention (30 days hot, 90 days for security tables); Application Insights linked to the same workspace.
    • Diagnostic settings on every resource routing audit logs to the Log Analytics workspace.
    • Azure Policy assignment for required tags; deny effect.
    • Resource lock (CanNotDelete) on every stateful production resource.

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. 12d ago First seen · 115 lines · 32 tokens per session scan A d7df5c247a26

Subscribe to this mod's changes

azure-scaffold-iac is a command published in the GitHub repository jsgerman-oss/blackrim-nimbus-skills (8 stars, last pushed 27d ago), licensed MIT. It adds 32 tokens to every session and 1,733 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.