بنقرة واحدة
snapshot-vm
Create, list, or restore VM snapshots. Use for point-in-time snapshots of VM state.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create, list, or restore VM snapshots. Use for point-in-time snapshots of VM state.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Set up a new nixos-vm-template context for managing VMs on a hypervisor (libvirt, proxmox KVM, or proxmox-lxc containers). Use this when the user wants to configure a new VM management context, create an alias, or set up environment variables for a backend.
Completely remove a VM including its machine config. Use when user wants to permanently delete everything about a VM.
Recreate a VM from its existing machine config. Use when user wants to rebuild a destroyed VM or reset a VM to fresh state.
Create a new NixOS VM on the configured backend (libvirt or proxmox). Use this when the user wants to create a new virtual machine.
Create or restore VM backups. Use for full VM backups that can survive VM destruction.
Clone an existing VM to create a new VM with copied /var data but fresh identity.
| name | snapshot-vm |
| description | Create, list, or restore VM snapshots. Use for point-in-time snapshots of VM state. |
| allowed-tools | Read, Bash, AskUserQuestion |
Manage VM snapshots - create, list, or restore.
Run just list to show existing VMs. Ask which VM to manage snapshots for.
Ask what they want to do:
Ask for a snapshot name (e.g., "before-upgrade", "working-state").
just snapshot {NAME} {SNAPSHOT_NAME}
just snapshots {NAME}
First list snapshots:
just snapshots {NAME}
Ask which snapshot to restore to. Warn that this will revert the VM to that point in time.
just restore-snapshot {NAME} {SNAPSHOT_NAME}
Confirm the action completed successfully.
upgrade and recreate operations