LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

windows-builder

Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.

763stars114forksUpdated 7/29/2026
DevOps & CI/CDCloud Infrastructure#devops#packer#powershell#azure#aws#windows

Security Assessment

Low Risk(80/100)

Detected risks:

Insecure Transport / Auth Configuration(The WinRM setup example enables unencrypted communication and basic authentication for the build agent., Both the AWS and Azure source examples skip WinRM certificate verification, accepting insecure connections during the build.)
Remote Script Download and Execution(A provisioner bootstraps the Chocolatey package manager by downloading an install script from the internet and executing it directly in PowerShell, an unpinned remote-code pattern.)
Security Score80/100

About windows-builder

This skill provides platform-agnostic patterns for building Windows machine images with HashiCorp Packer using the WinRM communicator and PowerShell provisioners. It solves the recurring friction of Windows image builds, which differ substantially from Linux builds: Windows requires WinRM (not SSH) for Packer communication, needs firewall and service configuration before provisioning can start, and incurs long build times (typically 45-120 minutes) driven mostly by Windows Updates. The skill packages known-good HCL and PowerShell configurations so teams can build reliably.

It includes example source blocks for AWS (amazon-ebs) and Azure (azure-arm), a WinRM setup script delivered via user data, and PowerShell provisioner examples for installing software (Chocolatey, Chrome, 7-Zip, IIS via Install-WindowsFeature), applying Windows Updates through the PSWindowsUpdate module with windows-restart handling, and cleaning up temp files and the Windows Update cache before imaging. It also documents common issues (WinRM timeouts, execution policy, long build times) and links to official HashiCorp Packer documentation for Windows builders, the WinRM communicator, and the PowerShell provisioner.

It targets DevOps and platform engineers building Windows AMIs, Azure managed images, or VMware templates. Note that some example configurations use build-time conveniences that weaken transport security (unencrypted WinRM, basic auth, skipping certificate verification) and bootstrap tooling by downloading and executing an install script from the internet. These are common ephemeral-build-VM practices, but reviewers should treat the WinRM settings and remote-install step as intentional choices to harden or pin for sensitive environments.

FAQ

What is this skill for?

Building Windows images with Packer using the WinRM communicator and PowerShell provisioners, with worked examples for AWS AMIs, Azure managed images, and applicable to VMware templates.

Why do the WinRM examples look insecure?

The sample setup enables unencrypted WinRM, basic authentication, and skips certificate verification (winrm_insecure) to get ephemeral build VMs communicating quickly. For sensitive builds you should prefer TLS with verified certificates and avoid unencrypted/basic auth.

How long do Windows builds take?

Typically 45-120 minutes per build, largely because of Windows Updates. Failed builds may leave cloud resources running, so the skill stresses verifying cleanup.

How is software installed in the image?

Via PowerShell provisioners, including bootstrapping Chocolatey by downloading and running its install script, then installing packages like Chrome and 7-Zip, and enabling Windows features such as IIS.

Does the skill handle Windows Updates and reboots?

Yes. It installs the PSWindowsUpdate module to apply all updates with auto-reboot, and pairs it with a windows-restart provisioner and generous timeouts to survive the reboot cycles.

Install windows-builder

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

hashicorp/agent-skills

Related Skills

editor

145

go-code-review

165

om-close-fixed-issues

213

expressive

3,011