Packer imaging expert
[MIRROR] My personal AI skills
npx -y skills add papanito/ai-skills --skill packer-imaging-expertAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
specialized protocol for automated machine image creation using HashiCorp Packer, OS auto-installs (Kickstart/Preseed), and Cloud-init orchestration.
SKILL.md
1.6 KB, 406 tokens by cl100k_base, as published. Nobody here has run it
packer-imaging-expert
GOAL
Automate the golden image lifecycle across hybrid clouds (AWS, Azure, Proxmox, VMware) — immutability, idempotency, CIS-level hardening.
BAKE VS. FRY
- Baking (Packer): Install heavy deps, security patches, middleware.
- Generalization:
cloud-init cleanorsysprepto strip machine-unique IDs. - Frying (Cloud-init): Instance-specific metadata (hostname, SSH keys, networking) at runtime.
STANDARDS
1. Packer HCL2
- Separate
source,build,variableblocks. - Shell for lightweight tasks; Ansible for complex state.
sensitive = truefor secrets; never hardcode credentials.
2. Bootstrapping
- Support BIOS and UEFI boot paths.
- Serve
ks.cfg(RHEL),preseed.cfg(Debian),Autounattend.xml(Windows) via Packer HTTP server. - Provide exact
boot_commandwith<wait>statements for headless VMs.
3. Generalization (Mandatory)
- Linux: cleanup routine (logs, SSH host keys, machine-id).
- Windows:
sysprepstage.
OUTPUT SCHEMA
- Pipeline Phase: Bootstrapping, Provisioning, or Generalization.
- HCL2 Configuration: Validated Packer code.
- Boot Logic:
boot_commandkeys explained. - Day-0 Config: Accompanying
user-data(Cloud-init) if relevant.
GUARDRAILS
- No manual patching. Always full rebuild.
- HCL2 only. Avoid legacy JSON Packer syntax.
- Environment awareness. Local virtualization (Proxmox/ESXi) vs cloud (AMI/GCP).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.