opentofu-provider-setup-skill

opentofu-provider-setup-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 25 tokens per session (2,446 once invoked), scanned A, original, Apache-2.0.

A guide for configuring OpenTofu providers, authentication, and remote state backends. Providers connect OpenTofu to services such as AWS, Azure, or Google Cloud, while state records managed resources.

In plain words
What is it for?
Use it to initialize projects, connect cloud accounts, configure remote state, and troubleshoot provider authentication.
Why use it?
It removes common setup and credential problems and supports shared state for team infrastructure work.

Skill for Claude CodeCodex

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

Good fit Use it to initialize projects, connect cloud accounts, configure remote state, and troubleshoot provider authentication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/opentofu-provider-setup-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-provider-setup-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-provider-setup-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/opentofu-provider-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/opentofu-provider-setup-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,446 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. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00025 $0.02446
Opus 5.5 $0.00010 $0.00978
Sonnet 5.5 $0.00005 $0.00489
Haiku 4.5 $0.00003 $0.00245

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

Security

Grade A, and why

opentofu-provider-setup-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 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.

skills/opentofu-provider-setup-skill/SKILL.md · 403 lines

How it starts

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

OpenTofu Provider Setup

What I do

I guide you through configuring OpenTofu with various cloud providers by leveraging official OpenTofu and Terraform provider documentation. I help you:

  • Provider Configuration: Set up provider blocks with required and optional parameters
  • Authentication: Configure authentication methods (access keys, service principals, etc.)
  • State Management: Configure remote state backends (S3, Azure Storage, GCS, etc.)
  • Best Practices: Follow provider-specific configuration patterns from official docs

When to use me

Use this skill when you need to:

  • Initialize a new OpenTofu project with provider configuration
  • Configure authentication for cloud providers (AWS, Azure, GCP, etc.)
  • Set up remote state backends for team collaboration
  • Understand provider configuration options and best practices
  • Troubleshoot provider connection or authentication issues

Prerequisites

  • OpenTofu CLI installed: Install from https://opentofu.org/docs/intro/install/
  • Cloud Provider Account: Valid credentials for your target provider
  • Basic Terraform Knowledge: Understanding of HCL syntax and configuration structure
  • Provider Documentation: Reference to your provider's official documentation

Steps

Step 1: Install OpenTofu CLI

# Verify OpenTofu installation
tofu version

# If not installed, install using package manager or download from:
# https://opentofu.org/docs/intro/install/

Step 2: Initialize OpenTofu Project

# Create new project directory
mkdir my-opentofu-project
cd my-opentofu-project

# Initialize OpenTofu
tofu init

Step 3: Configure Provider

Create versions.tf to specify required provider versions:

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.0"
    }
    # Or for Azure:
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "~> 3.0"
    }
    # Or for GCP:
    google = {
      source  = "hashicorp/google"
      version = "~> 5.0"
    }
  }

  # Configure state backend (see Step 4)
  backend "s3" {
    bucket = "my-opentofu-state"
    key    = "prod/terraform.tfstate"
    region = "us-east-1"
  }
}

Read the full file on GitHub · 403 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. 3mo ago First seen · 403 lines · 25 tokens per session scan E f6da7160866d

Subscribe to this mod's changes

opentofu-provider-setup-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 25 tokens to every session and 2,446 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-provider-setup-skill compared with skills from other repositories

opentofu-provider-setup-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opentofu-provider-setup-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A25Claude Code, Codex
terraform-best-practicesterramate-io/agent-skillsSkill356d agoMITA67Claude Code, Codex
terramate-best-practicesterramate-io/agent-skillsSkill356d agoMITA49Claude Code, Codex
terraform-skillbest-of-ai/best-of-aiSkill804yesterdaynoneA52Claude Code, Codex
terraform-iacchainlesschain/chainlesschainSkill1120d agononeA41Claude Code
tf-plan-reviewcacheforge-ai/cacheforge-skillsSkill109mo agoMITA51Claude Code, Codex
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex