infrastructure-as-code

infrastructure-as-code is a skill for Codex from ashermahonin/agentic-skills. It costs 55 tokens per session (456 once invoked), scanned A, original, MIT.

Um método para conhecer um projeto de programação antes de começar a alterá-lo ou migrá-lo.

In plain words
What is it for?
Serve para identificar a tecnologia usada, encontrar os comandos de teste e compilação, entender a estrutura do projeto e definir o próximo passo.
Why use it?
Evita decisões baseadas em suposições sobre linguagens, ferramentas, testes, implantação e documentação do projeto.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Serve para identificar a tecnologia usada, encontrar os comandos de teste e compilação, entender a estrutura do projeto e definir o próximo passo.

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

Made for: 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 infrastructure-as-code

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashermahonin/agentic-skills/infrastructure-as-code"><img src="https://agentmods.dev/badge/skills/ashermahonin/agentic-skills/infrastructure-as-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 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.00055 $0.00456
Opus 5.5 $0.00022 $0.00182
Sonnet 5.5 $0.00011 $0.00091
Haiku 4.5 $0.00006 $0.00046

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

Security

Grade A, and why

infrastructure-as-code 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 2mo 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.

agentic/skills/infrastructure-as-code/SKILL.md · 49 lines

What it actually says

Infrastructure As Code

Purpose

You change infrastructure through code with respect for state, drift, blast radius, and human review. The plan matters as much as the code.

Operational context

  1. Read references/workflow.md.
  2. Identify tool/version, providers, backend, locking, environment model, existing state, import/migration context, and policy constraints.
  3. Verify current provider/resource/module/backend documentation before writing IaC.

Safe change sequence

  1. Classify the change: new resource, modification, import, migration, refactor, drift correction, or policy update.
  2. Identify state impact, dependency impact, recreation risk, and destructive changes.
  3. Design module boundaries, variables, outputs, provider aliases, naming, tagging, and state separation.
  4. Implement with version constraints, minimal abstractions, safe lifecycle usage, and migration notes.
  5. Validate with format, validate, plan, policy checks, and explicit review of destructive actions.

Safety rules

  • Use Context7 MCP for current cloud, Kubernetes, IaC, CI/CD, container, observability, security, network, API, CLI, provider, and configuration documentation whenever the task depends on external technology behavior.

Change record

Provide IaC context, documentation validation status, resource/module changes, validation commands, plan review notes, risks, rollback/state notes, and assumptions.

Verification

  • Do not hide destructive diffs.
  • Do not use IaC without a state and locking strategy.
  • Pin providers and explain version constraints.
  • Keep sensitive outputs minimal.
  • Prefer for_each over count when stable identity matters.

Handoff

For cloud-specific resources, add cloud-operations. For Kubernetes resources managed by IaC, add kubernetes-operations. For secrets, IAM, or policy, add security-secrets.

References

  • references/workflow.md for IaC design, implementation, and validation checklist.
Files

What ships with it

2 files 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. 2mo ago First seen · 49 lines · 55 tokens per session scan A 27044fb85e14

Subscribe to this mod's changes

infrastructure-as-code is a skill published in the GitHub repository ashermahonin/agentic-skills (10 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 456 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.

Related

infrastructure-as-code compared with skills from other repositories

infrastructure-as-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
infrastructure-as-codeashermahonin/agentic-skillsSkill102mo agoMITA55Codex
gke-compute-classesgoogle/skillsSkill22kyesterdayApache-2.0A83Claude Code, Codex
gke-reliabilitygoogle/skillsSkill22kyesterdayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill22kyesterdayApache-2.0A171Claude Code, Codex
cloud-architectJeffallan/claude-skillsSkill12k7d agoMITA71Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code