본문으로 건너뛰기
Skillpedia
모바일 앱16k · #10801

vphone-guest-control

하는 일

이 스킬은 에이전트가 vphone을 설치하고, 가상 아이폰을 만들고, 실행 중인 가상 아이폰에 명령을 보내는 방법을 보여 줍니다. Mac에서 아이폰 앱을 테스트하는 분들을 위한 스킬입니다.

사용하는 경우

  • ✓Mac에서 가상 아이폰을 만들거나 시작하고 싶을 때.
  • ✓이미 실행 중인 가상 아이폰에 명령을 보내야 하는 경우.
  • ✓vphone이 설치되어 쓸 준비가 되었는지 확인하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Lakr233/vphone-cli/blob/main/Skills/vphone-guest-control/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 vphone 설정이 준비되었는지 확인하고, 가상 아이폰을 시작해 주실 수 있나요?”

매주 새 스킬 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

  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
자주 묻는 질문

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

비슷한 스킬