terraform

terraform is a skill for Claude Code from bendrucker/claude. It costs 41 tokens per session (482 once invoked), scanned A, original, MIT.

A toolset for managing Terraform Cloud workspaces and monitoring infrastructure runs. Terraform is a system for describing and deploying cloud infrastructure in code.

In plain words
What is it for?
Use it to list workspaces, inspect recent runs, retrieve plan or apply logs, and look up Terraform providers and reusable modules.
Why use it?
It brings workspace, run, plan, apply, provider, and module information together so you can check deployment progress and investigate results.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the terraform plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to list workspaces, inspect recent runs, retrieve plan or apply logs, and look up Terraform providers and reusable modules.

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

Made for: Claude Code.

Or install terraform, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 terraform

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bendrucker/claude/terraform"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00041 $0.00482
Opus 5.5 $0.00016 $0.00193
Sonnet 5.5 $0.00008 $0.00096
Haiku 4.5 $0.00004 $0.00048

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

Security

Grade A, and why

terraform scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl:*)
plugins/terraform/skills/terraform/SKILL.md · 64 lines

What it actually says

Terraform

Tool Selection

  • MCP tools (mcp__terraform): workspace listing, run management, provider/module registry lookups
  • curl: plan and apply log retrieval — the MCP server does not expose these endpoints

Run Monitoring

Use MCP tools to find and inspect runs:

  1. list_workspaces to find the workspace by name
  2. list_runs with the workspace ID to see recent runs
  3. get_run_details with the run ID for status, relationships, and timestamps

Run details include relationships.plan.data.id and relationships.apply.data.id — use these to fetch logs.

Fetching Plan/Apply Logs

The MCP server does not expose log retrieval; use the TFC API directly.

# Get the apply details (includes log-read-url)
curl -s \
  -H "Authorization: Bearer $TFE_TOKEN" \
  -H "Content-Type: application/vnd.api+json" \
  https://app.terraform.io/api/v2/applies/{apply-id} | jq -r '.data.attributes."log-read-url"'

Then fetch the raw logs from the archivist URL (no auth needed — pre-signed):

curl -s "$(archivist_url)"

The same pattern works for plans via /api/v2/plans/{plan-id}.

See references/api.md.

Authentication

$TFE_TOKEN is sourced from:

  • terraform login (stored at ~/.terraform.d/credentials.tfrc.json)
  • Or set directly as an environment variable

The MCP server reads TFE_TOKEN from the environment. For curl calls, use it as a Bearer token.

Registry

Provider and module searches use MCP tools (search_providers, search_modules, provider_details, module_details). No curl needed.

Files

What ships with it

1 file 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 · 64 lines · 41 tokens per session scan A 1a999a1b5c62

Subscribe to this mod's changes

terraform is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 482 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

terraform compared with skills from other repositories

terraform next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
terraformbendrucker/claudeSkill18todayMITA41Claude Code
activate-sitemicrosoft/power-platform-skillsSkill1.1ktodayMITA45Claude Code
deploy-sitemicrosoft/power-platform-skillsSkill1.1ktodayMITA91Claude Code
deploymicrosoft/power-platform-skillsSkill1.1ktodayMITA32Claude Code
deploy-to-connectposit-dev/skillsSkill5617d agoMITA81Claude Code, Codex
telephony-and-conferencingcbrock84/headcountSkill2.6k22d agoMITA85Claude Code
cloud-infrastructurecbrock84/headcountSkill2.6k22d agoMITA58Claude Code