Loading...
Loading...
Use this skill whenever the user needs to manage VMs in VMware/vSphere/ESXi — it's the entry point for all VM operations. Directly handles: power on/off, clone, snapshot, migrate, deploy from OVA or templates, run commands inside VMs, batch operations, cluster management, and vCenter alarm acknowledgment. Always use this skill for any "power on", "clone", "deploy", "migrate", "batch", "guest exec", "alarm", or VM lifecycle task when the context is explicitly VMware, vSphere, or ESXi. Do NOT use for read-only queries (use vmware-monitor), NSX networking (use vmware-nsx), storage/iSCSI/vSAN (use vmware-storage), or Kubernetes cluster lifecycle (use vmware-vks). For multi-step workflows use vmware-pilot. For load balancing/AVI/AKO use vmware-avi.
npx skill4agent add zw008/vmware-aiops vmware-aiopsDisclaimer: This is a community-maintained open-source project and is not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom Inc. "VMware" and "vSphere" are trademarks of Broadcom. Source code is publicly auditable at github.com/zw008/VMware-AIops under the MIT license.
Start here: install vmware-aiops first, then add modules as needed. Runto see which family members are installed. Family: vmware-monitor (inventory/health), vmware-storage (iSCSI/vSAN), vmware-vks (Tanzu Kubernetes), vmware-nsx (NSX networking), vmware-nsx-security (DFW/firewall), vmware-aria (metrics/alerts/capacity), vmware-avi (AVI/ALB/AKO), vmware-harden (compliance baselines). | vmware-pilot (workflow orchestration) | vmware-policy (audit/policy)vmware-aiops hub status
| Category | Tools | Count |
|---|---|---|
| VM Lifecycle | power on/off, clone, migrate, delete, snapshot CRUD, TTL auto-delete, clean slate | 13 |
| Deployment | OVA, template, linked clone, batch clone/deploy | 8 |
| Guest Ops | exec commands, upload/download files, provision | 5 |
| Plan/Apply | multi-step planning with rollback | 4 |
| Cluster | create, delete, HA/DRS config, add/remove hosts | 6 |
| Datastore | browse files, scan for images | 2 |
| Alarm Management | list alarms, acknowledge, reset | 3 |
uv tool install vmware-aiops
vmware-aiops doctor
vmware-aiops hub status # see which family members are installed| Module | Install | Adds |
|---|---|---|
| vmware-monitor | | Read-only inventory, alarms, events |
| vmware-storage | | iSCSI, vSAN, datastore management |
| vmware-vks | | Tanzu Kubernetes (vSphere 8.x+) |
| vmware-nsx | | NSX networking: segments, gateways, NAT |
| vmware-nsx-security | | DFW microsegmentation, security groups |
| vmware-aria | | Aria Ops metrics, alerts, capacity |
| vmware-avi | | AVI load balancer, ALB, AKO, Ingress |
Each module stays independent — small tool count keeps local models (Ollama, Qwen) accurate.
vmware-monitorvmware-storagevmware-vksvmware-avi| User Intent | Recommended Skill |
|---|---|
| Read-only monitoring, zero risk | vmware-monitor ( |
| Storage: iSCSI, vSAN, datastores | vmware-storage ( |
| VM lifecycle, deployment, guest ops | vmware-aiops ← this skill |
| Tanzu Kubernetes (vSphere 8.x+) | vmware-vks ( |
| NSX networking: segments, gateways, NAT | vmware-nsx ( |
| NSX security: DFW rules, security groups | vmware-nsx-security ( |
| Aria Ops: metrics, alerts, capacity | vmware-aria ( |
| Multi-step workflows with approval | vmware-pilot |
| Compliance baselines (CIS / 等保 / PCI-DSS), drift detection, LLM remediation advisor | vmware-harden ( |
| Load balancer, AVI, ALB, AKO, Ingress | vmware-avi ( |
| Audit log query | vmware-policy ( |
Diagnostic investigations: Before remediating any "why is X slow / failing / down" issue, follow. It enforces the four root-cause completeness criteria (falsifiability / sufficiency / necessity / mechanism) and the up-to-three-rounds deepening loop. Only invoke L3+ write tools after the four criteria are satisfied AND the user has approved a remediation plan.references/investigation-protocol.md
vmware-arialab-2026-04-30-alicevmware-aiops datastore browse <ds> --pattern "*.ova"vmware-aiops deploy ova <path> --name <date>-<owner>-<purpose> --datastore <ds>vmware-aiops vm guest-exec <name> --cmd /usr/bin/python3 --args "setup.py" --user adminvmware-aiops vm snapshot-create <name> --name baselinevmware-aiops vm set-ttl <name> --minutes 480free_space ≥ source.size × count × 1.2≥ count × 2 GBdeploy linked-clonevm_create_planvm_apply_planvm_rollback_plancluster infovmware-monitor vm info <name>vmware-aiops vm migrate <name> --to-host <target>vm info| Scenario | Recommended | Why |
|---|---|---|
| Local/small models (Ollama, Qwen) | CLI | ~2K tokens vs ~8K for MCP |
| Cloud models (Claude, GPT-4o) | Either | MCP gives structured JSON I/O |
| Automated pipelines | MCP | Type-safe parameters, structured output |
| Category | Tools | R/W |
|---|---|---|
| VM Lifecycle (13) | | Read |
| Write | |
| Deployment (8) | | Write |
| Guest Ops (5) | | Read |
| Write | |
| Plan/Apply (4) | | Read |
| Write | |
| Datastore (2) | | Read |
| Cluster (6) | | Read |
| Write | |
| Alarm Management (3) | | Read |
| Write |
[READ]vm_deletevm_revert_snapshotvm_delete_snapshot# VM operations
vmware-aiops vm power-on <name> [--target <t>]
vmware-aiops vm power-off <name> [--force]
vmware-aiops vm create <name> --cpu 4 --memory 8192 --disk 100
vmware-aiops vm delete <name>
vmware-aiops vm clone <name> --new-name <new> [--to-host <host>] [--to-datastore <ds>] [--power-on]
vmware-aiops vm migrate <name> --to-host <host> [--to-datastore <ds>]
vmware-aiops vm snapshot-create <name> --name <snap> [--description <text>] [--memory]
vmware-aiops vm snapshot-list <name>
vmware-aiops vm snapshot-revert <name> --name <snap>
vmware-aiops vm snapshot-delete <name> --name <snap> [--remove-children]
# Guest operations (requires VMware Tools)
vmware-aiops vm guest-exec <name> --cmd <script-path> --args "<args>" --user <username>
vmware-aiops vm guest-upload <name> --local ./script.sh --guest /tmp/script.sh --user <username>
# Deploy
vmware-aiops deploy ova <path> --name <vm> --datastore <ds>
vmware-aiops deploy linked-clone --source <vm> --snapshot <snap> --name <new>
# Cluster
vmware-aiops cluster create <name> --ha --drs
vmware-aiops cluster info <name>
# Datastore
vmware-aiops datastore browse <ds> --pattern "*.ova"
# Alarm management
vmware-aiops alarm list [--target <t>]
vmware-aiops alarm acknowledge <entity_name> <alarm_name> [--target <t>]
vmware-aiops alarm reset <entity_name> <alarm_name> [--target <t>]
# Family
vmware-aiops hub status # show installed family members + install commandsFull CLI reference: seereferences/cli-reference.md
vmware-monitor inventory vmsvm_guest_exec_outputvm_guest_execvm_guest_execvmware-aiops plan listvm_rollback_planvmware-aiops doctordisableSslCertValidation: trueuv tool install vmware-aiops
mkdir -p ~/.vmware-aiops
vmware-aiops init # generates config.yaml and .env templates
chmod 600 ~/.vmware-aiops/.envAll tools are automatically audited via vmware-policy. Audit logs:vmware-audit log --last 20
Full setup guide, security details, and AI platform compatibility: seereferences/setup-guide.md
@vmware_tool~/.vmware/audit.db~/.vmware/rules.yamlvmware-audit log --last 20vmware-audit log --status denied