Mindket

HashiCorp Agent Skills

Newversion 2 · updated
Star918

Overview

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 . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • 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
Start with
claude plugin marketplace add hashicorp/agent-skills
claude plugin install terraform@hashicorp
claude plugin install packer@hashicorp

Platform

Claude CodeCoding agent
CodexCoding agent
GitHub CopilotCoding agent
OpenCodeCoding agent
CursorCode editor

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.

  1. You add a bundle or one skill to your agent
  2. Claude reads the skill that fits your request
  3. It writes HCL, tests or Go and runs the commands
  4. 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
WhoSkills they reach forExample
Infrastructure engineersterraform-style-guide, refactor-module, terraform-testAn 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 resourcesterraform-search-importA team brings existing cloud resources under Terraform with a search query and a bulk import.
Platform and governance teamsterraform-stacks, terraform-policyA platform engineer writes a stack that deploys to several regions, or converts a Sentinel policy to Terraform Policy.
Provider authorsnew-terraform-provider, provider-resources, provider-test-patternsAn author scaffolds a provider, adds a resource and writes its acceptance tests.
Image buildersaws-ami-builder, azure-image-builder, windows-builder, push-to-registryA 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
NeedDetail
An agent that reads skillsClaude Code, Codex or Kiro for a bundle. The skills CLI route works with the agents that tool supports
The tools a skill namesTerraform, Packer or Go, installed by you. Skill text calls their commands, and your agent runs them
Node.js 22.20 or laterOnly for npx skills add, according to that tool’s README
A test cloud accountPacker builds and provider acceptance tests create real cloud resources that can cost money
HCP credentialsOnly for push-to-registry, which has Packer push build metadata to HCP Packer with a service principal
An account or key for the packNone 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.
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.

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
SkillUse it forWhat Claude does
terraform-style-guideWriting or reviewing HCLFollows HashiCorp’s file layout, naming, formatting and version pinning, and lists terraform fmt -recursive and terraform validate as the checks before a commit
refactor-moduleA monolithic configurationSplits it into a module with typed variables, outputs and docs, and writes moved blocks so the state follows
terraform-test.tftest.hcl filesWrites run blocks and assertions in plan or apply mode, and mock providers on Terraform 1.7 and later
terraform-search-importCloud resources made by handWrites 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 filesWrites stack components and deployments for several regions or environments
terraform-policy.policy.hcl and .policytest.hcl filesWrites and tests policies, or converts a Sentinel policy, to match your installed tfpolicy version
azure-verified-modulesAzure modulesApplies the requirements for Azure Verified Modules certification
new-terraform-providerA new providerScaffolds a Go workspace, a main.go and a provider.go with schema and Configure on the Plugin Framework
provider-resourcesResources and data sourcesWrites CRUD, schema, plan modifiers, waiters and import support, with the acceptance tests a resource needs
provider-configurationProvider authenticationWrites the credential schema, environment variable fallbacks, a credential chain and secret redaction
provider-actions, provider-ephemeral-resourcesActions and short-lived secretsWrites actions that run at lifecycle events, and ephemeral resources for values that must never persist in state
provider-framework-migration, provider-docsMoving and documenting a providerMoves SDKv2 resources to the Plugin Framework, and writes Registry docs with tfplugindocs
Provider testing and the Packer skills
SkillUse it forWhat Claude does
provider-test-patternsProvider acceptance testsWrites terraform-plugin-testing tests with state and plan checks, import tests and sweepers
run-acceptance-testsRunning TestAcc testsRuns go test with TF_ACC=1 and an explicit timeout, and helps find why a test fails
aws-ami-builderAmazon Machine ImagesWrites an amazon-ebs template with source image filters and shell provisioners
azure-image-builderAzure imagesWrites an azure-arm template for managed images and Azure Compute Gallery images
windows-builderWindows imagesWrites WinRM and PowerShell provisioner setups for AWS, Azure or VMware images
push-to-registryHCP PackerAdds 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.

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 and files

README
# 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`.
Files
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

6 files, 18 KB, downloaded as a zip.

What’s new

  • Version 2 · 2026-11-09

    Updated by Mindket to the current version of this kit.

  • Version 1 · 2026-11-07

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

Bonsai-27B-GGUF

lmstudio-community · Kit

A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…

New

Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…

New

MusicGen Small

facebook · Kit

Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…

New

Similar in Developer

See all in Developer

Lexnet

alpindale · Kit

Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…

New

FLUX.2 Klein LoRA Studio

prithivMLmods · Kit

Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…

New

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New