Vm lab

From mouadja02/skills · View interactive version

Vm lab is an AI agent skill from the GitHub repository mouadja02/skills. Runs a clean Parallels macOS VM lab to test GUI automation, TCC permission prompts, screenshots, clicking, and typing, verifying from outside the guest (two-way validation). Use when a macOS automation tool must be tested on a fresh system.

How to use this skill

Skill file

VM Lab

Attribution: Sourced from steipete/agent-scripts by Peter Steinberger.

Use this when the task needs a clean macOS VM to test GUI automation, TCC prompts, screenshot capture, clicking, typing, performance, or "two-way validation" of automation tools.

Core idea: run the tool under test inside the guest, but verify it from outside the guest with Parallels screenshots and host-side observations.

Safety Rules

VM Discovery

# List VMs
prlctl list --all

# Get VM status/IP
prlctl list --info "macOS Sequoia"

# Run guest command
prlctl exec "macOS Sequoia" 'sudo -u $USER -H /bin/zsh -lc "uname -a"'

# Host-side screenshot
prlctl capture "macOS Sequoia" --file /tmp/vm-reference.png
sips -g pixelWidth -g pixelHeight /tmp/vm-reference.png

TCC / GUI Attribution

For macOS Screen Recording and Accessibility, the responsible process matters.

Two-Way Validation

For each GUI action, verify through two independent signals:

Examples:

Known Pitfalls

Reporting

When handing off, include only:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.