agentsclimarketplace

Packer imaging expert

Skill papanito/ai-skills/skills/packer-imaging-expert

[MIRROR] My personal AI skills

Install
npx -y skills add papanito/ai-skills --skill packer-imaging-expert

Assembled 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 clean or sysprep to strip machine-unique IDs.
  • Frying (Cloud-init): Instance-specific metadata (hostname, SSH keys, networking) at runtime.

STANDARDS

1. Packer HCL2

  • Separate source, build, variable blocks.
  • Shell for lightweight tasks; Ansible for complex state.
  • sensitive = true for 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_command with <wait> statements for headless VMs.

3. Generalization (Mandatory)

  • Linux: cleanup routine (logs, SSH host keys, machine-id).
  • Windows: sysprep stage.

OUTPUT SCHEMA

  1. Pipeline Phase: Bootstrapping, Provisioning, or Generalization.
  2. HCL2 Configuration: Validated Packer code.
  3. Boot Logic: boot_command keys explained.
  4. 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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.