Our review
Completely removes a virtual machine, including its disks and configuration.
Strengths
- Irreversible action ensures complete cleanup
- Prevents leftover files or orphan configurations
- Requires explicit double confirmation
Limitations
- Cannot be undone – no automatic backup
- Requires user to know which VM to delete
- Depends on `just` tool and project setup
When you want to permanently free resources and erase all traces of a VM.
If you only need to stop the VM or want to back it up before deletion.
Security analysis
CautionThe skill runs a Bash command to purge a VM, which is destructive. However, it first lists machines, warns the user about permanent data loss, and requires explicit confirmation before running the just command with 'yes |' to bypass the interactive prompt. The operation is legitimate and user-initiated; no malicious exfiltration or obfuscation is present.
No concerns found
Examples
I'm done with my test VM 'dev-box'. Please purge it completely.List my machines and help me decide which ones to purge permanently.Remove my VM 'webserver' entirely – disks, config, everything.name: purge-vm description: Completely remove a VM including its machine config. Use when user wants to permanently delete everything about a VM. allowed-tools: Read, Bash, AskUserQuestion
Purge VM Skill
Completely remove a VM including its disks AND machine configuration. This cannot be undone.
Instructions
Step 1: Get VM Name
Run just list-machines to show existing machine configs. Ask which VM to purge.
Step 2: Confirm Purge
IMPORTANT: Warn the user clearly:
- The VM will be stopped and removed
- All VM disks will be deleted
- All data in /var and /home will be PERMANENTLY LOST
- The machine config (machines/{name}/) will ALSO be deleted
- This CANNOT be undone - unlike
destroy, there's no way to recreate the VM
Ask for explicit confirmation.
Step 3: Purge
Run:
yes | just purge {NAME}
The yes | is required to bypass the interactive confirmation prompt.
Step 4: Report Results
Confirm the VM and its config were completely removed.
Docker Compose Architect
DevOps
Designs optimized Docker Compose configurations.
Incident Postmortem Writer
DevOps
Writes structured and blameless incident postmortem reports.
Runbook Creator
DevOps
Creates clear operational runbooks for common DevOps procedures.