/terraform
Terraform Cloud workspace management, run monitoring, and log retrieval. Use when listing workspaces, checking run status, fetching plan/apply logs, or looking up providers and modules in the Terraform Registry.
Claude Code
$ npx -y skills add bendrucker/claude --skill terraform --agent claude-code
Codex
$ npx skills add bendrucker/claude --skill terraform -a codex -y
Cursor
$ npx skills add bendrucker/claude --skill terraform -a cursor -y
Gemini CLI
$ npx skills add bendrucker/claude --skill terraform -a gemini-cli -y
GitHub Copilot
$ npx skills add bendrucker/claude --skill terraform -a github-copilot -y
OpenCode
$ npx skills add bendrucker/claude --skill terraform -a opencode -y
Windsurf
$ npx skills add bendrucker/claude --skill terraform -a windsurf -y
SKILL.md
terraform.SKILL.mdname: terraform
description: >-
Terraform Cloud workspace management, run monitoring, and log retrieval. Use when
listing workspaces, checking run status, fetching plan/apply logs, or looking up
providers and modules in the Terraform Registry.
disable-model-invocation: true
allowed-tools:
- mcp__terraform
- Bash(curl:*)
- Bash(jq:*)
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](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.
Read more
name: terraform description: >- Terraform Cloud workspace management, run monitoring, and log retrieval. Use when listing workspaces, checking run status, fetching plan/apply logs, or looking up providers and modules in the Terraform Registry. disable-model-invocation: true allowed-tools: - mcp__terraform - Bash(curl:*) - Bash(jq:*)
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](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.
Other skills on claude.
cli
Type-safe CLI argument parsing with commander and @commander-js/extra-typings, the standard parser for this repo's Bun scripts.…
prose-lab
Turn the user's labels on repo prose, or their notes from reviewing a document in Plannotator, into calibrated Vale rules.
activity
Report real device usage from ActivityWatch. Covers per-app time, window titles, and active vs idle spans. Use when asked "what…
agent-team
Orchestrating Claude Code agent teams. Use when creating teams, spawning teammates, assigning tasks, configuring teammate modes,…
handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately, so you can step away and track…
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about terraform.
- Which coding agents can use terraform?
- terraform installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

