plume-vm-setup
Skill0 starsChanged 10 days agoApache-2.0View on GitHub
Set up Plume's macOS test VMs from scratch, or rebuild them — install Tart, turn on the Labs toggle, build the base image with make-base-image.sh, grant the debug app Full Disk Access in the VM with plume-vm grant-fda, verify, and reset the clones after a macOS or Xcode update. Use on "set up VMs", "set up the VM pool", "rebuild the base image", "the VM base is out of date", "Full Disk Access in the VM", or when plume-vm says the base is missing, has no Xcode, or lacks Full Disk Access.
- Installs packages
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- drive-plumeSkill
- implementSkill
- release-betaSkill
- release-cycleSkill
- roadmapSkill
- drive-plumeSkill
- implementSkill
- release-betaSkill
- release-cycleSkill
- roadmapSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Ask the user before steps that need them: installing Homebrew packages, turning on Labs in an app they are running, and the Full Disk …
- Very specific: line 25
Build the base image: Run scripts/vm/make-base-image.sh in the foreground.
- Very specific: line 27
Add --with-xcode when the user needs plume-vm test.
- Very specific: line 42
Run scripts/vm/make-base-image.sh --force, with --with-xcode if the old base had Xcode.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Set up Plume's test VMs
docs/vm-testing.md is the reference. This is the order to run things in; read the doc for what each step does and why.
Ask the user before steps that need them: installing Homebrew packages, turning on Labs in an app they are running, and the Full Disk Access clicks.
First-time setup
Install Tart. It lives in the
openai/toolstap, and Homebrew refuses itstartandsoftnetformulas until they are trusted.brew tap openai/tools brew trust --formula openai/tools/tart brew trust --formula openai/tools/softnet brew install tart- Turn on Labs. The Plume that will own the VMs needs Settings ▸ Labs ▸ "macOS VMs for testing". From a shell:
defaults write com.ryanmoelter.Plume labsVMsEnabled -bool true, orcom.ryanmoelter.Plume.debugfor debug builds. Relaunch the app afterwards; it reads the setting at launch. - Build the base image. Run
scripts/vm/make-base-image.shin the foreground. The first run downloads about 30 GB.- Without flags, the base has no Xcode. That is enough for
plume-vm launch. - Add
--with-xcodewhen the user needsplume-vm test. It copies the selected Xcode in, which must match the host's.
- Without flags, the base has no Xcode. That is enough for
- Grant Full Disk Access. This step is manual, once per base image. Build the debug app, then run
scripts/vm/plume-vm grant-fdawithPLUME_SOCKETset to the socket of the Plume the user is looking at. It prints the clicks: Show the VM in a device tab, turn on Plume α in the guest's System Settings, enteradmin. Relay them to the user, and wait for the script to finish. It checks the grant, then saves the VM as the new base. The script refuses to start while you hold a VM. If the VM it claims has an older clone, it resets that slot and claims again, so it grants in a fresh clone. If the base already has the grant, it checks that the grant matches this build's signature, then says so and saves nothing. Before saving, it shuts the guest down and fails if the VM didn't stop cleanly. Saving waits up to 10 minutes for every other VM to stop, naming the busy slot; ask the user to release it. If the save still fails, the script keeps the granted clone and says so: release every VM, leave that slot unclaimed, and rungrant-fdaagain with the same app. It resumes at the save, with no second grant. If it stops anywhere else, it releases its VM; run it again. - Verify.
scripts/vm/plume-vm claim, thenscripts/vm/plume-vm launch --seed 1. The launch prints no Full Disk Access warning.scripts/debug/plume-control.py --socket <controlSocket> list plumeID=full-disk-access-dismiss-buttonreturns an emptyresult.- With
--with-xcode, also runscripts/vm/plume-vm test. - Finish with
scripts/vm/plume-vm release. Never leave a VM claimed.
Rebuilding after a macOS or Xcode update
The base must match the host's macOS major, and with Xcode, the host's Xcode version. plume-vm test refuses a mismatched Xcode and names this fix.
- Release every VM:
scripts/vm/plume-vm listshows none leased. - Run
scripts/vm/make-base-image.sh --force, with--with-xcodeif the old base had Xcode.vms/base-<os>.jsonrecords whether it did. - The rebuild deletes every free
plume-<os>-<n>clone. For each clone it names as skipped, runplume devices reset vm:<n>once that VM is free. - The new base has no Full Disk Access grant. Repeat step 4 and step 5 above.
A debug rebuild doesn't need a new grant, because TCC matches the signing certificate, not the binary. A build signed by another certificate does.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

