← Explore all skills

IMAGE BUILDING / HashiCorp

Packer Windows builder

Pins HashiCorp's Packer Windows builder, which provisions over WinRM, deletes guest temp files during cleanup, and says a failed build may leave resources running.

“Build Windows images with Packer using WinRM communicator and PowerShell provisioners. …”

01 / THE REASONING

Why this made the selection.

  • The file says a failed build may leave resources running and that cleanup has to be verified. Its cleanup provisioner deletes guest temp files and the Windows Update cache, and it stops and starts wuauserv.
  • The AWS and Azure examples communicate over WinRM with winrm_insecure set true, and the setup script allows unencrypted WinRM and Basic authentication.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • plugins/packer/skills/windows-builder/SKILL.md
  • README.md
  • plugins/packer/README.md
  • LICENSE

Our findings

  • The file says failed builds may leave resources running and tells the reader to verify cleanup.
  • The cleanup provisioner deletes temporary files and the Windows Update cache, and it force-stops then starts the wuauserv service.
  • The AWS and Azure source examples set the communicator to winrm and set winrm_insecure to true. The setup script allows unencrypted WinRM and Basic authentication.
  • The Windows Update example installs updates with an automatic reboot and a two-hour provisioner timeout, then uses a windows-restart provisioner.
  • One software-install example downloads and invokes a remote Chocolatey install script.
  • The software provisioner downloads the Chocolatey bootstrap over HTTPS and immediately executes the returned PowerShell text with iex.

Not established by this review

  • The resource was not executed and its tools were not called.
  • Packer was not run, no Windows image was built, and no cloud resource was cleaned up.
  • The WinRM setup script was not executed and the remote install script was not downloaded.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

claude plugin install packer@hashicorp

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

  1. The packer README shows `claude plugin marketplace add hashicorp/agent-skills` and then `claude plugin install packer@hashicorp`. That installs the packer bundle, not this file alone.
  2. The same README's individual-skill example is `npx skills add hashicorp/agent-skills/plugins/packer/skills/aws-ami-builder`. That path is a different skill.
  3. The repository README also shows `npx skills add hashicorp/agent-skills`, which lists the repository's skills. This review did not install a plugin.

Before you start

  • Claude Code if the packer plugin command is used
  • Packer, plus an AWS, Azure, or VMware target, only if an operator later runs a build
  • A Windows base image and a WinRM setup script, which this review did not run

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md

    Supports: Failed-build cleanup warning, WinRM settings, guest file deletion, and the update provisioner

  2. Packer plugin README ↗Checked

    https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/README.md

    Supports: claude plugin install packer@hashicorp and a different individual skill path

  3. Repository README ↗Checked

    https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md

    Supports: MPL-2.0 statement and the repository skills command

  4. Repository LICENSE ↗Checked

    https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE

    Supports: Mozilla Public License Version 2.0

  5. https://raw.githubusercontent.com/hashicorp/agent-skills/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/packer/skills/windows-builder/SKILL.md

    Supports: review.findings, bestFor, limitations, upstreamDescription

Evidence & Ask