vphone-guest-control
できること
このスキルは、vphoneのインストール、仮想iPhoneの作成、動いている仮想iPhoneへのコマンドの送信を、エージェントに示します。Mac上でiPhoneアプリをテストする人向けです。
使う場面
- ✓Mac上で仮想iPhoneを作成または起動したいとき。
- ✓すでに動いている仮想iPhoneにコマンドを送る必要があるとき。
- ✓vphoneがインストールされ、使える状態か確認したいとき。
スキルのリンク
https://github.com/Lakr233/vphone-cli/blob/main/Skills/vphone-guest-control/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のvphoneの設定が使える状態か確認し、仮想iPhoneを起動してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、すでに開いているvphoneアプリと通信するvphoneのコマンドラインクライアントを実行します。まず状態を確認し、不足しているもの(あなたにしか完了できない設定の手順など)を示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
Apple Siliconのmacが必要ですか?
このスキルは、vphoneがApple Silicon Macで動くと説明しているので、その構成を想定しています。
エージェントは設定を一人で終えられますか?
常にできるわけではありません。アプリで管理者パスワードを求められる手順があり、それはあなたが自分で入力する必要があります。
コマンドラインを使う必要がありますか?
このスキルはコマンドラインクライアントを使いますが、すべてのコマンドはアプリのウィンドウや履歴にも現れます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 16k
- ランキング
- #10801
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
似ているスキル
android-clean-architecture
280kエージェントがAndroidプロジェクトを効率よく整理できるようにします。コードを構造化して、保守や新機能の開発をしやすくします。
compose-multiplatform-patterns
280kエージェントがKMPプロジェクトでCompose MultiplatformとJetpack Composeのパターンを使えるようにします。状態管理、ナビゲーション、テーマ設定、パフォーマンスを扱います。
dart-flutter-patterns
280kエージェントがDartとFlutterのアプリ向けのコードを書けるようにします。最新のパターンを使い、堅牢で管理しやすいアプリを作ります。