Agent Plugins Marketplace
All plugins

terraform-policy-code

v1.0.0

Terraform Policy skills for authoring .policy.hcl files, writing .policytest.hcl tests, and converting Sentinel policies to Terraform Policy.

Claude Code1 Skill1 MCP serverstdio

By HashiCorpLicense: MPL-2.0791 GitHub starsUpdated last month

Directory evidence

Runtimes
Claude Code
Parsed components
2 skill or MCP entries
Source updated
Aug 4, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install terraform-policy-code for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install terraform-policy-code@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/hashicorp/agent-skills

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is terraform/policy/.

Plugin files

terraform/policy/
├── .claude-plugin/plugin.json
├── skills/terraform-policy/SKILL.md
└── .mcp.json

Included Skills1

terraform-policyskills/terraform-policy/SKILL.md

Write, test, or convert Terraform Policy files (.policy.hcl, .policytest.hcl, Sentinel→tfpolicy). Triggers: policy.hcl, policytest, convert sentinel, tfpolicy, write a policy.

MCP servers1

terraformstdio
command
docker
args
run -i --rm -e TFE_TOKEN -e TFE_ADDRESS hashicorp/terraform-mcp-server
env.TFE_TOKEN
${TFE_TOKEN}
env.TFE_ADDRESS
${TFE_ADDRESS}

Plugin manifests1

terraform/policy/.claude-plugin/plugin.json
{
  "name": "terraform-policy-code",
  "version": "1.0.0",
  "description": "Terraform Policy skills for authoring .policy.hcl files, writing .policytest.hcl tests, and converting Sentinel policies to Terraform Policy.",
  "author": {
    "name": "HashiCorp",
    "url": "https://github.com/hashicorp"
  },
  "homepage": "https://developer.hashicorp.com/terraform/cloud-docs/policy-enforcement",
  "repository": "https://github.com/hashicorp/agent-skills",
  "license": "MPL-2.0",
  "keywords": [
    "terraform",
    "policy",
    "hcp-terraform",
    "sentinel",
    "policy-as-code",
    "tfpolicy",
    "enforcement"
  ],
  "mcpServers": {
    "terraform": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TFE_TOKEN",
        "-e",
        "TFE_ADDRESS",
        "hashicorp/terraform-mcp-server"
      ],
      "env": {
        "TFE_TOKEN": "${TFE_TOKEN}",
        "TFE_ADDRESS": "${TFE_ADDRESS}"
      }
    }
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[terraform-policy-code on Agent Plugins Marketplace](https://pluginsmp.com/plugins/terraform-policy-code)