vphone-guest-control
Ce qu’il fait
Cette skill montre à votre agent comment installer vphone, créer des iPhone virtuels et envoyer des commandes à un appareil en cours d'exécution. Elle s'adresse aux personnes qui testent des applications iPhone sur un Mac.
Quand l’utiliser
- ✓Quand vous voulez créer ou démarrer un iPhone virtuel sur votre Mac.
- ✓Quand vous avez besoin d'envoyer des commandes à un iPhone virtuel déjà en marche.
- ✓Quand vous voulez vérifier si vphone est installé et prêt à l'emploi.
Lien du skill
https://github.com/Lakr233/vphone-cli/blob/main/Skills/vphone-guest-control/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Vérifie si ma configuration vphone est prête, et démarre un iPhone virtuel pour moi.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lance le client en ligne de commande vphone, qui communique avec l'application vphone déjà ouverte. Il vérifie d'abord l'état et vous indique ce qui manque, comme une étape de configuration que vous seul pouvez terminer.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
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
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:canInstallBundles: falseorhelpernotready: the user must finish Host Setup in the app (administrator password, Developer Tools access). You cannot do this for them; say exactly what is missing.defaultBundle: nullorbundleReady: false: install or verify a bundle. Each machine runs with its own bundle (vm list→bundle); the default only decides what new machines get.machines: 0: create one (machines).- Otherwise: list machines, start the one the user named, then control it.
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 siliconreferences/install-faq.md Create, start, stop, retry, update a machine, change its Core Bundle references/machines.md Tap, swipe, key, screenshot, anything on vphone.sockreferences/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,.debreferences/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 Verify with the guest, not with assumptions. After an input, take a screenshot or read
ui.describe; after a launch, checkapps.foreground. The guest is a real device with timing, so a command that returnedokhas not necessarily produced the visible result.
Output and errors
- Progress lines go to stderr as they arrive. The result is one JSON 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.
vphone-launchpad-cli helpprints every command with its options and is authoritative if this skill and the installed version disagree.- Quote JSON in single quotes:
guest rpc myphone apps.launch '{"bundle_id":"com.apple.Preferences"}'. - Interrupting the CLI cancels
exec, waits and CFW install. A bundle install or a machine creation belongs to the app window and keeps going, so do not start a second one because the CLI went quiet; runvm log <name> --kind create. - Pass
--root <library>only when two libraries hold a machine with the same 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.
- Use the machines the user named. Do not
vm createto reproduce a 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. - Creating is one at a time, after checking free disk. IPSWs plus the restore tree are large, and a full disk fails halfway with confusing errors.
- Never change host security settings (SIP, boot-args, AMFI, Research Guests) and never run
Questions fréquentes
Faut-il un Mac équipé d'une puce Apple Silicon ?
La skill décrit vphone comme fonctionnant sur les Mac Apple Silicon, c'est donc la configuration attendue.
L'agent peut-il terminer la configuration seul ?
Pas toujours. Certaines étapes demandent un mot de passe administrateur dans l'application, que vous devez saisir vous-même.
Dois-je utiliser la ligne de commande ?
La skill utilise le client en ligne de commande, mais chaque commande apparaît aussi dans la fenêtre de l'application et dans son historique.
Détails
Description originale de l’auteur
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.bundle, vphoned, vphone.sock, or a virtual iPhone on their Mac, even if they do not name the tool. That includes setting vphone up, creating/starting/stopping a machine, tapping/swiping/typing/taking screenshots in the guest, calling a vphoned method (apps, files, logs, processes, UI tree), installi
repo: Lakr233/vphone-cli
Popularité
- Étoiles GitHub
- 16k
- Position au classement
- #10801
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Skills similaires
android-clean-architecture
280kPermet à votre agent d'organiser efficacement les projets Android. Il structure le code pour faciliter la maintenance et le développement de nouvelles fonctionnalités.
compose-multiplatform-patterns
280kAide votre agent à utiliser les patterns Compose Multiplatform et Jetpack Compose dans les projets KMP : état, navigation, thèmes et performances.
dart-flutter-patterns
280kPermet à votre agent d'écrire du code pour les applications Dart et Flutter. Il utilise des patterns modernes pour des apps robustes et faciles à gérer.