Vphone guest control

From Hectr203/V2-VIDEOS-IA · View interactive version

Vphone guest control is an AI agent skill from the GitHub repository Hectr203/V2-VIDEOS-IA. Install vphone-launchpad and VPhone.bundle, create and run vphone virtual iPhones, and drive a running guest from the command line with vphone-launchpad-cli and the per-machine vphone.sock. Make sure to use this skill whenever the user mentions vphone, vphone-launchpad, vphone-launchpad-cli, VPhone.

How to use this skill

Skill file

Driving vphone

vphone runs a virtual iPhone on an Apple Silicon Mac through

Virtualization.framework. Two pieces matter to you:

| Piece | Role |

| --- | --- |

| vphone-launchpad (Mac app) | Downloads and verifies VPhone.bundle, creates machines, runs them. Owns the only root helper. |

| vphone-launchpad-cli | A stateless client of the running app. Every command also appears in the app's window and history. |

Use vphone-launchpad-cli for everything. The app does the privileged and

signed work for you; a second route (sudo, a copy of vphone-cli, devicectl)

either lacks the entitlements, bypasses the checks the app records, or times out

against these guests.

How a session should go

  1. Find out where the user is. Run vphone-launchpad-cli status. If the

command does not exist, go to install. Otherwise the

JSON tells you the next step:

Host Setup in the app (administrator password, Developer Tools access).

You cannot do this for them; say exactly what is missing.

Each machine runs with its own bundle (vm list → bundle); the default

only decides what new machines get.

  1. Pick the reference for the task, and read it before acting.

| Task | Read |

| --- | --- |

| Install Launchpad or a bundle, host requirements, series matching | references/install.md |

| An install step failed: "damaged", Developer Tools access turns off, several macOS installations, zsh: killed, not Apple silicon | references/install-faq.md |

| Create, start, stop, retry, update a machine, change its Core Bundle | references/machines.md |

| Tap, swipe, key, screenshot, anything on vphone.sock | references/guest-socket.md |

| Call a vphoned method: apps, files, logs, UI tree, processes | references/rpc-methods.md |

| Installing an IPA | references/rpc-methods.md |

| roothide vs rootless, installing the bootstrap, ssh, /rootfs, handing files to vphoned, .deb | references/guest-layout.md |

| Black screen, timeouts, AMFI, "客体代理未连接" | references/troubleshooting.md |

| A symptom the above does not cover; which research note or source explains it | references/finding-docs.md |

  1. Verify with the guest, not with assumptions. After an input, take a

screenshot or read ui.describe; after a launch, check apps.foreground.

The guest is a real device with timing, so a command that returned ok has

not necessarily produced the visible result.

Output and errors

document on stdout**. Exit 0 is success; exit 1 is failure with the reason on

stderr. Parse stdout, and read stderr when the exit code is 1.

authoritative if this skill and the installed version disagree.

or a machine creation belongs to the app window and keeps going, so do not

start a second one because the CLI went quiet; run vm log <name> --kind create.

name; the error lists the libraries.

Rules that save the user's machine

These exist because each one has cost the user real time or disk before.

problem; diagnose on the existing guest. A creation takes tens of GB and

several restarts, and a half-built machine is harder to clean up than the bug.

restore tree are large, and a full disk fails halfway with confusing errors.

Guests) and never run bundle accept, bundle remove, cfw install or a

second vm create over existing work unless the user asked. Report what is

needed; the Mac's owner decides.

apps.uninstall, system.respring, system.reboot, system.shutdown and

similar refuse to run without "force":true. Passing it is the confirmation,

so pass it only for an action the user asked for.

Use RPC for guest files instead.

clear text.

test installation; apps.install bypasses installd. Never use

xcrun devicectl to install or launch (it times out); listing devices is fine.

Research/ notes quote real failures; see

references/finding-docs.md.

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.