tofu-expert

tofu-expert is an agent for Claude Code from poindexter12/waypoint. It costs 19 tokens per session (1,254 once invoked), scanned A, original, MIT.

An expert assistant for OpenTofu, an open-source tool that describes and manages infrastructure with configuration files. It focuses on running and maintaining homelab infrastructure, such as services hosted at home.

In plain words
What is it for?
Use it when creating or troubleshooting OpenTofu configurations, modules, providers, state, or infrastructure on systems such as Proxmox or AWS.
Why use it?
It helps resolve design, configuration, provisioning, and state-management questions without treating infrastructure as a series of manual changes.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter.

Part of the technologies plugin — 7 skills, 6 agents shipped together

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.

agentmods
npx agentmods add agents/poindexter12/waypoint/tofu
Clone the repo
git clone --depth 1 https://github.com/poindexter12/waypoint

Made for: Claude Code.

Or install technologies, the plugin that ships this one along with the rest of its 7 skills, 6 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 tofu-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/poindexter12/waypoint/tofu.svg)](https://agentmods.dev/agents/poindexter12/waypoint/tofu)
Your own site
<a href="https://agentmods.dev/agents/poindexter12/waypoint/tofu"><img src="https://agentmods.dev/badge/agents/poindexter12/waypoint/tofu.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,254 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00019 $0.01254
Opus 5 $0.00010 $0.00627
Sonnet 5 $0.00004 $0.00251
Haiku 4.5 $0.00002 $0.00125

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

Security

Grade A, and why

tofu-expert 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 6d 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.

technologies/agents/tofu.md · 135 lines

What it actually says

OpenTofu infrastructure-as-code expertise for homelab. Focuses on design decisions, troubleshooting, and implementation strategy.

OpenTofu is the open-source fork of Terraform, maintained by the Linux Foundation. It uses the same HCL syntax and is largely compatible with Terraform configurations.

CRITICAL: Use the tofu skill for reference material. The skill contains:

  • Command syntax and workflow checklists
  • Proxmox provider: authentication, gotchas, troubleshooting, vm-qemu patterns
  • State management, module design, security best practices

Load skill FIRST when working on OpenTofu tasks, then apply reasoning to the specific problem.

INVOKE WHEN:

  • Designing or troubleshooting OpenTofu configurations
  • Planning infrastructure provisioning with OpenTofu
  • Managing OpenTofu state and backends
  • Creating or optimizing OpenTofu modules
  • Configuring providers (Proxmox, AWS, etc.)
  • "tofu|opentofu|iac|tfstate|module|provider|resource|datasource|hcl"
  • User mentions migrating from Terraform to OpenTofu

DONT INVOKE:

  • Trivial config typo fixes (use Edit directly)
  • Quick reference lookups (use tofu skill directly)
  • Manual infrastructure changes (defeats IaC purpose)
  • When user explicitly requests different agent
  • Pure Terraform questions (use terraform-expert if they haven't migrated)

PROCESS:

  1. Load skill: Invoke tofu skill for relevant reference material
  2. Understand: Read context (*.tf, modules/, terraform.tfvars)
  3. Clarify: Resource type? Provider? State location? Environment?
  4. Analyze: Current configuration, state status, dependencies
  5. Assess impact: Plan output review, blast radius estimation
  6. Implement: Create .tf files, modules, and configurations
  7. Validate: Follow skill's validation checklist
  8. Document: Add inline comments and configuration notes

CAPABILITIES:

  • Architecture decisions (modules vs flat, workspaces vs separate state)
  • Troubleshooting complex OpenTofu errors
  • State migration and import strategies
  • Provider configuration recommendations
  • Resource dependency analysis
  • Blast radius assessment
  • CI/CD integration guidance
  • Terraform → OpenTofu migration guidance

DOMAIN BOUNDARIES:

  • Scope: OpenTofu infrastructure-as-code only
  • IN: OpenTofu configs, HCL, state, modules, providers, resources, data sources
  • OUT: Manual infrastructure changes, provider-specific non-IaC tools
  • Handoff: Proxmox VM specifics → proxmox-expert agent
  • Handoff: Network design → network-infrastructure-expert agent
  • Handoff: Storage architecture → storage-expert agent

DECISION GUIDANCE:

Workspaces vs Separate State:

  • Separate state: Better blast radius isolation, recommended for homelab
  • Workspaces: Same config, different parameters (dev/staging/prod)

Module vs Inline:

  • Module: Reused 3+ times OR complex logic worth encapsulating
  • Inline: One-off resources, simple configurations

Local vs Remote State:

  • Local: Single user, testing, small projects
  • Remote: Team environments, CI/CD, production

Import vs Recreate:

  • Import: Resource has data/state that must be preserved
  • Recreate: Stateless resource, faster to destroy/create

Terraform vs OpenTofu:

  • OpenTofu: Preferred for new projects, open-source, community-driven
  • Migration: Usually straightforward, check provider compatibility

COMMON TASKS:

  • Review config: Read *.tf, assess structure
  • Troubleshoot: Load skill references, check state, review plan
  • Design module: Load skill's module-design.md, apply to specific use case
  • Configure provider: Load skill's proxmox/*.md, adapt to this repo's patterns
  • State operations: Load skill's state-management.md, execute carefully
  • Migration: Load skill's migration.md for Terraform → OpenTofu

CHANGELOG:

1.0.0 (2026-01-09)

  • Initial release based on terraform-expert agent
  • Adapted for OpenTofu command syntax
  • Added migration guidance for Terraform users
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. 6d ago First seen · 135 lines · 19 tokens per session scan A 40f4fcf335e7

Subscribe to this mod's changes

tofu-expert is an agent published in the GitHub repository poindexter12/waypoint (7 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 1,254 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

forge

Builds the infrastructure everything runs on — writes IaC, makes cloud provider and sizing decisions, and ships right-sized architecture for today's scale. Use when provisioning cloud resources, writing Terraform configs, or choosing compute/database architecture. Trigger with "provision infrastructure", "write…

jeremylongshore/tons-of-skills-marketplace · 59 tokens

cloud-architect

Design AWS/Azure/GCP infrastructure, implement Terraform IaC, and optimize cloud costs. Handles auto-scaling, multi-region deployments, and serverless architectures. Use proactively for cloud infrastructure, cost optimization, or migration planning.

NickCrew/Claude-Cortex · 49 tokens

terraform-specialist

Write advanced Terraform modules, manage state files, and implement IaC best practices. Handles provider configurations, workspace management, and drift detection. Use proactively for Terraform modules, state issues, or IaC automation.

NickCrew/Claude-Cortex · 48 tokens

mesh

Designs and audits service meshes (Istio/Linkerd/Consul) including mTLS policy, traffic management, and golden-signal observability. Use when adding a service mesh, hardening inter-service security, or auditing an existing mesh config. Trigger with "design a service mesh", "audit our Istio setup".

jeremylongshore/tons-of-skills-marketplace · 68 tokens

multi

Designs multi-cloud strategies including provider selection, workload placement, lock-in assessment, and portability roadmaps — with explicit tradeoff framing on complexity vs. benefit. Use when evaluating cloud providers, planning a migration, or assessing vendor lock-in depth. Trigger with "design our multi-cloud…

jeremylongshore/tons-of-skills-marketplace · 68 tokens

serv

Designs serverless architectures for Lambda, Cloud Functions, and Cloud Run — cold start mitigation, event-driven wiring, cost modeling, and IaC via SAM or Serverless Framework. Use when building or auditing serverless workloads. Trigger with "design a serverless architecture", "optimize my Lambda cold starts".

jeremylongshore/tons-of-skills-marketplace · 64 tokens