[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F5ZYTNPVCG12JWXEZS5SM6":3,"skill-same:01M6F5ZYTNPVCG12JWXEZS5SM6":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6F5ZYTNPVCG12JWXEZS5SM6","windows-builder",null,"Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fhashicorp\u002Fagent-skills\u002Fwindows-builder\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"windows","builder","windows builder","azure","powershell","templates","winrm","use","images","build","communicator","packer","with","2026-11-10 10:12:30",false,"---\nname: windows-builder\ndescription: Build Windows images with Packer using WinRM communicator and PowerShell provisioners. Use when creating Windows AMIs, Azure images, or VMware templates.\n---\n\n# Windows Builder\n\nPlatform-agnostic patterns for building Windows images with Packer.\n\n**Reference:** [Windows Builders](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fguides\u002Fwindows)\n\n> **Note:** Windows builds incur significant costs and time. Expect 45-120 minutes per build due to Windows Updates. Failed builds may leave resources running - always verify cleanup.\n\n## WinRM Communicator Setup\n\nWindows requires WinRM for Packer communication.\n\n### AWS Example\n\n```hcl\nsource \"amazon-ebs\" \"windows\" {\n  region        = \"us-west-2\"\n  instance_type = \"t3.medium\"\n\n  source_ami_filter {\n    filters = {\n      name = \"Windows_Server-2022-English-Full-Base-*\"\n    }\n    most_recent = true\n    owners      = [\"amazon\"]\n  }\n\n  ami_name = \"windows-server-2022-${local.timestamp}\"\n\n  communicator   = \"winrm\"\n  winrm_username = \"Administrator\"\n  winrm_use_ssl  = true\n  winrm_insecure = true\n  winrm_timeout  = \"15m\"\n\n  user_data_file = \"scripts\u002Fsetup-winrm.ps1\"\n}\n```\n\n### WinRM Setup Script (scripts\u002Fsetup-winrm.ps1)\n\n```powershell\n\u003Cpowershell>\n# Configure WinRM\nwinrm quickconfig -q\nwinrm set winrm\u002Fconfig '@{MaxTimeoutms=\"1800000\"}'\nwinrm set winrm\u002Fconfig\u002Fservice '@{AllowUnencrypted=\"true\"}'\nwinrm set winrm\u002Fconfig\u002Fservice\u002Fauth '@{Basic=\"true\"}'\n\n# Configure firewall\nnetsh advfirewall firewall add rule name=\"WinRM 5985\" protocol=TCP dir=in localport=5985 action=allow\nnetsh advfirewall firewall add rule name=\"WinRM 5986\" protocol=TCP dir=in localport=5986 action=allow\n\n# Restart WinRM\nnet stop winrm\nnet start winrm\n\u003C\u002Fpowershell>\n```\n\n### Azure Example\n\n```hcl\nsource \"azure-arm\" \"windows\" {\n  client_id       = var.client_id\n  client_secret   = var.client_secret\n  subscription_id = var.subscription_id\n  tenant_id       = var.tenant_id\n\n  managed_image_resource_group_name = \"images-rg\"\n  managed_image_name                = \"windows-${local.timestamp}\"\n\n  os_type         = \"Windows\"\n  image_publisher = \"MicrosoftWindowsServer\"\n  image_offer     = \"WindowsServer\"\n  image_sku       = \"2022-datacenter-g2\"\n\n  location = \"East US\"\n  vm_size  = \"Standard_D2s_v3\"\n\n  # Azure auto-configures WinRM\n  communicator   = \"winrm\"\n  winrm_use_ssl  = true\n  winrm_insecure = true\n  winrm_timeout  = \"15m\"\n  winrm_username = \"packer\"\n}\n```\n\n## PowerShell Provisioners\n\n### Install Software\n\n```hcl\nbuild {\n  sources = [\"source.amazon-ebs.windows\"]\n\n  # Install Chocolatey\n  provisioner \"powershell\" {\n    inline = [\n      \"Set-ExecutionPolicy Bypass -Scope Process -Force\",\n      \"iex ((New-Object System.Net.WebClient).DownloadString('https:\u002F\u002Fcommunity.chocolatey.org\u002Finstall.ps1'))\"\n    ]\n  }\n\n  # Install applications\n  provisioner \"powershell\" {\n    inline = [\n      \"choco install -y googlechrome\",\n      \"choco install -y 7zip\",\n    ]\n  }\n\n  # Install IIS\n  provisioner \"powershell\" {\n    inline = [\n      \"Install-WindowsFeature -Name Web-Server -IncludeManagementTools\"\n    ]\n  }\n}\n```\n\n### Windows Updates\n\n```hcl\nprovisioner \"powershell\" {\n  inline = [\n    \"Install-PackageProvider -Name NuGet -Force\",\n    \"Install-Module -Name PSWindowsUpdate -Force\",\n    \"Import-Module PSWindowsUpdate\",\n    \"Get-WindowsUpdate -Install -AcceptAll -AutoReboot\",\n  ]\n  timeout = \"2h\"\n}\n\n# Wait for reboots\nprovisioner \"windows-restart\" {\n  restart_timeout = \"30m\"\n}\n```\n\n## Cleanup\n\n```hcl\nprovisioner \"powershell\" {\n  inline = [\n    \"# Clear temp files\",\n    \"Remove-Item -Path 'C:\\\\Windows\\\\Temp\\\\*' -Recurse -Force -ErrorAction SilentlyContinue\",\n    \"# Clear Windows Update cache\",\n    \"Stop-Service -Name wuauserv -Force\",\n    \"Remove-Item -Path 'C:\\\\Windows\\\\SoftwareDistribution\\\\*' -Recurse -Force -ErrorAction SilentlyContinue\",\n    \"Start-Service -Name wuauserv\",\n  ]\n}\n```\n\n## Common Issues\n\n**WinRM Timeout**\n- Increase `winrm_timeout` to 15m or more\n- Verify security group allows ports 5985\u002F5986\n- Check user data script completed successfully\n\n**PowerShell Execution Policy**\n```hcl\nprovisioner \"powershell\" {\n  inline = [\n    \"Set-ExecutionPolicy Bypass -Scope Process -Force\",\n    \"# Your commands here\",\n  ]\n}\n```\n\n**Long Build Times**\n- Windows Updates can take 1-2 hours\n- Use pre-patched base images when available\n- Set provisioner `timeout = \"2h\"`\n\n## References\n\n- [Packer Windows Builders](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fguides\u002Fwindows)\n- [WinRM Communicator](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fdocs\u002Fcommunicators\u002Fwinrm)\n- [PowerShell Provisioner](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fdocs\u002Fprovisioners\u002Fpowershell)\n\n","# Windows Builder\n\nPlatform-agnostic patterns for building Windows images with Packer.\n\n**Reference:** [Windows Builders](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fguides\u002Fwindows)\n\n> **Note:** Windows builds incur significant costs and time. Expect 45-120 minutes per build due to Windows Updates. Failed builds may leave resources running - always verify cleanup.\n\n## WinRM Communicator Setup\n\nWindows requires WinRM for Packer communication.\n\n### AWS Example\n\n```hcl\nsource \"amazon-ebs\" \"windows\" {\n  region        = \"us-west-2\"\n  instance_type = \"t3.medium\"\n\n  source_ami_filter {\n    filters = {\n      name = \"Windows_Server-2022-English-Full-Base-*\"\n    }\n    most_recent = true\n    owners      = [\"amazon\"]\n  }\n\n  ami_name = \"windows-server-2022-${local.timestamp}\"\n\n  communicator   = \"winrm\"\n  winrm_username = \"Administrator\"\n  winrm_use_ssl  = true\n  winrm_insecure = true\n  winrm_timeout  = \"15m\"\n\n  user_data_file = \"scripts\u002Fsetup-winrm.ps1\"\n}\n```\n\n### WinRM Setup Script (scripts\u002Fsetup-winrm.ps1)\n\n```powershell\n\u003Cpowershell>\n# Configure WinRM\nwinrm quickconfig -q\nwinrm set winrm\u002Fconfig '@{MaxTimeoutms=\"1800000\"}'\nwinrm set winrm\u002Fconfig\u002Fservice '@{AllowUnencrypted=\"true\"}'\nwinrm set winrm\u002Fconfig\u002Fservice\u002Fauth '@{Basic=\"true\"}'\n\n# Configure firewall\nnetsh advfirewall firewall add rule name=\"WinRM 5985\" protocol=TCP dir=in localport=5985 action=allow\nnetsh advfirewall firewall add rule name=\"WinRM 5986\" protocol=TCP dir=in localport=5986 action=allow\n\n# Restart WinRM\nnet stop winrm\nnet start winrm\n\u003C\u002Fpowershell>\n```\n\n### Azure Example\n\n```hcl\nsource \"azure-arm\" \"windows\" {\n  client_id       = var.client_id\n  client_secret   = var.client_secret\n  subscription_id = var.subscription_id\n  tenant_id       = var.tenant_id\n\n  managed_image_resource_group_name = \"images-rg\"\n  managed_image_name                = \"windows-${local.timestamp}\"\n\n  os_type         = \"Windows\"\n  image_publisher = \"MicrosoftWindowsServer\"\n  image_offer     = \"WindowsServer\"\n  image_sku       = \"2022-datacenter-g2\"\n\n  location = \"East US\"\n  vm_size  = \"Standard_D2s_v3\"\n\n  # Azure auto-configures WinRM\n  communicator   = \"winrm\"\n  winrm_use_ssl  = true\n  winrm_insecure = true\n  winrm_timeout  = \"15m\"\n  winrm_username = \"packer\"\n}\n```\n\n## PowerShell Provisioners\n\n### Install Software\n\n```hcl\nbuild {\n  sources = [\"source.amazon-ebs.windows\"]\n\n  # Install Chocolatey\n  provisioner \"powershell\" {\n    inline = [\n      \"Set-ExecutionPolicy Bypass -Scope Process -Force\",\n      \"iex ((New-Object System.Net.WebClient).DownloadString('https:\u002F\u002Fcommunity.chocolatey.org\u002Finstall.ps1'))\"\n    ]\n  }\n\n  # Install applications\n  provisioner \"powershell\" {\n    inline = [\n      \"choco install -y googlechrome\",\n      \"choco install -y 7zip\",\n    ]\n  }\n\n  # Install IIS\n  provisioner \"powershell\" {\n    inline = [\n      \"Install-WindowsFeature -Name Web-Server -IncludeManagementTools\"\n    ]\n  }\n}\n```\n\n### Windows Updates\n\n```hcl\nprovisioner \"powershell\" {\n  inline = [\n    \"Install-PackageProvider -Name NuGet -Force\",\n    \"Install-Module -Name PSWindowsUpdate -Force\",\n    \"Import-Module PSWindowsUpdate\",\n    \"Get-WindowsUpdate -Install -AcceptAll -AutoReboot\",\n  ]\n  timeout = \"2h\"\n}\n\n# Wait for reboots\nprovisioner \"windows-restart\" {\n  restart_timeout = \"30m\"\n}\n```\n\n## Cleanup\n\n```hcl\nprovisioner \"powershell\" {\n  inline = [\n    \"# Clear temp files\",\n    \"Remove-Item -Path 'C:\\\\Windows\\\\Temp\\\\*' -Recurse -Force -ErrorAction SilentlyContinue\",\n    \"# Clear Windows Update cache\",\n    \"Stop-Service -Name wuauserv -Force\",\n    \"Remove-Item -Path 'C:\\\\Windows\\\\SoftwareDistribution\\\\*' -Recurse -Force -ErrorAction SilentlyContinue\",\n    \"Start-Service -Name wuauserv\",\n  ]\n}\n```\n\n## Common Issues\n\n**WinRM Timeout**\n- Increase `winrm_timeout` to 15m or more\n- Verify security group allows ports 5985\u002F5986\n- Check user data script completed successfully\n\n**PowerShell Execution Policy**\n```hcl\nprovisioner \"powershell\" {\n  inline = [\n    \"Set-ExecutionPolicy Bypass -Scope Process -Force\",\n    \"# Your commands here\",\n  ]\n}\n```\n\n**Long Build Times**\n- Windows Updates can take 1-2 hours\n- Use pre-patched base images when available\n- Set provisioner `timeout = \"2h\"`\n\n## References\n\n- [Packer Windows Builders](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fguides\u002Fwindows)\n- [WinRM Communicator](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fdocs\u002Fcommunicators\u002Fwinrm)\n- [PowerShell Provisioner](https:\u002F\u002Fdeveloper.hashicorp.com\u002Fpacker\u002Fdocs\u002Fprovisioners\u002Fpowershell)\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fhashicorp\u002Fagent-skills\u002Fwindows-builder",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill windows-builder",{"tool":52,"command":53},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill windows-builder",{"tool":55,"command":56},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill windows-builder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fhashicorp\u002Fagent-skills\u002Fwindows-builder\u002FSKILL.md",true,[],[61,70,79,88,93,99],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":32},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[67,68,69],"model","model hierarchy","model hierarchy skill",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":32},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[76,77,78],"MCP","zoom","zoom mcp",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":32},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[85,86,87,77],"sdk","zoom apps sdk","apps",{"skillNo":89,"name":19,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":32},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[19],{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":32},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":32},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[101]]