iac-discipline

iac-discipline is a skill for Claude Code from volodchenkov/claude-sdlc-agents. It costs 132 tokens per session (4,477 once invoked), scanned A, original, MIT.

Infrastructure-as-code guidance for managing Yandex Cloud resources and delivery tools such as OpenTofu, Argo CD, Crossplane, and GitLab CI. Infrastructure as code means defining cloud setup in files so it can be reviewed and repeated.

In plain words
What is it for?
Provisioning Yandex Cloud clusters, databases, buckets, and virtual machines; writing or reviewing OpenTofu, Argo CD, and Crossplane configuration; setting up infrastructure pipelines; onboarding tenants; and reviewing OpenTofu plans.
Why use it?
It helps prevent cloud changes that only work from one computer or leave different environments configured differently. It requires plans to match the specification and apply safely more than once.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the sdlc-agents plugin — 12 skills, 13 agents shipped together

Good fit Provisioning Yandex Cloud clusters, databases, buckets, and virtual machines; writing or reviewing OpenTofu, Argo CD, and Crossplane configuration; setting up infrastructure pipelines; onboarding tenants; and reviewing OpenTofu plans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/volodchenkov/claude-sdlc-agents/iac-discipline
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 volodchenkov/claude-sdlc-agents --skill iac-discipline
Clone the repo
git clone --depth 1 https://github.com/volodchenkov/claude-sdlc-agents

Made for: Claude Code.

Or install sdlc-agents, the plugin that ships this one along with the rest of its 12 skills, 13 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 iac-discipline

README.md
[![agentmods](https://agentmods.dev/badge/skills/volodchenkov/claude-sdlc-agents/iac-discipline/github.svg)](https://agentmods.dev/skills/volodchenkov/claude-sdlc-agents/iac-discipline)
Your own site
<a href="https://agentmods.dev/skills/volodchenkov/claude-sdlc-agents/iac-discipline"><img src="https://agentmods.dev/badge/skills/volodchenkov/claude-sdlc-agents/iac-discipline/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 iac-discipline

Your own site · 80×15
<a href="https://agentmods.dev/skills/volodchenkov/claude-sdlc-agents/iac-discipline"><img src="https://agentmods.dev/badge/skills/volodchenkov/claude-sdlc-agents/iac-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,477 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.00132 $0.04477
Opus 5 $0.00066 $0.02239
Sonnet 5 $0.00026 $0.00895
Haiku 4.5 $0.00013 $0.00448

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

Security

Grade A, and why

iac-discipline 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 10d 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.

skills/iac-discipline/SKILL.md · 300 lines

How it starts

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

IaC Discipline

Rule: infrastructure code is provable, not persuadable. The deliverable is not «it worked once from my laptop», it is «tofu plan in a merge request reads clean, matches the SPEC, and applies idempotently on a fresh account». Everything below exists to make that possible.

Read this skill in full before touching any infrastructure code, opening an infra MR, or reviewing an infra plan. For code style, tests, and GitOps details, cite the referenced skills — don't restate them.


Default stack (2026 modern)

Use these unless the ticket says otherwise:

Layer Choice Notes
Provisioning OpenTofu 1.10+ Not Terraform. Community-standard fork since 2024.
Multi-env OpenTofu Stacks Native 1.9+ feature. Groups modules into stacks; each env is a deployment of the stack. Replaces Terragrunt's DRY layer.
State backend YC Object Storage + YDB locks + KMS encryption S3-compatible, native YC. Never local state past the bootstrap step.
Module registry GitLab Terraform Module Registry (native) Modules pinned by semver tag (version = "2.2.5"), never main, never a branch.
k8s app delivery Argo CD with app-of-apps + ApplicationSet No helm upgrade from CI. CI builds images; Argo CD syncs manifests.
k8s day-2 resources Crossplane with YC provider App teams request DBs / buckets via kubectl apply on a Claim; platform team owns Compositions.
Secrets YC Lockbox + external-secrets operator Never env vars, never k8s Secret checked in, never plain values in Helm values.
Cluster boot cert-manager · external-dns · external-secrets · reloader · kyverno Applied by Argo CD from a cluster-bootstrap/ app-of-apps.
Observability VictoriaMetrics + VictoriaLogs + Grafana VL replaced Loki by 2025 benchmarks. YC Monitoring is opt-in for small envs.
CI/CD auth GitLab OIDC → YC IAM federation ($CI_JOB_JWT_V2) No long-lived tokens. No YCLOUD_TOKEN env var.
CI plan pattern tofu plan on MR → comment; apply on merge as manual job on protected environment Never auto-apply on merge. Never apply from a laptop past bootstrap.
Version bumps Renovate Modules, providers, base images. Auto-MR, human-approved.
Security scan checkov + tflint + trivy config Pre-commit + CI. Blocks MR on high-severity.

Read the full file on GitHub · 300 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. 10d ago First seen · 300 lines · 132 tokens per session scan A e0304d9ed42a

Subscribe to this mod's changes

iac-discipline is a skill published in the GitHub repository volodchenkov/claude-sdlc-agents (2 stars, last pushed 1mo ago), licensed MIT. It adds 132 tokens to every session and 4,477 once invoked, about $0.0007 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.