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.
npx agentmods add skills/forefy/.context/vm-labnpx skills add forefy/.context --skill vm-labgit clone --depth 1 https://github.com/forefy/.contextWrote 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.
[](https://agentmods.dev/skills/forefy/.context/vm-lab)<a href="https://agentmods.dev/skills/forefy/.context/vm-lab"><img src="https://agentmods.dev/badge/skills/forefy/.context/vm-lab.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00038 | $0.02112 |
| Opus 5 | $0.00019 | $0.01056 |
| Sonnet 5 | $0.00008 | $0.00422 |
| Haiku 4.5 | $0.00004 | $0.00211 |
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 yesterday.
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) 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:
- Which guest - macOS, Windows, or Linux? (drives
toolkits/<os>.md+ SSH gotchas) - Which provider - Parallels / VirtualBox / VMware? (drives
providers/<name>.sh) - 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.
- Existing → confirm it's in
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).
What ships with it
23 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 247 B
- bootstrap/linux.sh 846 B runs code
- bootstrap/macos.sh 673 B runs code
- bootstrap/unattended.md 2.6 KB
- bootstrap/windows.ps1 2.0 KB runs code
- config.example.env 2.7 KB
- ctl.sh 2.9 KB runs code
- inspect-app.sh 1.6 KB runs code
- LEARNINGS.md 5.3 KB
- lib.sh 8.0 KB runs code
- providers/common.sh 2.1 KB runs code
- providers/parallels.sh 2.4 KB runs code
- providers/virtualbox.sh 2.2 KB runs code
- providers/vmware.sh 1.5 KB runs code
- toolkits/linux.md 3.6 KB
- toolkits/macos.md 4.6 KB
- toolkits/windows.md 4.8 KB
- tools/asar.py 2.1 KB runs code
- tools/electron-triage.sh 4.3 KB runs code
- tools/inspect-linux.sh 1.9 KB runs code
- tools/inspect-macos.sh 3.3 KB runs code
- tools/inspect-windows.ps1 3.1 KB runs code
- verify.sh 3.7 KB runs code
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.
- yesterday Changed · +1 lines aa3161529f97
- 5d ago First seen · 124 lines · 38 tokens per session scan B 4ac928d65668
vm-lab is a skill published in the GitHub repository forefy/.context (144 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 2,112 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
eresus-manual-security-audit
Elite manual security code review skill for deep, adversarial vulnerability hunting and exploit-chain discovery. Trigger when the user asks to: "do a deep security audit", "manual code review", "find exploit chains", "hunt for logic bugs", "red-team this codebase", "do an offensive security review", "review this like…
eresus-php-audit
Deep PHP-specific security audit skill covering injection, deserialization, file operations, auth bypass, POP chain discovery, and CMS-specific patterns. Trigger when auditing PHP code: "audit this PHP app", "find PHP security issues", "check Laravel/WordPress for vulnerabilities", "PHP SAST review", "check for PHP…
eresus-python-audit
Deep Python-specific security audit skill with 50+ vulnerability class coverage across 7 categories. Trigger when auditing Python code: "audit this Python app", "find Python security issues", "check Flask/Django for vulnerabilities", "Python SAST review", "check for pickle vulnerabilities", "review this FastAPI code".…
eresus-sast-scanner
General-purpose Static Application Security Testing (SAST) skill for code vulnerability analysis. Trigger when the user asks to: "analyze code for vulnerabilities", "review code security", "find security bugs", "do a SAST scan", "check for [vulnerability type] in code", "audit source code", or requests a security code…
eresus-remediator
Security remediation skill for fixing confirmed or likely SAST findings in source code. Trigger when the user asks to: "fix a vulnerability", "patch this security bug", "remediate SAST findings", "harden this endpoint", "make this auth flow safe", or wants code changes that remove a confirmed security issue while…
eresus-variant-analysis
GHSA/CVE variant analysis workflow for finding similar vulnerability patterns across a codebase. Trigger when the user asks to: "find variants of this CVE", "GHSA variant analysis", "find similar bugs", "hunt for the same pattern", "are there other places with this vulnerability?", or when a known vulnerability is…