opentofu-provisioning-workflow-skill

opentofu-provisioning-workflow-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 29 tokens per session (720 once invoked), scanned A, original, Apache-2.0.

A guide to the full OpenTofu infrastructure-as-code workflow. Infrastructure as code means defining servers and services in files that can be reviewed and applied.

In plain words
What is it for?
Use it to create, preview, update, troubleshoot, and safely roll back infrastructure resources.
Why use it?
It helps make infrastructure changes predictable and provides methods for handling dependencies, state problems, and configuration drift.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to create, preview, update, troubleshoot, and safely roll back infrastructure resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill
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 darellchua2/opencode-config-template --skill opentofu-provisioning-workflow-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, 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 opentofu-provisioning-workflow-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill/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 opentofu-provisioning-workflow-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/opentofu-provisioning-workflow-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 720 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 203
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 204
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00029 $0.00720
Opus 5.5 $0.00012 $0.00288
Sonnet 5.5 $0.00006 $0.00144
Haiku 4.5 $0.00003 $0.00072

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

Security

Grade A, and why

opentofu-provisioning-workflow-skill 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.

skills/opentofu-provisioning-workflow-skill/SKILL.md · 41 lines

How it starts

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

What I do

IaC development workflow with OpenTofu: provisioning, lifecycle (create/modify/replace/delete), state management and drift, dependency ordering, safe plan→apply discipline.

When to use me

Creating/updating infrastructure; pre-apply planning; state troubleshooting; safe update/rollback procedures.

Prerequisites (house chain)

Complete opentofu-provider-setup-skill first — provider auth + remote state backend (S3/Azure/GCS) live there. Domain skills: opentofu-aws-explorer-skill, opentofu-kubernetes-explorer-skill, opentofu-keycloak-explorer-skill, opentofu-neon-explorer-skill, opentofu-ecr-provision-skill.

Workflow (canonical commands)

tofu init → tofu fmt → tofu validate → tofu plan -out=tfplan → review → tofu apply tfplan → tofu output / tofu show. Update: tofu plan -out=tfplan -refresh=true → apply. Destroy: tofu plan -destroy → tofu destroy.

House rules

  • Plan file discipline: always plan -out then apply tfplan — NEVER bare tofu apply (it re-plans against drifted state). Review the plan output before applying; unknown-value warnings are investigated, not ignored.
  • Lifecycle: rely on lifecycle { create_before_destroy } for replacement-sensitive resources; prevent_destroy on stateful resources (databases, buckets with data); explicit depends_on only when the dependency is invisible to the graph.
  • State: remote backend with locking (mandatory for teams); tofu state list/show/mv for surgical fixes; drift = plan -refresh=true diff, reconcile by import or code change — never apply over unexplained drift. Never edit state by hand.
  • Imports: tofu import for adopting existing resources; verify with plan showing no diff before the next apply.

CI/CD anti-patterns

gha-artifact-name-mismatch

Plan-then-apply split across GHA jobs: if upload-artifact and download-artifact names don't match exactly, the apply job downloads an empty artifact and applies nothing (or fails confusingly). Use one consistent name including ${{ github.sha }} and pin both action versions.

Read the full file on GitHub · 41 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. 2mo ago Changed · -811 lines cb67594d6c13
  2. 3mo ago First seen · 852 lines · 29 tokens per session scan A 267701a5db25

Subscribe to this mod's changes

opentofu-provisioning-workflow-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 720 once invoked, about $0.0001 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-09-03.

Related

opentofu-provisioning-workflow-skill compared with skills from other repositories

opentofu-provisioning-workflow-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opentofu-provisioning-workflow-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A29Claude Code, Codex
terraform-best-practicesterramate-io/agent-skillsSkill356d agoMITA67Claude Code, Codex
terramate-best-practicesterramate-io/agent-skillsSkill356d agoMITA49Claude Code, Codex
terraform-skillantonbabenko/terraform-skillSkill2.5k16d agononeA51Claude Code
terraform-skillbest-of-ai/best-of-aiSkill804yesterdaynoneA52Claude Code, Codex
terraform-risk-playbooksoulcodex/agenticSkill10yesterdayMITA46Claude Code, Codex
terraform-iacchainlesschain/chainlesschainSkill1120d agononeA41Claude Code