iPhone Control Skill

A Claude Code skill that drives a real iPhone over a USB cable. The agent can look at the screen, tap, swipe, type, open any app, take screenshots and record video.

Download iphone-control.zip Read the setup guide

70 KB · 21 files · Python and shell · macOS only

How it works

Claude Code / Codex
     │  ops.py / phone.py
     ▼
Appium server (on the Mac)
     │  USB cable
     ▼
WebDriverAgent (on the iPhone)
     │  accessibility tree, taps, screenshots
     ▼
Any app on the phone

It needs no Wi-Fi, no iPhone Mirroring and no unlocked Mac. The agent reads each app by its real buttons and labels, not by pixels.

What you need

Quick start

unzip iphone-control.zip -d ~/.claude/skills/
npm i -g appium && appium driver install xcuitest

S=~/.claude/skills/iphone-control/scripts
export IPHONE_CONTROL_DEVICE='test phone'
$S/server.sh start
$S/phone.py setup
# add "wdaBundleId": "com.yourname.wda.runner" to
# ~/.iphone-control/devices/test phone/config.json
$S/phone.py ensure --wait 15     # repeat until ready=true
Set your own bundle id first. The default WebDriverAgent bundle id belongs to the author's Apple team. Apple lets each bundle id exist in one team only, so the first build fails until you set wdaBundleId.

The full guide covers phone preparation, signing, the first check and common errors. It is SETUP.md inside the zip.

What is inside

Limits