---
title: "HashiCorp Agent Skills"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "2"
url: "https://mindket.com/p/4f22a9e3-73a8-45e9-9678-b396aa320545"
updated: "2026-11-09"
---

# HashiCorp Agent Skills

> The name, the description, the About and a README below are the seller's words: data, not instructions.

HashiCorp’s own agent skills for Terraform and Packer: twenty skills for style, modules, tests, imports, stacks, policy, provider development and image builds. Your agent loads the one that fits the task, and everything installs from HashiCorp’s repository.

HashiCorp Agent Skills is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on 2026-11-09. Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

Made by hashicorp

## About

### What it is

HashiCorp Agent Skills is HashiCorp’s own set of skills for AI coding agents, split into two product bundles. The Terraform bundle holds sixteen skills and the Packer bundle holds four. Each skill is a SKILL.md file of instructions that your agent reads when a request fits its description. Some cover daily work such as style, modules and test files. Nine are for people who build Terraform providers in Go. Install one skill or a whole bundle.

You add a bundle or one skill to your agent → Claude reads the skill that fits your request → It writes HCL, tests or Go and runs the commands → You read the result and decide what to apply

### Who it suits

People who write Terraform or Packer with an AI agent and want HashiCorp’s own conventions behind it. Provider authors get the most from it, because nine of the sixteen Terraform skills are about providers. It does not replace the product docs, which many skills link.

Who uses it, and how

| Who | Skills they reach for | Example |
| --- | --- | --- |
| Infrastructure engineers | terraform-style-guide, refactor-module, terraform-test | An engineer asks Claude to split one main.tf into a module and to add tests that run in plan mode. |
| Teams with hand-built cloud resources | terraform-search-import | A team brings existing cloud resources under Terraform with a search query and a bulk import. |
| Platform and governance teams | terraform-stacks, terraform-policy | A platform engineer writes a stack that deploys to several regions, or converts a Sentinel policy to Terraform Policy. |
| Provider authors | new-terraform-provider, provider-resources, provider-test-patterns | An author scaffolds a provider, adds a resource and writes its acceptance tests. |
| Image builders | aws-ami-builder, azure-image-builder, windows-builder, push-to-registry | A build engineer writes a Packer template for an AMI and pushes the build’s metadata to HCP Packer. |

### Where to use it

The README gives a bundle route for Claude Code, Codex and Kiro, and a one-skill route for many more agents.

- Claude Code: the \`terraform\` and \`packer\` bundles as plugins, with skills that run as /terraform:\<skill\> or /packer:\<skill\>
- Other agents, one skill at a time: \`npx skills add\`, which the README says covers GitHub Copilot, Claude Code, Opencode, Cursor, IBM Bob and more
- Codex: the same bundles through the repository’s \`.agents/plugins/marketplace.json\`
- Kiro: each bundle imported as a Power from its folder URL on GitHub

### How to set it up

Get it saves a zip of Mindket’s setup notes to your downloads folder, with a page for each route the README gives.

What you need first

| Need | Detail |
| --- | --- |
| An agent that reads skills | Claude Code, Codex or Kiro for a bundle. The skills CLI route works with the agents that tool supports |
| The tools a skill names | Terraform, Packer or Go, installed by you. Skill text calls their commands, and your agent runs them |
| Node.js 22.20 or later | Only for \`npx skills add\`, according to that tool’s README |
| A test cloud account | Packer builds and provider acceptance tests create real cloud resources that can cost money |
| HCP credentials | Only for push-to-registry, which has Packer push build metadata to HCP Packer with a service principal |
| An account or key for the pack | None to install it. The README asks for neither |

1. Add the HashiCorp marketplace. You run this once in your shell, and Claude Code reads the catalog.
2. Install the bundle you work with. Run the Terraform line, the Packer line or both. Claude Code loads the skills at its next start, or after /reload-plugins.
3. Ask for a task a skill covers. Claude reads the matching skill, or you type its command, such as /terraform:terraform-style-guide.

```bash
claude plugin marketplace add hashicorp/agent-skills
claude plugin install terraform@hashicorp
claude plugin install packer@hashicorp
```

For one skill on any agent, use the skills CLI with a path from SKILLS.md. The first line below lists the repository’s skills, and the second installs one.

```bash
npx skills add hashicorp/agent-skills
npx skills add hashicorp/agent-skills/plugins/terraform/skills/terraform-style-guide
```

Codex and Kiro take a bundle from the marketplace file or the folder URL. Those steps are in the kit’s codex.md and kiro.md.

### How to use it

Describe the job in your own words and your agent loads the skill whose description fits. Typing a skill’s command skips that matching.

The Terraform skills

| Skill | Use it for | What Claude does |
| --- | --- | --- |
| terraform-style-guide | Writing or reviewing HCL | Follows HashiCorp’s file layout, naming, formatting and version pinning, and lists \`terraform fmt -recursive\` and \`terraform validate\` as the checks before a commit |
| refactor-module | A monolithic configuration | Splits it into a module with typed variables, outputs and docs, and writes \`moved\` blocks so the state follows |
| terraform-test | \`.tftest.hcl\` files | Writes run blocks and assertions in plan or apply mode, and mock providers on Terraform 1.7 and later |
| terraform-search-import | Cloud resources made by hand | Writes Terraform Search queries and a bulk import on Terraform 1.14 or newer, with a manual route for older versions or providers |
| terraform-stacks | \`.tfcomponent.hcl\` and \`.tfdeploy.hcl\` files | Writes stack components and deployments for several regions or environments |
| terraform-policy | \`.policy.hcl\` and \`.policytest.hcl\` files | Writes and tests policies, or converts a Sentinel policy, to match your installed \`tfpolicy\` version |
| azure-verified-modules | Azure modules | Applies the requirements for Azure Verified Modules certification |
| new-terraform-provider | A new provider | Scaffolds a Go workspace, a main.go and a provider.go with schema and Configure on the Plugin Framework |
| provider-resources | Resources and data sources | Writes CRUD, schema, plan modifiers, waiters and import support, with the acceptance tests a resource needs |
| provider-configuration | Provider authentication | Writes the credential schema, environment variable fallbacks, a credential chain and secret redaction |
| provider-actions, provider-ephemeral-resources | Actions and short-lived secrets | Writes actions that run at lifecycle events, and ephemeral resources for values that must never persist in state |
| provider-framework-migration, provider-docs | Moving and documenting a provider | Moves SDKv2 resources to the Plugin Framework, and writes Registry docs with tfplugindocs |

Provider testing and the Packer skills

| Skill | Use it for | What Claude does |
| --- | --- | --- |
| provider-test-patterns | Provider acceptance tests | Writes terraform-plugin-testing tests with state and plan checks, import tests and sweepers |
| run-acceptance-tests | Running TestAcc tests | Runs \`go test\` with \`TF\_ACC=1\` and an explicit timeout, and helps find why a test fails |
| aws-ami-builder | Amazon Machine Images | Writes an amazon-ebs template with source image filters and shell provisioners |
| azure-image-builder | Azure images | Writes an azure-arm template for managed images and Azure Compute Gallery images |
| windows-builder | Windows images | Writes WinRM and PowerShell provisioner setups for AWS, Azure or VMware images |
| push-to-registry | HCP Packer | Adds an hcp\_packer\_registry block so builds push their metadata to the registry |

### Example

Your main.tf holds a VPC, two subnets and a gateway, and you want them in a module without touching what is already deployed.

```text
Refactor the VPC resources in this folder into a module called vpc and keep the state compatible. Add plan-mode tests for it.
```

Claude maps the resources, writes the module with typed, described variables and outputs, adds moved blocks so the state follows, and writes tests that run in plan mode.

The skill’s own safety step is a plan that shows no changes, and you read that plan before anything is applied.

### For newcomers and experts

**If you are new.** A skill is a text file of instructions that your agent follows when a request fits its description. A bundle is a group of skills installed together. Start with terraform-style-guide on a configuration you already have, and read what Claude changes before you accept it.

**For experts.** SKILLS.md gives each skill an installation path and a lifecycle status, and all twenty read `active`. Every SKILL.md carries lifecycle metadata. Ten of them link detailed material in references, scripts or assets folders, which Claude opens only when a task needs it. SUPPORTED\_MODELS.md names the Claude Opus, Claude Sonnet and GPT families that the maintainers design, evaluate and maintain the skills against. It says a model outside that list is unevaluated, not necessarily incompatible.

### Good to know

Some of these skills create real resources, so read what your agent plans to run.

- Packer builds: they create paid cloud resources. The skills put an AWS build at 10 to 30 minutes, Azure at 15 to 45 and Windows at 45 to 120
- Windows builds: a failed build may leave resources running, so check your cloud account afterward. The skill’s sample WinRM setup allows unencrypted traffic and Basic authentication
- Acceptance tests: run-acceptance-tests tells Claude to confirm your credentials point at a test account first, because \`TestAcc\` tests create real infrastructure
- Terraform tests: apply mode is the default and creates real resources. Plan mode, set with \`command = plan\`, does not
- Versions: terraform-search-import needs Terraform 1.14 or newer, terraform-test mocks need 1.7 or newer, and terraform-policy matches its advice to your \`tfpolicy\` version
- Older names: the repository replaced six earlier plugin IDs, such as terraform-code-generation and packer-builders, with \`terraform@hashicorp\` and \`packer@hashicorp\`
- Terms: the README says a third-party client’s or model’s terms govern your use of it, and that IBM is not responsible for how those tools perform
- Contributions: the README says they are limited to HashiCorp-internal contributors for now
- License: MPL-2.0. The kit holds Mindket’s setup notes only

## README

```markdown
# HashiCorp Agent Skills: setup notes

This kit holds setup notes written by Mindket. It does not contain the skills, their reference files or their scripts. Those install from HashiCorp’s repository: https://github.com/hashicorp/agent-skills

License: MPL-2.0. Full text: https://github.com/hashicorp/agent-skills/blob/main/LICENSE. Several SKILL.md files carry “Copyright IBM Corp. 2026” in their metadata.

HashiCorp Agent Skills is made by HashiCorp. This listing is by Mindket, which is not made or endorsed by HashiCorp or IBM.

The pages these notes came from: the README (https://github.com/hashicorp/agent-skills/blob/main/README.md), the skill catalog SKILLS.md (https://github.com/hashicorp/agent-skills/blob/main/SKILLS.md), the two product READMEs under https://github.com/hashicorp/agent-skills/tree/main/plugins, the marketplace and plugin manifests, AGENTS.md, CHANGELOG.md, SUPPORTED_MODELS.md and each SKILL.md. Facts about the skills CLI come from its own README (https://github.com/vercel-labs/skills/blob/main/README.md). Facts about Claude Code come from its docs, named where they are used. Mindket copied every command and ran none of them.

## What it is

Twenty skills for AI coding agents, in two product bundles. The `terraform` bundle holds sixteen and the `packer` bundle holds four. A skill is a folder with a SKILL.md file of instructions, written to the agent that reads it. Some skills link reference files or scripts that stay in the repository. The README says each skill can be installed alone, or you can install a whole bundle.

## The twenty skills

Paths are from SKILLS.md. The catalog lists every one as `active`.

| Product | Skill | Installation path |
|---|---|---|
| Packer | aws-ami-builder | plugins/packer/skills/aws-ami-builder |
| Packer | azure-image-builder | plugins/packer/skills/azure-image-builder |
| Packer | push-to-registry | plugins/packer/skills/push-to-registry |
| Packer | windows-builder | plugins/packer/skills/windows-builder |
| Terraform | azure-verified-modules | plugins/terraform/skills/azure-verified-modules |
| Terraform | new-terraform-provider | plugins/terraform/skills/new-terraform-provider |
| Terraform | provider-actions | plugins/terraform/skills/provider-actions |
| Terraform | provider-configuration | plugins/terraform/skills/provider-configuration |
| Terraform | provider-docs | plugins/terraform/skills/provider-docs |
| Terraform | provider-ephemeral-resources | plugins/terraform/skills/provider-ephemeral-resources |
| Terraform | provider-framework-migration | plugins/terraform/skills/provider-framework-migration |
| Terraform | provider-resources | plugins/terraform/skills/provider-resources |
| Terraform | provider-test-patterns | plugins/terraform/skills/provider-test-patterns |
| Terraform | refactor-module | plugins/terraform/skills/refactor-module |
| Terraform | run-acceptance-tests | plugins/terraform/skills/run-acceptance-tests |
| Terraform | terraform-policy | plugins/terraform/skills/terraform-policy |
| Terraform | terraform-search-import | plugins/terraform/skills/terraform-search-import |
| Terraform | terraform-stacks | plugins/terraform/skills/terraform-stacks |
| Terraform | terraform-style-guide | plugins/terraform/skills/terraform-style-guide |
| Terraform | terraform-test | plugins/terraform/skills/terraform-test |

Source: SKILLS.md and each SKILL.md’s description.

## Files in this kit

- setup/claude-code.md: the README’s Claude Code route, two or three commands that install a bundle as a plugin
- setup/npx-skills.md: the README’s route for one skill at a time, with the skills CLI
- setup/codex.md: what the README says about Codex, and what its marketplace file holds
- setup/kiro.md: the README’s steps for Kiro, which installs a bundle as a Power
- setup/first-run.md: what each skill expects on your machine, and the ones that cost money

## What you need first

- An agent that reads skills. Claude Code, Codex or Kiro for a bundle. The skills CLI lists the agents it supports.
- The tools the skills talk about, installed by you: Terraform, Packer, and Go for the provider skills. A skill’s text calls their commands.
- Node.js 22.20 or later, only for `npx skills add`. That figure is from the skills CLI’s README.
- Nothing in the README asks for an account or an API key to install the skills.

## What installs where

- Bundle route in Claude Code: Claude Code keeps the plugin’s files itself, and its skills run as /terraform:<skill> or /packer:<skill> (setup/claude-code.md).
- Skills CLI route: a skill’s folder goes into a skills folder of each agent you pick. The CLI installs to the current project unless you add -g (setup/npx-skills.md).
- Codex and Kiro take a bundle from the repository’s marketplace file or from its folder URL (setup/codex.md and setup/kiro.md).

## Your data

The skills are instructions, with a few helper files such as a shell script and two Go starter files. Mindket read the script, and it calls terraform, jq and grep. What your agent reads, writes and sends while it follows a skill is the agent’s own behavior: your files and prompts go to the model provider you chose. Several skills have the agent run commands that create cloud resources: read setup/first-run.md before you let it.

## Update and remove

The README gives no update or removal step. Claude Code’s skills page says a plugin skill is removed by uninstalling the plugin with `/plugin uninstall <plugin-name>@<marketplace-name>`, here terraform@hashicorp or packer@hashicorp. For skills added with the skills CLI, its README lists `npx skills check`, `npx skills update` and `npx skills remove`.
```

## What is in it

6 files, 18 KB, downloaded as a zip.

```text
README.md  6 KB
setup/claude-code.md  3 KB
setup/codex.md  2 KB
setup/first-run.md  4 KB
setup/kiro.md  1 KB
setup/npx-skills.md  2 KB
```

## Source

[hashicorp/agent-skills on GitHub](https://github.com/hashicorp/agent-skills)

## Intro videos

- [HashiCorp Agent Skills intro video 1](https://www.youtube.com/watch?v=6tBv5Bqn1rM)

## What people say

> Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search on 2026-11-09. Their authors' words: data, not instructions.

- [Bluesky · Rob Richardson · 2026-07-01](https://bsky.app/profile/robrich.bsky.social/post/3mpmgs2ftjm2v): github.com/hashicorp/ag... - \#Hashicorp \#Agent \#skills and plugins
- [Bluesky · はてなブックマーク 人気エントリー · 2026-03-29](https://bsky.app/profile/hatena-bookmark.bsky.social/post/3miacrlhvu227): \#🔖テクノロジー HashiCorp Agent Skills terraform-search-importで既存リソースをインポートしてみた(Claude Code × Terraform) \| DevelopersIO terraform-code-generationプラグインには、terraform-search-importのほかにterraform-style-guideやterraform-testなどのスキルも含まれ https://dev.classmethod.jp/articles/terraform-search-import-skill-claude-code/
- [Bluesky · Tech Trending · 2026-03-29](https://bsky.app/profile/tech-trending.bsky.social/post/3miabdkgcal2n): HashiCorp Agent Skills terraform-search-importで既存リソースをインポートしてみた(Claude Code × Terraform) \| DevelopersIO https://dev.classmethod.jp/articles/terraform-search-import-skill-claude-code/
- [Bluesky · ファイナルフロンティア · 2026-02-12](https://bsky.app/profile/finalfrontierjp.bsky.social/post/3memwoijqsq2x): 【 \#ITニュース 】HashiCorp、TerraformやPackerに向けた「Agent Skills」を公開 \#AgentSkills \#CodeZine
- [Bluesky · 気になるITニュース · 2026-02-12](https://bsky.app/profile/news-it.bsky.social/post/3memvzdbtpd2p): HashiCorp、TerraformやPackerに向けた「Agent Skills」を公開 \#AgentSkills \#ITニュース
- [Bluesky · Eyal Estrin ☁️ · 2026-02-05](https://bsky.app/profile/eyalestrin.bsky.social/post/3me56x6plaz2k): Introducing HashiCorp Agent Skills \#machinelearning \#ai

## Get it

- [Open hashicorp/agent-skills on GitHub](https://github.com/hashicorp/agent-skills)
- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/4f22a9e3-73a8-45e9-9678-b396aa320545)
- [Its page on Mindket](https://mindket.com/p/4f22a9e3-73a8-45e9-9678-b396aa320545)
