# VMware Workstation Ops Pro

> Production-grade VMware Workstation Pro toolkit: 8 verified scripts, 7 playbooks & templates for auditing, capacity gating, safe VMX patching & SSH triage.

VMware Workstation Ops Pro is a free AI agent skill on Agensi by 王海冰, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [王海冰](https://www.agensi.io/creators/creator-1389)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/vmware-workstation-ops-pro
- Tags: devops, testing, automation, vmware, powershell, virtualization, homelab, sysadmin

## About this skill

Managing multi-VM labs on Windows VMware Workstation Pro often breaks in predictable, costly ways: booting one VM too many exhausts host RAM, ad-hoc `.vmx` edits corrupt UTF-8/BOM or line endings, moving a base image breaks linked-clone `.vmdk` chains, cloned Linux nodes collide on MAC/`machine-id`/SSH host keys, and SSH troubleshooting turns into blind guesswork.

**VMware Workstation Ops Pro** is a complete 20-file operations bundle that enforces a strict **Read-Only Discovery First** and **Dry-Run Before Writes** workflow across your Windows VMware Workstation Pro (17 / 25H2 / 26H1) labs.

### What's included (20-file Pro bundle)
- **8 Ready-to-Run Local Scripts** (7 PowerShell host scripts + 1 Bash Linux guest script, read-only by default):
  - `inspect-vmware-host.ps1` — discovers Workstation CLI binaries/versions, parses `inventory.vmls`, and reconciles `vmrun list` against live `vmware-vmx.exe` processes.
  - `check-capacity-preflight.ps1` — calculates host RAM headroom, running VM baseline, 15% VMware overhead margin, and drive free space with a `PASS` / `WARN` / `BLOCK` gate.
  - `audit-vmx-and-disks.ps1` — checks VMX encoding/line endings, traces `.vmdk` `parentFileNameHint` chains, inspects `.vmsd` snapshots, and verifies disk free space.
  - `plan-vmx-patch.ps1` — previews VMX hardware/network diffs in dry-run mode; with explicit `-Apply`, creates a timestamped `.bak`, writes atomically with preserved encoding, and blocks edits on running VMs.
  - `test-ssh-layer-matrix.ps1` — runs a bounded 4-layer readiness matrix (`Power` -> `TCP/22` -> optional non-interactive `BatchMode=yes` SSH key auth -> local client sockets) and pins `FirstFailingLayer`.
  - `inspect-mobaxterm-bookmarks.ps1` — audits `MobaXterm.ini` bookmarks without printing secrets, flagging nested `SubRep=` folders that break `-bookmark` CLI launches and missing SSH key files.
  - `validate-mobaxterm-args.ps1` — validates official MobaXterm CLI / `MobaSendMsg` argument arrays and rejects plaintext secret flags.
  - `audit-linux-clone-identity.sh` — collects hostname, IPv4s, MACs, `/etc/machine-id`, DMI `product_uuid`, and SSH host key SHA256 fingerprints across cloned Linux nodes.
- **7 Deep Engineering References** — covering the VMware CLI tool matrix (`vmrun`, `vmware.exe`, `vmware-vdiskmanager`, `ovftool`, `vmcli`), 3-tier immutable template/linked-clone disk architecture, VMX networking & nested virtualization tuning, multi-VM lab orchestration, MobaXterm INI handoff rules, Windows PowerShell StrictMode patterns, and a **15-Scenario Failure Playbook**.
- **2 Reusable Templates + 2 Golden Examples** — `lab-manifest.template.json`, `clone-sealing-checklist.md`, `sample-host-inventory.json`, and `expected-ops-report.md`.

### Safety & privacy guarantees
- **Strictly local & offline:** zero telemetry, zero external API calls, zero environment-variable harvesting.
- **Read-only discovery first:** no destructive action runs without a preflight audit and explicit user approval.
- **Credential hygiene:** never passes passwords on CLI flags and never prints private keys or saved credential blobs.

### Use cases
- **Pre-boot capacity gating:** verify RAM headroom and disk space before booting a 3–5 node Kubernetes or AIOps lab.
- **Safe VMX hardware & network tuning:** update vCPU, RAM, NICs, or nested VT-x/AMD-V with dry-run diffs, automatic `.bak` backups, and preserved encoding.
- **Clone & cluster hygiene:** audit linked-clone VMDK parent chains and detect duplicate Linux identities before `kubeadm init` / `join`.
- **Layered SSH & MobaXterm triage:** isolate whether a failure is VM power, TCP/22, SSH key auth, or a nested MobaXterm bookmark in seconds.

## Requires

- Runs on Windows only
- VMware Workstation Pro (17 / 25H2 / 26H1)
- PowerShell 7 (pwsh) or Windows PowerShell 5.1
- Optional: MobaXterm (INI bookmark & CLI validation)
- Optional: OpenSSH client (Layer-3 key auth check)
- Optional: Bash inside Linux guest VMs (clone identity audit)

All 8 scripts run locally on your Windows host and Linux VMs—no cloud API keys, subscriptions, or external accounts required.

## Known limitations

Purpose-built for VMware Workstation Pro on Windows hosts (not ESXi, vSphere, or VMware Fusion on macOS). Requires local PowerShell execution for host audits and Bash inside Linux guests for clone-identity checks. VMX patching intentionally blocks writes to running VMs and requires explicit -Apply confirmation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the VMware Workstation Ops Pro skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent my VMware host from crashing during large lab deployments?

This skill prevents common lab failures like host-wide RAM exhaustion, corrupted VMX files due to improper encoding, and networking conflicts caused by duplicate MAC addresses or machine-IDs in cloned VMs.

### Can I use VMware Workstation Ops Pro to manage ESXi or vSphere environments?

No, this toolkit is purpose-built exclusively for VMware Workstation Pro on Windows hosts and is not compatible with ESXi, vSphere, or Fusion for macOS.

### What exactly is included in the toolkit?

You receive the complete 20-file Pro bundle: 8 verified local scripts (7 PowerShell host scripts + 1 Bash Linux guest audit script), 7 deep engineering playbooks (including a 15-scenario Failure Playbook and VMware CLI tool matrix), 2 reusable templates (lab-manifest.template.json & clone-sealing-checklist.md), and 2 golden output examples.

### What are the technical requirements for the AI agent to run these scripts?

It works with any SKILL.md-compatible AI agent able to run local shell commands (Codex CLI, Claude Code, Cursor, VS Code Copilot, Gemini CLI, OpenClaw) on Windows 10/11 with PowerShell 7 (pwsh) or 5.1 and VMware Workstation Pro binaries (vmrun, vmware-vdiskmanager). MobaXterm and OpenSSH client are optional.

### Why should I use this skill instead of just asking an AI to write VMX configuration changes for me?

Unlike manual edits, this skill uses a "Read-Only Discovery First" approach and performs atomic writes with dry-run previews to ensure VMX files aren't corrupted and disk chains remain intact.

### How does the skill help with MobaXterm integration and SSH connectivity issues?

The skill includes a connectivity triage module that probes four layers of SSH readiness and specifically validates MobaXterm bookmark configurations to ensure seamless remote access.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
