Token导航 LogoToken导航

Agent Skill · 前端设计

virtualization(virtualization 命令行)

virtualization 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

virtualization 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 9,985。

总安装 188周安装 8GitHub Stars 3下载 66核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:virtualization(virtualization 命令行)
来源仓库:https://github.com/iuliandita/skills
仓库路径:skills/virtualization
安装命令:
npx skills add https://github.com/iuliandita/skills --skill virtualization
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/iuliandita/skills --skill virtualization

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

virtualization 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或代码变更进行整理。通过 npx 命令从 GitHub 安装,需确认权限范围和是否触发文件读写操作。

建议结合原始 README 核验具体用法,并关注维护状态与联网行为。使用前请评估是否会执行命令或修改文件,避免意外影响项目结构。

来源仓库内路径:skills/virtualization

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/iuliandita/skills --skill virtualization;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

virtualization 怎么安装?

在终端执行 npx skills add https://github.com/iuliandita/skills --skill virtualization。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

virtualization 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

virtualization 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/iuliandita/skills --skill virtualization 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

virtualization 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

virtualization 用的人多吗?

公开数据是累计安装 188 次,近一周安装 8 次,下载 66 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

virtualization 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
virtualization

virtualization 命令行 · 本页

1883执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Virtualization: Hypervisors, VMs, and Infrastructure

Create, configure, and manage virtual machines across hypervisors - from single-node Proxmox setups to multi-node clusters with HA, live migration, and GPU passthrough. The goal is production-ready VM infrastructure with correct storage, memory, and CPU config that won't bite you at 3 AM.

Target versions (verified April 2026):

ToolVersionRelease dateNotes
Proxmox VE9.1Nov 2025Debian 13.2 (trixie), kernel 6.17.2, QEMU 10.1.2
Proxmox Backup Server4.1Nov 2025Dedup, incremental, prune policies
bpg/proxmox (Terraform)0.100.0Apr 2026Primary Proxmox IaC provider
QEMU10.2.2Mar 2026Stable (11.0-rc2 in progress)
libvirt12.0.0Jan 2026Hypervisor abstraction layer
XCP-ng8.3 LTSOct 2024Xen-based, LTS since Jun 2025, EOL Nov 2028
VMware ESXi8.0 U3iFeb 2026Broadcom-owned, licensing upheaval
VirtualBox7.2.6Jan 2026Dev/testing only
Packer1.15.1Mar 2026Image builder, multi-platform
cloud-init26.1Feb 2026Instance initialization standard

When to use

  • Creating or configuring VMs on Proxmox, libvirt/KVM, XCP-ng, or VMware
  • Provisioning Proxmox VMs with Terraform (bpg/proxmox provider)
  • Building VM templates with Packer and cloud-init
  • Configuring PCI/GPU passthrough for compute or display GPUs
  • Managing storage backends (LVM-thin, ZFS, Ceph, NFS)
  • Setting up Proxmox clustering, HA, and live migration
  • Troubleshooting VM performance (disk I/O, memory, CPU)
  • Planning backup strategies (Proxmox Backup Server, snapshots)
  • Tuning disk performance (virtio-scsi, iothread, discard/fstrim)
  • Memory management (ballooning, NUMA topology, hugepages)

When NOT to use

  • Kubernetes manifests, Helm charts, container orchestration (use kubernetes)
  • General Terraform/OpenTofu HCL patterns, state, modules (use terraform)
  • Network config not hypervisor-specific: DNS, VPNs, reverse proxies (use networking)
  • Ansible playbooks and configuration management (use ansible)
  • Docker/container image optimization (use docker)
  • OPNsense/pfSense firewall management (use firewall-appliance)

AI Self-Check

AI tools consistently produce the same VM configuration mistakes. Before returning any generated VM config, Terraform HCL, or Packer template, verify against this list:

  • No hardcoded IPs, passwords, or SSH keys - use variables or cloud-init injection
  • Disk interface is virtio (scsi0 with virtio-scsi controller), not IDE, unless legacy OS
  • iothread = true on virtio-scsi disks for SSD-backed storage
  • ssd = true emulation enabled when backing store is SSD (enables guest TRIM)
  • discard = on on QEMU disk config for thin-provisioned storage (fstrim passthrough)
  • Memory ballooning disabled unless tested on the specific guest OS (Alpine, some BSDs can't hotplug DIMMs - balloon changes need full power-cycle, not reboot)
  • CPU type is host for production (full feature passthrough), not kvm64/qemu64
  • NUMA enabled for multi-socket or large-memory VMs
  • QEMU guest agent enabled (cloud-init installs it, but verify)
  • Cloud-init interface specified (bpg/proxmox defaults to ide2 when null)
  • Terraform lifecycle: prevent_destroy on VMs, ignore_changes on disk and node_name
  • No disk resize via Terraform - use qm resize on host, then update Terraform var to match
  • PCI passthrough: pcie = false for standard passthrough, xvga = false unless display GPU
  • PCI passthrough: machine type is q35 when pcie = true is needed
  • GPU passthrough: AMD GPUs are prone to reset bugs (vendor-reset kernel module or pcie_port_pm=off may be required); NVIDIA generally resets cleanly but verify with your card model before production use
  • BIOS type matches use case: seabios default, ovmf for UEFI/Secure Boot/Windows 11
  • Backup retention configured (not unlimited snapshots eating storage)
  • Network device uses virtio model, not e1000 or rtl8139
  • fstrim.timer enabled in guest for thin-provisioned storage (completes the discard chain)
  • SCSI controller explicitly set (virtio-scsi-single for high IOPS, virtio-scsi-pci default)
  • Machine type matches BIOS: i440fx with seabios, q35 with ovmf (UEFI). Mixing i440fx + ovmf causes boot failures. q35 + seabios works but wastes q35 features.
  • VGA type matches use case: serial0 for headless cloud images, virtio for GUI VMs, omit for PCI passthrough display GPUs (x-vga=1 replaces the virtual display)

Workflow

Step 1: Identify the task

TaskStart withReference
Proxmox VM creationCLI (qm) or API (pvesh), cloud-initreferences/proxmox.md
Terraform provisioningbpg/proxmox provider, lifecycle rulesreferences/proxmox.md (Terraform section)
Image buildingPacker + cloud-init templatesreferences/image-building.md
libvirt/KVM managementvirsh, XML domain definitionsreferences/libvirt-qemu-kvm.md
GPU/PCI passthroughIOMMU groups, vfio-pcireferences/proxmox.md (PCI section)
Performance tuningDisk, memory, CPU configThis file + references
Migration to ProxmoxFrom VMware, XCP-ng, or bare metalreferences/proxmox.md

Step 2: Gather requirements

Before creating or modifying VMs:

  • Hypervisor and version - Proxmox VE 9.x? libvirt? VMware migration?
  • Guest OS - Linux distro, Windows, BSD? (affects virtio drivers, ballooning, agent)
  • CPU - core count, type (host vs emulated), pinning needs, NUMA topology
  • Memory - dedicated amount, ballooning (usually: don't), hugepages for databases
  • Storage - backend (LVM-thin, ZFS, Ceph, NFS), disk size, format (raw vs qcow2)
  • Network - bridge, VLAN tag, virtio, firewall
  • Passthrough - GPU/PCI devices, USB, serial ports
  • Provisioning method - manual, Terraform, Packer template + cloud-init
  • HA requirements - clustered? live migration? fencing?
  • Backup strategy - PBS, snapshots, vzdump, frequency

Step 3: Build

Follow the domain-specific reference file. Key principles:

  • Use cloud-init for provisioning. Don't manually configure VMs after creation. Inject SSH keys, network config, packages, and user accounts via cloud-init.
  • Use virtio everywhere. Disk (virtio-scsi), network (virtio-net), display (virtio-gpu for headless). IDE and e1000 exist for legacy OS compatibility only.
  • Pin CPU type to host. Emulated CPU types (kvm64, qemu64) hide features the guest needs (AES-NI, AVX, SSE4). Use host unless you need live migration across heterogeneous hardware.
  • Test disk config changes with stop/start, not reboot. Guest reboot doesn't restart QEMU - disk config changes (discard, cache, iothread) only take effect after qm stop + qm start.

Step 4: Validate

What to validateHow
VM boots and agent respondsqm agent <vmid> ping (Proxmox)
Cloud-init completedcloud-init status --wait in guest
Disk performancefio --name=test --rw=randread --bs=4k --direct=1 --numjobs=4 --runtime=30
TRIM/discard workingfstrim -v / in guest, check thin pool data_percent on host
PCI passthroughlspci in guest shows passed device, driver loaded
Network connectivityping gateway, check ip addr matches cloud-init config
Memoryfree -h in guest matches expected (not balloon-reduced)
Live migrationTest with qm migrate <vmid> <target> --online on non-critical VM first

Quick Task: VM from Cloud Image (Proxmox)

The fastest path to a production-ready VM. Skip Packer and ISO installs for standard setups.

  1. Download a cloud image to the Proxmox node: wget -P /var/lib/vz/template/iso/ https://cloud.debian.org/images/cloud/trixie/daily/latest/debian-13-generic-amd64.qcow2
  2. Create the VM shell: qm create 100 --name myvm --memory 2048 --cores 2 --cpu host --net0 virtio,bridge=vmbr0 --agent enabled=1 --scsihw virtio-scsi-pci
  3. Import and attach the disk with SSD optimizations: qm importdisk 100 debian-13-generic-amd64.qcow2 local-lvm qm set 100 --scsi0 local-lvm:vm-100-disk-0,discard=on,iothread=1,ssd=1 --boot order=scsi0
  4. Add cloud-init drive and configure: qm set 100 --ide2 local-lvm:cloudinit qm set 100 --ciuser admin --sshkeys ~/.ssh/id_ed25519.pub --ipconfig0 ip=10.10.10.100/24,gw=10.10.10.1
  5. Start: qm start 100
  6. Verify: qm agent 100 ping (may take 1-2 min on first boot while cloud-init runs)

To make a reusable template, stop the VM after verification and run qm template 100. Clone with qm clone 100 101 --name new-vm --full.


Proxmox VE Quick Reference

Read references/proxmox.md for full coverage of API, CLI, storage backends, clustering, HA, migration, PCI passthrough, backup, and Terraform patterns.

Essential CLI

# VM management
qm list                              # List all VMs
qm create 100 --name test --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0
qm start/stop/shutdown/reset 100     # Power operations
qm config 100                        # Show VM config
qm set 100 --memory 4096             # Modify config (some need stop/start)
qm resize 100 scsi0 +10G             # Extend disk (can't shrink)
qm agent 100 ping                    # Test QEMU agent
qm migrate 100 pve2 --online --with-local-disks  # Live migrate

# Container management
pct list                              # List LXC containers
pct create 200 local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst

# Storage
pvesm status                          # Storage pool overview
lvs -a -o+devices                     # LVM thin pool status (on LVM backend)

# Cluster
pvecm status                          # Cluster status
pvecm nodes                           # Node list
ha-manager status                     # HA status

Critical gotchas (battle-tested)

These come from production Proxmox environments and will save hours of debugging:

Stop/start vs reboot: Guest reboot does NOT restart the QEMU process. Disk config changes (discard, cache mode, iothread, bus type) only apply when QEMU starts fresh. Always use qm stop then qm start for hardware config changes. This also applies to memory balloon device changes.

LVM thin pool at 100%: When data_percent hits 100%, ALL VM I/O on that pool fails instantly - guests hang, no graceful degradation. Recovery requires lvextend on the thin pool or migrating VMs off. Monitor thin pool usage and alert well before 100% (80% warning, 90% critical). data_percent measures blocks ever written, not current filesystem usage - a VM that wrote then deleted 50GB still shows that 50GB in data_percent until fstrim reclaims it.

Live migration via SSH: qm migrate runs in the foreground. If the SSH session drops, the migration aborts. For large VMs (32GB+ disk), use:

nohup qm migrate <vmid> <target> --online --with-local-disks \
  > /tmp/migrate-<vmid>.log 2>&1 &

Migration is abort-safe: source VM stays running on failure, target LVs are cleaned up.

KVM ballooning: The balloon device lets the host reclaim unused guest memory. Sounds great, causes pain. Alpine Linux (and some BSDs) can't hotplug DIMMs - balloon changes need full power-cycle (stop/start, not reboot). Even on Debian, balloon behavior is unpredictable under memory pressure. Recommendation: disable ballooning (memory_min_mb = 0 in Terraform, or set balloon to 0 in qm) and provision VMs with the memory they actually need.

fail2ban on Proxmox (Debian 13): /var/log/daemon.log doesn't exist under journald. Use backend = systemd with journalmatch = _COMM=pvedaemon in the jail config.

openipmi on non-IPMI hardware: Fails on boot, generates spurious alerts. Safe to systemctl mask openipmi on nodes without BMC/IPMI hardware. Masking survives package updates; disabling doesn't.


Storage Performance

BackendBest forThin provisionSnapshotLive migration
LVM-thinLocal SSDs, productionYesYes (copy-on-write)With --with-local-disks
ZFSData integrity, compressionYesYes (native)With replication
Ceph/RBDMulti-node shared storageYesYesNative (shared)
NFSISOs, templates, backupsDepends on NASDependsYes (shared)
local (dir)Small/testNo (file-based)qcow2 onlyNo

Disk interface hierarchy (fastest to slowest):

  1. virtio-scsi-single + iothread - one controller per disk, best IOPS
  2. virtio-scsi-pci + iothread - shared controller, good for most workloads
  3. virtio-blk - legacy virtio, good performance but fewer features
  4. IDE - legacy only, needed for some old OSes

SSD optimization checklist:

  • ssd = 1 on disk config (tells guest it's on SSD, enables TRIM in guest)
  • discard = on on QEMU disk (passes TRIM/UNMAP to storage backend)
  • fstrim.timer enabled in guest (weekly by default on systemd distros)
  • Verify with: fstrim -v / in guest, then check lvs -o data_percent on host

Disk resize (the Terraform trap): Can't resize disks via the bpg/proxmox Terraform provider. The correct procedure:

  1. qm resize <vmid> scsi0 +10G on the Proxmox host
  2. growpart /dev/sda 1 in the guest (expand partition)
  3. resize2fs /dev/sda1 in the guest (expand filesystem)
  4. Update the disk_size_gb variable in Terraform to match

GPU / PCI Passthrough Quick Reference

Full details (IOMMU groups, ACS override, Terraform patterns) in references/proxmox.md. The minimum viable path for a Windows 11 + NVIDIA desktop GPU on Proxmox VE 9.x:

  1. Host prereqs. Enable VT-d / AMD-Vi in BIOS. Add intel_iommu=on (or amd_iommu=on) plus iommu=pt to the kernel command line (/etc/kernel/cmdline on PVE with systemd-boot, /etc/default/grub on legacy). Run proxmox-boot-tool refresh (or update-grub) and reboot.
  2. Bind to vfio-pci. lspci -nn | grep -i nvidia to find vendor:device IDs, then: echo "options vfio-pci ids=10de:XXXX,10de:YYYY" > /etc/modprobe.d/vfio-pci.conf (GPU + its audio function). Blacklist nouveau and nvidia. update-initramfs -u and reboot. Verify with lspci -nnk | grep -A3 NVIDIA - driver in use must be vfio-pci.
  3. VM settings for Windows 11. Machine type q35, BIOS ovmf (add an EFI disk), TPM v2.0 state disk, cpu: host, hidden=1 to dodge NVIDIA's Code 43 on older drivers. Example: qm set 100 --machine q35 --bios ovmf --cpu host,hidden=1 --efidisk0 local-lvm:1,format=raw
  4. Attach the GPU. Prefer hardware mappings (PVE 8.1+) for migration safety: pvesh create /cluster/mapping/pci --id gpu-rtx4070 --map 'node=pve1,path=0000:01:00.0' then qm set 100 --hostpci0 mapping=gpu-rtx4070,pcie=1,x-vga=1. Legacy form: --hostpci0 01:00,pcie=1,x-vga=1. Drop x-vga for compute-only passthrough.
  5. Check IOMMU groups with find /sys/kernel/iommu_groups/ -type l | sort -V before anything else - every device in the target group gets passed through together. Single-GPU hosts need early vfio binding (initramfs) or the host driver claims it first.

Reset bug: NVIDIA consumer cards (including RTX 4070) usually reset cleanly, but verify with two successive VM restarts before production. AMD RX 5000/6000 series often need the vendor-reset kernel module or pcie_port_pm=off. If the second VM start hangs, you hit it.


Memory Management

Ballooning - the short version: Don't use it unless you've tested it on your exact guest OS and workload. Disable with balloon: 0 in VM config.

NUMA: Enable for VMs with 4+ cores or 8GB+ RAM. Proxmox: numa: 1 in VM config. QEMU auto-creates NUMA nodes matching the host topology.

Hugepages: 2MB or 1GB pages reduce TLB misses. Significant for databases and memory-intensive workloads. Configure on the host:

# Reserve 1024 x 2MB hugepages (2GB total)
echo 1024 > /proc/sys/vm/nr_hugepages
# Persistent: add to /etc/sysctl.d/
vm.nr_hugepages = 1024

Then enable in VM config. Note: hugepages memory can't be shared or ballooned.

CPU hotplug vs memory hotplug: CPU hotplug works live on most modern Linux guests. Memory hotplug (adding DIMMs at runtime) is fragile - Alpine can't do it at all, and even Debian requires specific kernel config. Size memory correctly at creation time.


libvirt/QEMU Quick Start

For libvirt/KVM without Proxmox, the fastest path to a running VM:

# Download a Debian cloud image and resize it
wget -O /var/lib/libvirt/images/myvm.qcow2 \
  https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
qemu-img resize /var/lib/libvirt/images/myvm.qcow2 20G

# Boot from the cloud image with cloud-init
virt-install --name myvm --ram 2048 --vcpus 2 --cpu host \
  --disk path=/var/lib/libvirt/images/myvm.qcow2,bus=virtio \
  --network network=default,model=virtio \
  --cloud-init user-data=user-data.yaml,meta-data=meta-data.yaml \
  --import --os-variant debian12 --noautoconsole

Build the cloud-init ISO with cloud-localds cidata.iso user-data.yaml meta-data.yaml and attach it as a second disk, or use the --cloud-init flag shown above (virt-install 4.0+).

Reusable template pattern: keep the downloaded cloud image as a read-only golden image (/var/lib/libvirt/images/debian-13-template.qcow2) and create each VM disk as a qcow2 overlay backed by it - qemu-img create -f qcow2 -b debian-13-template.qcow2 -F qcow2 myvm.qcow2. Overlays only store per-VM changes and boot in seconds. Regenerate the base when you need a new OS minor. Validate first boot with cloud-init status --wait inside the guest. Never set password: or chpasswd: with plaintext values in user-data - use ssh_authorized_keys and rely on lock_passwd: true (the cloud-image default).

virsh list --all to confirm state; virsh console myvm to attach. For full XML domain definitions, network and storage pool management, and virsh lifecycle commands, see references/libvirt-qemu-kvm.md.


Hypervisor Selection

HypervisorTypeBest forAvoid when
Proxmox VEType 1 (KVM+LXC)Homelab, SMB, API-driven automationNeed VMware ecosystem tooling
libvirt/KVMType 1 (bare)Custom setups, OpenStack, direct controlWant a GUI or clustering OOB
XCP-ngType 1 (Xen)Xen-based infra, XenOrchestra UIKVM-specific features (virtio-fs)
VMware ESXiType 1Enterprise with existing VMware investmentPost-Broadcom: licensing costs exploded
VirtualBoxType 2Dev workstations, testingProduction. Ever.

VMware post-Broadcom (2026): Broadcom acquired VMware (closed Nov 2023). Perpetual licenses eliminated, subscription-only model, free ESXi discontinued then partially reinstated (ESXi 8.0 U3e "free hypervisor", April 2025). Many organizations are migrating to Proxmox or XCP-ng. The migration path from VMware is well-documented but non-trivial for large estates.


Reference Files

  • references/proxmox.md - Proxmox VE deep-dive: API, CLI, storage, clustering, HA, live migration, PCI passthrough, Proxmox Backup Server, and Terraform (bpg/proxmox provider patterns, lifecycle gotchas, cloud-init)
  • references/libvirt-qemu-kvm.md - libvirt/QEMU/KVM: virsh commands, XML domain definitions, QEMU command-line, KVM modules, disk formats, networking
  • references/image-building.md - Packer templates, cloud-init configuration, cloud image workflows, template management
  • references/gotchas.md - Battle-tested pitfalls and failure modes from production Proxmox/KVM environments. Read this before any non-trivial change.

Related Skills

  • terraform - owns HCL patterns, module design, state management. This skill owns Proxmox-specific provider patterns (bpg/proxmox lifecycle rules, cloud-init interface, disk resize workarounds). Use terraform for general IaC; this skill for Proxmox-specific Terraform.
  • kubernetes - for container orchestration running on top of VMs. This skill provisions the VM infrastructure; kubernetes manages what runs inside the cluster.
  • networking - for network config not specific to hypervisors (DNS, VPNs, reverse proxies, nftables). This skill covers VM networking (bridges, VLANs, virtio-net).
  • ansible - for day-2 configuration of VMs after provisioning. This skill creates the VM; ansible configures what runs on it.
  • docker - for container image optimization. This skill manages VMs that may host Docker/container workloads.

Rules

These are non-negotiable. Violating any of these is a bug.

  1. virtio for everything. Disk (virtio-scsi), network (virtio-net). IDE and e1000 are for legacy OS compatibility only.
  2. CPU type host in production. Emulated types hide features. Only use emulated types for live migration across heterogeneous CPU generations.
  3. Stop/start for hardware changes, not reboot. Guest reboot doesn't restart QEMU. Disk, memory, and device config changes need qm stop + qm start.
  4. No disk resize via Terraform. Use qm resize on host, growpart/resize2fs in guest, then update the Terraform variable.
  5. Disable ballooning by default. Enable only after testing on the specific guest OS.
  6. Monitor thin pool data_percent. Alert at 80%, critical at 90%. At 100%, all I/O fails.
  7. nohup for long migrations. SSH disconnect kills foreground qm migrate.
  8. prevent_destroy + ignore_changes on Terraform VMs. Protect disk and node_name from accidental destruction and migration drift.
  9. Run the AI self-check. Every generated VM config gets verified against the checklist above before returning.
  10. Test before production. New VM configs, passthrough setups, storage backends - test on a non-critical VM first.

平台分布

Codex

36.02%
按下载量换算24

Claude

31.11%
按下载量换算21

Cursor

20.24%
按下载量换算13

Gemini CLI

9.44%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/iuliandita/skills --skill virtualization 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills