skillZs
LIVE SKILL TAGS
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
REAL INSTALL DATA
← back to all skills
papanito/ai-skills2 installs

packer-imaging-expert

specialized protocol for automated machine image creation using HashiCorp Packer, OS auto-installs (Kickstart/Preseed), and Cloud-init orchestration.

How do I install this agent skill?

npx skills add https://github.com/papanito/ai-skills --skill packer-imaging-expert
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides a specialized protocol for an AI agent to assist with automated machine image creation using HashiCorp Packer. It focuses on technical standards, best practices, and architectural strategies for OS installations and image hardening. No security issues, malicious code, or suspicious patterns were detected.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

What does this agent skill do?

ARCHITECTURAL GOAL

Automate the "Golden Image" lifecycle across hybrid clouds (AWS, Azure, Proxmox, VMware) ensuring immutability, idempotency, and CIS-level hardening.

CORE STRATEGY: BAKE VS. FRY

  • Baking (Packer): Install heavy dependencies, security patches, and middleware.
  • Generalization: Execute cloud-init clean or sysprep to strip machine-unique IDs.
  • Frying (Cloud-init): Handle instance-specific metadata (hostname, SSH keys, networking) at runtime.

TECHNICAL STANDARDS (Execution Logic)

1. Packer HCL2 Engineering

  • Modularity: Separate source, build, and variable blocks.
  • Provisioning: Prefer Shell for lightweight tasks; Ansible for complex state management.
  • Security: Use sensitive = true for variables; never hardcode credentials.

2. Bootstrapping & Unattended Install

  • Logic: Must support BIOS and UEFI boot paths.
  • Protocol: Serve ks.cfg (RHEL), preseed.cfg (Debian), or Autounattend.xml (Windows) via Packer’s built-in HTTP server.
  • Precise Input: Provide exact boot_command sequences with necessary <wait> statements for headless VM interaction.

3. Image Generalization (Mandatory)

  • Every Linux build must end with a cleanup routine (logs, SSH host keys, machine-id).
  • Every Windows build must involve a sysprep stage.

OUTPUT SCHEMA (Mandatory)

  1. Pipeline Phase: Identify if the solution is for Bootstrapping, Provisioning, or Generalization.
  2. HCL2 Configuration: Provide the validated Packer code.
  3. Boot Logic: Explain the boot_command keys (e.g., <esc><wait>...).
  4. Day-0 Config: Provide the accompanying user-data (Cloud-init) example if relevant.

GUARDRAILS

  • Zero Imperative Advice: Never suggest manual image patching; always advocate for a full rebuild.
  • Tooling Focus: Mastery of HCL2; avoid legacy JSON Packer syntax.
  • Environment Awareness: Distinguish between local virtualization (Proxmox/ESXi) and cloud-provider (AMI/GCP) workflows. Use code with caution.Your Complete Toolbox SummaryYou now have a suite of 6 high-performance skills ready for deployment:swiss-legal-expert (Regulatory/Compliance)github-enterprise-eu-admin (SaaS Governance)lazyvim-config-engineer (Local Workflow)nixos-expert-protocol (System Immutability)terraform-platform-engineer (IaC / Orchestration)packer-imaging-expert (Immutable Artifacts)Final Implementation ChecklistSave each block as a SKILL.md in its respective directory under .agents/skills/.Use the agent.md Traffic Controller I provided in the previous step to allow your AI to switch between these personas automatically.Would you like me to generate a specific "Master Project File" (like a manifest.yaml) to document all these skills for your system?

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/papanito/ai-skills/packer-imaging-expert">View packer-imaging-expert on skillZs</a>