PwrSnap: Skill for Codex

.agents/skills/macos-vm-e2e-lab/SKILL.md

macos-vm-e2e-lab is a skill for Codex from pwrdrvr/PwrSnap. It costs 95 tokens per session (1,643 once invoked), scanned A, original, MIT.

A procedure for running headed end-to-end tests in an existing macOS virtual-machine lab. End-to-end tests exercise a product through its user-facing interface, while a virtual machine is an isolated computer running in software.

In plain words
What is it for?
Use it for Tart macOS virtual machines, self-hosted macOS test runners, and tests that open windows, take focus, or use global hotkeys.
Why use it?
It keeps disruptive desktop tests away from an operator's real windows and requires approval before booting and locking a shared test machine.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is pwrdrvr/PwrSnap's own configuration. It tells Codex how to work on PwrSnap itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PwrSnap configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pwrdrvr/PwrSnap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pwrdrvr/PwrSnap/main/.agents/skills/macos-vm-e2e-lab/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pwrdrvr/PwrSnap

Made for: 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 macos-vm-e2e-lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/pwrdrvr/pwrsnap/macos-vm-e2e-lab/github.svg)](https://agentmods.dev/skills/pwrdrvr/pwrsnap/macos-vm-e2e-lab)
Your own site
<a href="https://agentmods.dev/skills/pwrdrvr/pwrsnap/macos-vm-e2e-lab"><img src="https://agentmods.dev/badge/skills/pwrdrvr/pwrsnap/macos-vm-e2e-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 macos-vm-e2e-lab

Your own site · 80×15
<a href="https://agentmods.dev/skills/pwrdrvr/pwrsnap/macos-vm-e2e-lab"><img src="https://agentmods.dev/badge/skills/pwrdrvr/pwrsnap/macos-vm-e2e-lab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00095 $0.01643
Opus 5 $0.00048 $0.00822
Sonnet 5 $0.00019 $0.00329
Haiku 4.5 $0.00010 $0.00164

Measured 4d ago against content hash 7318c1b97110, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

macos-vm-e2e-lab scanned grade A with 0 findings 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 4d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/macos-vm-e2e-lab/SKILL.md · 124 lines

How it starts

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

PwrSnap macOS VM E2E lab

PwrSnap does not own the Tart lab, runner VMs, or guest OS baseline — PwrSuiteLab does. Product tests and CI contracts belong here; lab inventory, configuration, transport, diagnosis, and recovery belong only there. Do not provision a product-local Tart lab, clone a base image, or register a runner from this repository, and never copy private lab details into PwrSnap (see AGENTS.md for what that covers).

Why this exists

Headed desktop E2E takes over the screen: it opens windows, steals focus, and drives the region selector and global hotkeys. Run on the operator's own desktop it interrupts whatever they are doing and can pull their real windows into a capture under test.

Get approval first

A lab run is a live action, not a read. It boots a VM, takes a lock that serializes the single guest display against every other consumer of that guest, and runs for minutes. PwrSuiteLab's runbook requires explicit operator approval naming the target and the intended test; --confirm-live-run is a bare argv check in the controller, not a prompt, so typing it asserts an approval you must actually have.

So: get the operator's go-ahead for this run before invoking the controller. An instruction that names the machine and the test is approval for that scoped run — it is not standing approval for later runs, a wider spec set, or any other lab operation. Running headed E2E on the operator's own desktop instead needs the same explicit approval.

Resolve the lab checkout

  1. Discover an existing PwrSuiteLab checkout from the thread's attached or linked directories, known local project checkouts, or project metadata. An explicit operator pointer is also valid. Do not assume or hardcode a machine-specific pathname, and do not clone, install, or provision PwrSuiteLab as a fallback.
  2. Use its primary checkout, not one of its disposable worktrees.
  3. Read that checkout's AGENTS.md and its current macos-tart runbook before running or diagnosing anything. That runbook is authoritative and wins on conflict with anything here; its guest names, hosts, and approval gates live only there.
  4. Verify the ignored config exists with an exact filesystem test — test -f "$suite_lab_root/local-config/macos-tart.sh". Absence in rg --files or git ls-files proves nothing. Never read, print, copy, or summarize it. If it is missing, ask the operator only for an existing config path.

Read the full file on GitHub · 124 lines

Files

What ships with it

1 file 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.

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. 4d ago First seen · 124 lines · 95 tokens per session scan A 7318c1b97110

Subscribe to this mod's changes

macos-vm-e2e-lab is a skill published in the GitHub repository pwrdrvr/PwrSnap (5 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 1,643 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories