automateyournetwork/netclaw/pyats-linux-vmware
Claude Code and agent skill by automateyournetwork/netclaw
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
VMware ESXi host operations via pyATS — VM inventory, snapshot management, hypervisor inspection across ESXi hosts in the testbed. Use when listing VMs on ESXi, checking snapshot age, auditing VMware inventory, or verifying pre-change snapshots exist.
Install
npx vskill@latest install automateyournetwork/netclaw/pyats-linux-vmwareSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as automateyournetwork/netclaw/pyats-linux-vmware.
VMware ESXi Host Operations
Dynamic-inventory note (Spec160): for NETCLAW_TESTBED_MODE=dynamic, use the persistent native pyATS MCP session that composed, validated and explicitly activated the reviewed candidate. Separate MCP_CALL processes do not share dynamic inventory. Use scripts/pyats-testbed-session.py only for bounded preview/activate/list; it does not perform device operations. The static examples below apply to static mode. See docs/DYNAMIC-TESTBEDS.md; all existing device/change-control requirements apply.
Testbed Requirements
ESXi hosts must be defined in the pyATS testbed with os: linux (ESXi shell is Linux-based):
Note: SSH must be enabled on the ESXi host (disabled by default). Enable via vSphere Client → Host → Configure → System → Services → SSH → Start.
How to Call
All commands use pyats_run_linux_command:
Commands
VM Inventory
List All Virtual Machines
Returns a table of all VMs on the ESXi host:
| Column | Description | |
|---|---|---|
| Vmid | Unique VM identifier (used as parameter for other vim-cmd operations) | |
| Name | VM display name | |
| File | Path to the VMX configuration file on the datastore | |
| Guest OS | Configured guest OS type (e.g., ubuntu64Guest, windows9Server64Guest) | |
| Version | Virtual hardware version (e.g., vmx-19, vmx-20) | |
| Annotation | VM description/notes |
What to check:
- All expected VMs are present and registered
- VMX file paths reference expected datastores
- Virtual hardware versions are current (old versions may lack features)
- Guest OS type matches actual installed OS
- No orphaned or unexpected VMs
Snapshot Management
Get VM Snapshots
The parameter is the Vmid from vim-cmd vmsvc/getallvms. Returns the snapshot tree for that VM:
- Snapshot name and description
- Snapshot ID
- Creation timestamp
- Whether it's the current snapshot (the "you are here" marker)
- Parent/child snapshot hierarchy
What to check:
- Stale snapshots — snapshots older than 72 hours degrade performance (growing delta disks)
- Snapshot chains — deep chains (>3 levels) cause I/O performance degradation
- Pre-change snapshots — verify a snapshot was taken before maintenance windows
- Disk space — snapshot delta files consume datastore space proportional to guest write activity
Workflows
1. VMware Inventory Audit
2. Snapshot Health Check
3. Pre-Change VM Verification
4. Multi-Host VM Inventory
Parallel Operations
Run VM inventory across multiple ESXi hosts concurrently:
For snapshot checks, first collect VM IDs per host, then run snapshot queries in parallel across all VMs.
vim-cmd Quick Reference
| Command | Description | |
|---|---|---|
vim-cmd vmsvc/getallvms | List all registered VMs (ID, name, file, OS, version) | |
vim-cmd vmsvc/snapshot.get {vmid} | Get snapshot tree for a specific VM | |
vim-cmd vmsvc/power.getstate {vmid} | Get VM power state (on/off/suspended) | |
vim-cmd vmsvc/get.summary {vmid} | Get VM summary (CPU, memory, tools status) |
Note: Only getallvms and snapshot.get are covered by this skill. The reference above is for context — expand to other vim-cmd operations as needed.
Integration with Other Skills
| Skill | Integration | |
|---|---|---|
| pyats-linux-system | System-level commands on the ESXi host (ps, ls, docker stats) | |
| pyats-linux-network | ESXi host networking (interfaces, routes) — useful for vmkernel adapter inspection | |
| pyats-network | Network device show commands complement ESXi host-level views | |
| pyats-parallel-ops | pCall pattern for fleet-wide ESXi operations | |
| netbox-reconcile | Cross-reference VM inventory with NetBox virtualization records | |
| nautobot-sot | Validate ESXi host and VM data against Nautobot | |
| servicenow-change-workflow | Gate snapshot operations behind ServiceNow Change Requests | |
| gait-session-tracking | Every vim-cmd execution logged in GAIT | |
| nvd-cve | Check ESXi versions against NVD vulnerability database | |
| cml-lab-lifecycle | CML labs may run on ESXi — correlate VM inventory with CML topology |
Guardrails
- Always call `pyats_list_devices` first — verify ESXi hosts exist in the testbed
- Read-only operations only —
getallvmsandsnapshot.getare read-only - Never create/delete snapshots via this skill — snapshot creation/deletion impacts VM performance and requires a ServiceNow CR
- Never power-cycle VMs —
vim-cmd vmsvc/power.*operations are destructive and require explicit authorization - Validate Vmid before use — always get the Vmid from
getallvmsoutput; never guess or hardcode - Flag stale snapshots — any snapshot > 72 hours should be flagged as WARNING; > 7 days as CRITICAL
- SSH access concerns — ESXi SSH is often disabled in production; document that it must be enabled for pyATS access
- Record in GAIT — every vim-cmd execution must be logged
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/pyats-linux-vmware/SKILL.md
Popularity
- Repository stars
- 647
- Repository forks
- 182
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Sep 2026, 2 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/automateyournetwork/netclaw/pyats-linux-vmware)