Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/srnichols/plan-forgenpx agentmods add skills/srnichols/plan-forge/infra-deployWrote 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.
[](https://agentmods.dev/skills/srnichols/plan-forge/infra-deploy)<a href="https://agentmods.dev/skills/srnichols/plan-forge/infra-deploy"><img src="https://agentmods.dev/badge/skills/srnichols/plan-forge/infra-deploy/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.
<a href="https://agentmods.dev/skills/srnichols/plan-forge/infra-deploy"><img src="https://agentmods.dev/badge/skills/srnichols/plan-forge/infra-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.01085 |
| Opus 5.5 | $0.00016 | $0.00434 |
| Sonnet 5.5 | $0.00008 | $0.00217 |
| Haiku 4.5 | $0.00004 | $0.00109 |
Grade A, and why
infra-deploy 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Infrastructure Deploy Skill
Trigger
"Deploy infrastructure" / "Deploy to staging" / "Run azd up" / "Apply Terraform"
Steps
1. Pre-Flight Checks
# Verify active subscription and context
az account show --query "{name: name, id: id}"
# Confirm the target environment
Write-Host "Deploying to: $env:AZURE_ENV_NAME"
# For Bicep: lint before anything
az bicep lint --file infra/main.bicep
# For Terraform
terraform init
terraform fmt -check -recursive
terraform validate
2. What-If / Plan
# Bicep — what-if
az deployment group what-if \
--resource-group $resourceGroup \
--template-file infra/main.bicep \
--parameters infra/main.parameters.json
# Terraform
terraform plan -out=tfplan
# azd
azd provision --preview
3. Deploy
# Bicep
az deployment group create \
--resource-group $resourceGroup \
--template-file infra/main.bicep \
--parameters infra/main.parameters.json \
--name "deploy-$(Get-Date -Format 'yyyyMMdd-HHmm')"
# Terraform
terraform apply tfplan
# azd (full lifecycle)
azd up --no-prompt
4. Verify
# Check deployment status
az deployment group list \
--resource-group $resourceGroup \
--query "[?properties.provisioningState=='Succeeded'] | [-1].name"
# Integration / smoke tests
Invoke-Pester -Path ./tests/integration -Output Detailed
# List any non-succeeded resources
az resource list \
--resource-group $resourceGroup \
--query "[?properties.provisioningState!='Succeeded'].{Name:name, Type:type, State:properties.provisioningState}"
Safety Rules
- ALWAYS run what-if / plan before applying
- ALWAYS confirm the subscription before deploying to production
- NEVER apply to production without a preceding staging deployment
- NEVER auto-approve destructive changes (resource replacement or deletion)
- Ask before applying any plan that shows resource deletion
Rollback
# Bicep — list recent deployments, redeploy N-1
az deployment group list \
--resource-group $resourceGroup \
--query "sort_by([?properties.provisioningState=='Succeeded'], &properties.timestamp)[-2].name" \
--output tsv
# Terraform
git revert HEAD
terraform apply
# azd
azd down --force # deprovision, then re-up from last commit
git revert HEAD && azd up
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.
- 3mo ago First seen · 136 lines · 39 tokens per session scan A 66e41b606f5c
infra-deploy is a skill published in the GitHub repository srnichols/plan-forge (6 stars, last pushed 26d ago), licensed MIT. It adds 39 tokens to every session and 1,085 once invoked, about $0.0002 per session on Opus 5.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.
infra-deploy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| infra-deploysrnichols/plan-forge | Skill | 6 | 26d ago | MIT | A | 39 | Claude Code |
| aspiremanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 145 | Claude Code, Codex |
| azure-functionsmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 113 | Claude Code, Codex |
| wpfmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 122 | Claude Code, Codex |
| mcpmanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 123 | Claude Code, Codex |
| microsoft-extensions-aimanagedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 128 | Claude Code, Codex |
| migrate-xunit-to-xunit-v3managedcode/dotnet-skills | Skill | 527 | 16d ago | MIT | A | 149 | Claude Code, Codex |