Vmctl — Git skill for Claude Code
Agent skill to control VMware Workstation VMs via vmrun: power on/off, start, stop, suspend, reset, guest IP, snapshot create/revert/delete/list.
How to install Vmctl
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open realweng/vmctl and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Vmctl does
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:开机/关机/挂起/快照管理
Alternatives in Git
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
Reset Branch
Switch to main and delete previous branch
Foxel RmShield
Foxel rmShield: a Claude Code mod that holds risky shell commands (rm -rf, git reset --hard, force push, migra
Remove Worktree Prompt
Remove a git worktree, delete its branch, and stop its running services
Prc
Ensure an open PR exists for the current branch (create it if needed, idempotent if one already exists), print
Dip
Post-merge cleanup — switch to base branch, pull latest, delete the merged feature branch, restore any stash.
Conductor Revert
Git-aware revert of tracks, phases, or tasks
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS
Homelab Platform
Home-lab site reliability and platform operations for Linux hosts, VMs, container stacks, networking, storage,