Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

devops-virtualization

БесплатноБез исполняемых скриптовНе проверен

Use when working with plain KVM/QEMU and libvirt (virsh, virt-install, domain XML, pools, networks, snapshots, live migration), KVM performance tuning…

Fusengineот Fusengine★ 36 звёзд на GitHub

Об этом скилле

Covers virtualization below and beside the platforms - KVM/QEMU with libvirt, KVM performance tuning, PCI passthrough prerequisites, the guest agent, disk image formats, Incus/LXC system containers and VMs, cloud-init NoCloud, and image building with Packer or libguestfs tools - always through read-only discovery, dry run, one go, a safety net, verification and a ready rollback. Does not cover Proxmox VE tooling (devops-proxmox), OpenStack (devops-openstack), application containers (devops-docker), IaC providers (devops-iac) or ZFS/Ceph internals (devops-storage-backup).

Virtualization (KVM, libvirt, Incus, cloud-init, Packer)

Agent Workflow (MANDATORY)

Before ANY change on a hypervisor host or image pipeline, spawn in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - find local XML, Packer templates, cloud-init data, Ansible/Terraform touching the same hosts
  2. fuse-ai-pilot:research-expert - re-read the release pages (https://libvirt.org/news.html, https://www.qemu.org/download/, https://github.com/lxc/incus/releases) and the man page of every command you will run
  3. mcp__context7__query-docs (/libvirt/libvirt, /lxc/incus, /websites/linuxcontainers) - confirm each option before writing it

On a live host, Phase A discovery is read-only (safe-change-protocol.md). After file changes in a repo, run fuse-ai-pilot:sniper.


Overview

Area What matters on 2026-11-10
libvirt/QEMU libvirt 12.9.0, QEMU 11.1.3; qemu:///system is root-equivalent; modular virt*d daemons are replacing libvirtd
Hard stop vs delete virsh destroy is a power-cord pull, undefine removes the definition, --remove-all-storage deletes disks: three different things
Incus LTS 7.0.2 for production, 7.6 feature releases monthly; lxd-to-incus migrates LXD 4.0-5.21
cloud-init 26.2; NoCloud seed = drive labelled CIDATA; runs once per instance-id; network-config v2 with routes
Packer 1.16.2 under BSL 1.1 (IBM); internal use is allowed by the grant; QEMU and Proxmox plugins via required_plugins
Images qcow2 overlays depend on their base; in-place qemu-img/virt-customize operations need a copy first

Critical Rules

  1. Read-only first - virsh list --all, dumpxml, domblklist, pool-list, qemu-img info --backing-chain, incus list before any write; stop on inactive pools, missing paths, unknown snapshots.
  2. Never invent a command, flag or XML element - everything used here comes from the man pages and docs listed under Sources in each reference; anything else goes under "Not verified".
  3. Destructive commands are proposed, never run on your own - ACTION / EFFECT / PROOF / WAIT-FOR-GO for destroy, undefine, --remove-all-storage, vol-delete, pool-delete, snapshot-revert, blockcommit, qemu-img in-place operations, virt-customize/virt-sysprep, incus delete --force, lxd-to-incus; the go names the object.
  4. Back up before irreversible steps; snapshots are not backups - copy the image, dump the XML, export the instance; a backup counts once restored.
  5. Pin the connection - virsh -c qemu:///system and incus remote explicit; never rely on defaults.
  6. cloud-init data carries no secrets - keys, not passwords; per-guest instance-id.
  7. One host at a time with a console or a timed revert for network/storage edits.

Architecture

/etc/libvirt/qemu/<dom>.xml        # domain definitions (edit with virsh edit, not by hand)
/etc/libvirt/qemu/networks/        # network definitions (virsh net-*)
<pool target>/<vol>.qcow2          # volumes; base images + overlays (qemu-img info --backing-chain)
/var/lib/libvirt/qemu/*.agent      # guest-agent sockets (unix channels)
incus: storage pools, incusbr0, profiles, instances   # `incus admin init`; groups incus-admin / incus
seed:  user-data, meta-data, network-config -> CIDATA drive | HTTP seed | virt-install --cloud-init
packer: *.pkr.hcl + *.pkrvars.hcl  -> output-<name>/<image>.qcow2 | Proxmox template

(Paths other than the pool target are libvirt conventions; confirm on the host.)


Reference Guide

Concepts

Topic Reference When to Consult
libvirt guests libvirt-domains.md URIs, daemons, virsh lifecycle, virt-install, domain XML, destroy vs undefine
Pools, volumes, networks libvirt-storage-networks.md Where disks live, NAT vs bridge, backing chains
Snapshots & migration snapshots-migration.md Restore points, blockcommit, live migration
Performance kvm-performance.md virtio, CPU model, hugepages, NUMA, pinning, IOThreads
**Pa
Полный SKILL.md на GitHub

Установить devops-virtualization в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/cloud-init-debug.mdreferences/cloud-init-nocloud.mdreferences/guest-agent.mdreferences/incus-core.mdreferences/incus-profiles-lxd-migration.mdreferences/kvm-performance.mdreferences/libvirt-domains.mdreferences/libvirt-storage-networks.mdreferences/packer-images.mdreferences/pci-gpu-passthrough.mdreferences/qemu-img-formats.mdreferences/safe-change-protocol.mdreferences/snapshots-migration.mdreferences/templates/incus-launch-sequence.mdreferences/templates/incus-profile.yamlreferences/templates/libvirt-bridge-network.xmlreferences/templates/libvirt-dir-pool.xmlreferences/templates/libvirt-domain-tuned.xmlreferences/templates/libvirt-nat-network.xmlreferences/templates/nocloud-meta-data.yamlreferences/templates/nocloud-network-config.yamlreferences/templates/nocloud-user-data.yamlreferences/templates/packer-proxmox-clone.pkr.hclreferences/templates/packer-qemu-cloudimg.pkr.hclreferences/templates/virt-install-cloud-image.mdreferences/virt-customize-builder.md

FAQ

Что делает скилл devops-virtualization?

Use when working with plain KVM/QEMU and libvirt (virsh, virt-install, domain XML, pools, networks, snapshots, live migration), KVM performance tuning (virtio, CPU model, hugepages, NUMA, pinning), PCI/GPU passthrough prerequisites, the QEMU guest agent, qemu-img formats, Incus or LXC system containers and VMs (including LXD to Incus migration), cloud-init NoCloud, or building images with Packer or virt-customize. Not for Proxmox VE tooling (devops-proxmox), OpenStack Nova/Glance (devops-openstack), application containers (devops-docker), Terraform/OpenTofu providers (devops-iac) or ZFS/Ceph internals (devops-storage-backup).

Как установить скилл devops-virtualization?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл devops-virtualization запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить devops-virtualization с