Vmctl
Description
Agent skill to control VMware Workstation VMs via vmrun: power on/off, start, stop, suspend, reset, guest IP, snapshot create/revert/delete/list. Works from Windows, Git Bash, WSL, Linux, macOS. For Claude Code, Kimi Code, Codex & any agent using .agents/skills. VMware 虚拟机控制skill:开机/关机/挂起/快照管理
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
vmctl
**English** | [简体中文](README.zh-CN.md)
**A cross-platform agent skill for controlling local VMware Workstation virtual machines.**
`vmctl` wraps VMware's `vmrun` CLI so that AI coding agents (Kimi Code, Claude Code, Codex, or any agent that loads `.agents/skills` skills) can power VMs on/off, manage snapshots, and query state — from **Windows (Git Bash)** or **WSL**, with zero manual configuration.
vmctl start UbuntuServer1 # power on, headless
vmctl stop "Windows Server 2019" # graceful shutdown
vmctl snapshot UbuntuServer1 pre-upgrade
vmctl revert UbuntuServer1 pre-upgrade
Why
- Agents frequently need to boot/stop VMs for testing, but
vmrunpaths differ per machine, its output is Windows-flavored (CRLF, GBK), and WSL adds path-translation and interop quirks. vmctlhandles all of that once, so every agent on the machine gets a reliable VM toolbox.
Features:
- Power ops —
start(headless or--gui),stop(soft/hard),suspend,reset,status, guestip - Snapshots — create / list (
--tree) / revert / delete (--children) - Smart VM discovery — reads VMware's
inventory.vmls, matches by display name, vmx basename, or full path (any path style) - Robust vmrun detection — env var → cache (
~/.config/vmctl/paths) →PATH→ common install locations on every drive → Windows registry; cached after first success - Windows + WSL + Linux + macOS (Fusion) — automatic path/encoding/line-ending translation
- Idempotent power ops, clear exit codes (
0ok ·1not found/failed ·2ambiguous name ·64usage)
Install
The repo *is* the skill — clone it into your agent skills directory.
**Windows (Git Bash):**
git clone https://github.com/realweng/vmctl ~/.agents/skills/vmctl
bash ~/.agents/skills/vmctl/scripts/vmctl.sh doctor
**WSL:**
git clone https://github.com/realweng/vmctl ~/.agents/skills/vmctl
bash ~/.agents/skills/vmctl/scripts/vmctl.sh doctor
**Linux / ma
Related Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git