vm-lab

vm-lab is a skill for Claude Code, Codex from forefy/.context. It costs 38 tokens per session (2,112 once invoked), scanned B, original, MIT.

A toolkit for debugging software in disposable macOS, Windows, and Linux virtual machines. Virtual machines are isolated guest computers running on the developer’s Mac or other host.

In plain words
What is it for?
Use it to reproduce bugs across operating systems, inspect running processes, networks, files, or memory, check code signing, and perform dynamic debugging with Parallels, VirtualBox, or VMware.
Why use it?
It provides a repeatable way to reproduce operating-system-specific problems without changing the main computer, while connecting to each guest over SSH.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to reproduce bugs across operating systems, inspect running processes, networks, files, or memory, check code signing, and perform dynamic debugging with Parallels, VirtualBox, or VMware.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forefy/.context/vm-lab
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add forefy/.context --skill vm-lab
Clone the repo
git clone --depth 1 https://github.com/forefy/.context

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vm-lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/forefy/.context/vm-lab/github.svg)](https://agentmods.dev/skills/forefy/.context/vm-lab)
Your own site
<a href="https://agentmods.dev/skills/forefy/.context/vm-lab"><img src="https://agentmods.dev/badge/skills/forefy/.context/vm-lab/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vm-lab

Your own site · 80×15
<a href="https://agentmods.dev/skills/forefy/.context/vm-lab"><img src="https://agentmods.dev/badge/skills/forefy/.context/vm-lab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,112 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 40
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.02112
Opus 5.5 $0.00015 $0.00845
Sonnet 5.5 $0.00008 $0.00422
Haiku 4.5 $0.00004 $0.00211

Measured 2mo ago against content hash aa3161529f97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

vm-lab scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 16 executable files (bootstrap/linux.sh, bootstrap/macos.sh, bootstrap/windows.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

rc_sudo mac 'fs_usage -w' # sudo on mac/linux (echoes the guest pw via -S)
skills/hunter-utils/vm-lab/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

VM Lab - cross-OS debugging on any free hypervisor

Disposable local VMs - real macOS, Windows, and Linux, isolated from this host - for cross-OS repro, live process/network/file/memory triage, code-signing checks, and dynamic instrumentation. Works on Parallels, VirtualBox, or VMware with no paid tooling.

The core idea

SSH is the universal substrate. The hypervisor only ever does four things - list, get-ip, power, snapshot - and each of the three has a free way to do all four (providers/*.sh). Everything valuable (the debug toolkit) runs over SSH and is hypervisor-agnostic; it only varies by guest OS and CPU arch. So this skill is a thin swappable provider layer + a big OS/arch-specific debugging core.

On every invocation - ask first, then route

This skill serves three OSes and three providers. Before doing anything, establish:

  1. Which guest - macOS, Windows, or Linux? (drives toolkits/<os>.md + SSH gotchas)
  2. Which provider - Parallels / VirtualBox / VMware? (drives providers/<name>.sh)
  3. Set up fresh, or use an existing guest?
    • Existing → confirm it's in config.local.env, ./ctl.sh <tag> up, ./verify.sh <tag>, go.
    • Fresh → bootstrap/ (Path A one-liner, or Path B unattended), then add to config, verify, snapshot.

If a config.local.env already defines the guest the task needs, skip the questions and use it. Ask only what's genuinely unresolved.

Config & connect

All mutable details live in config.local.env (copy from config.example.env; it's gitignored so your IPs/keys never get shared). Then:

source lib.sh                 # loads config + helpers (rc, rc_sudo, ssh_cmd, prov, ctl)
rc mac 'uname -a'             # run on the macOS guest
rc win 'whoami'              # Windows: auto-wrapped as base64 PowerShell
rc lin 'uname -a'            # Linux
rc_sudo mac 'fs_usage -w'    # sudo on mac/linux (echoes the guest pw via -S)
./verify.sh                   # every guest: tools present + callable, with hints
./ctl.sh doctor               # host preflight: which providers/tools are present here
./ctl.sh win up               # boot + WAIT for sshd; then down|ip|ssh|snaps|vms
push mac ./tool /tmp/tool     # copy to guest (scp); pull mac /tmp/x.pcap ./  to fetch
tun  mac -L 8080:127.0.0.1:8080   # port-forward (MITM/reach a guest service)
./ctl.sh mac reset            # restore the clean snapshot (RESET_SNAPSHOT) - the disposable loop

Guests are tags (mac/win/lin, your choice) with {PROVIDER, OS, ARCH, VMNAME, IP, USER, AUTH, KEY/PW}. Leave IP blank to auto-discover (provider → mDNS → ARP).

Read the full file on GitHub · 125 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +1 lines aa3161529f97
  2. 3mo ago First seen · 124 lines · 38 tokens per session scan B 4ac928d65668

Subscribe to this mod's changes

vm-lab is a skill published in the GitHub repository forefy/.context (156 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 2,112 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

vm-lab compared with skills from other repositories

vm-lab next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vm-labforefy/.contextSkill156yesterdayMITB38Claude Code, Codex
argusAwarexone/Agentic-Bug-HunterSkill6.1k19d agoMITA166Claude Code
exploiting-format-string-vulnerabilitiesxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A69Claude Code, Codex
detecting-fileless-attacks-on-endpointsxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A86Claude Code, Codex
beehavejame581/GodotPrompterSkill1.0kyesterdayMITA35Claude Code
architecture-optimizationwondelai/skillsSkill2.8ktodayMITA226Claude Code
release-itwondelai/skillsSkill2.8ktodayMITA131Claude Code, Codex