Chuyển đến nội dung
Skillpedia
Ứng dụng di động16k · #10801

vphone-guest-control

Skill này làm gì

Skill này chỉ cho agent của bạn cách cài đặt vphone, tạo iPhone ảo và gửi lệnh đến một iPhone đang chạy. Skill dành cho người kiểm thử ứng dụng iPhone trên Mac.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo hoặc khởi động một iPhone ảo trên Mac.
  • ✓Khi bạn cần gửi lệnh đến một iPhone ảo đang chạy.
  • ✓Khi bạn muốn kiểm tra xem vphone đã được cài và sẵn sàng dùng chưa.

Liên kết skill

https://github.com/Lakr233/vphone-cli/blob/main/Skills/vphone-guest-control/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Lakr233/vphone-cli/blob/main/Skills/vphone-guest-control/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy kiểm tra xem thiết lập vphone của tôi đã sẵn sàng chưa, và khởi động một iPhone ảo cho tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy client dòng lệnh vphone, client này giao tiếp với ứng dụng vphone đang mở. Trước tiên nó kiểm tra trạng thái và cho bạn biết những gì còn thiếu, như một bước thiết lập chỉ bạn mới hoàn thành được.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

    • canInstallBundles: false or helper not ready: 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: null or bundleReady: 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.
  2. 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
  3. 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

  • 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 help prints 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; run vm 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 create to 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
Câu hỏi thường gặp

Nó có cần Mac Apple Silicon không?

Skill mô tả vphone chạy trên Mac Apple Silicon, nên đó là thiết lập mà skill mong đợi.

Agent có tự hoàn tất thiết lập được không?

Không phải lúc nào. Một số bước cần mật khẩu quản trị trong ứng dụng, và bạn phải tự nhập.

Tôi có cần dùng dòng lệnh không?

Skill dùng client dòng lệnh, nhưng mọi lệnh cũng xuất hiện trong cửa sổ ứng dụng và lịch sử.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
16k
Vị trí xếp hạng
#10801
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự