Skip to content
Back to skills

Iphone Control

ASecurity

Control a real iPhone or iPad over USB or Wi-Fi through the iphone-control MCP server. Use whenever automating iOS/iPadOS UI, inspecting elements or screenshots, scrolling lists, typing text, handling alerts, debugging app logs/crashes, or inspecting WKWebView/Safari pages on a real device.

  • 301 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 28, 2026
ai-agentsdebugging

Works with

  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add Derrors/iphone-control --skill iphone-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Iphone Control?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Iphone Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/derrors-iphone-control/badge)](https://www.skillsdirectory.com/skills/derrors-iphone-control)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: iphone-control
description: Control a real iPhone or iPad over USB or Wi-Fi through the iphone-control MCP server. Use whenever automating iOS/iPadOS UI, inspecting elements or screenshots, scrolling lists, typing text, handling alerts, debugging app logs/crashes, or inspecting WKWebView/Safari pages on a real device.
---

# Driving a Real iPhone / iPad with `iphone-control`

`iphone-control` controls a physical iPhone or iPad via a single daemon (`iphone-control daemon`) over USB or Wi-Fi (or multiple devices in parallel via named instances). Coordinates are always in **screen points (pt)**, matching the pixel coordinates of a full-screen `iphone_screenshot` image and rotating automatically with the device.

## Core Loop

1. **Inspect before acting.** Start with `iphone_status` (if device state is unknown) or `iphone_list_elements` / `iphone_screenshot`.
2. **Choose the right observation tool:**
   - Standard iOS UI (Settings, lists, forms, dialogs): `iphone_list_elements` — faster and uses far fewer tokens than screenshots.
   - Games, maps, video, custom canvases, icons without text, or whenever `iphone_list_elements` reports an **incomplete** tree: `iphone_screenshot` (and zoom into small targets with `x`, `y`, `width`, `height`).
3. **Prefer semantic targeting over coordinates.** Use `iphone_tap_element` with `text`, and disambiguate duplicate labels with `kind`, `id`, or `match` (`exact` / `contains`). Fall back to `iphone_tap` only for textless icons or canvas views.
4. **Combine readback with `then`.** Pass `then: "elements"` or `then: "screenshot"` on action tools so the daemon waits for the screen to settle and returns the post-action state in one round trip.
5. **Wait instead of polling.** Use `iphone_wait_for` (`state: "appeared"` or `"disappeared"`) instead of looping on `iphone_screenshot`.
6. **Batch predictable sequences.** Use `iphone_batch` for multi-step menu drills, keypad sequences (`one_gesture: true`), or form fills.

## Read References On Demand

Load only the reference file relevant to the current task:

| Situation | Reference |
| --- | --- |
| Ambiguous labels, `kind`/`id`/`match` selectors, long lists, iPad split views, `iphone_batch` | [references/navigation-and-selectors.md](references/navigation-and-selectors.md) |
| Typing CJK/long text, iOS 27 native paste prompt, games/maps zoom & coordinate math | [references/text-and-visual.md](references/text-and-visual.md) |
| Native iOS 27 vs WDA differences, alerts, lock screen, `iphone_app_logs`, crashes, WebView | [references/troubleshooting-and-dev.md](references/troubleshooting-and-dev.md) |

## Safety & Reliability Rules

- **Confirm destructive or external actions first.** Before paying, ordering, transferring money, deleting data, sending messages/emails/posts, or modifying account/password/privacy settings, ask the user (or call `iphone_confirm` when running inside a viewer task).
- **Never blindly retry an unchanged action.** If `then` reports the screen did not change (or repeats 2+ times), take a screenshot to check for an alert, keyboard, overlay, or wrong coordinates before acting again.
- **Respect `delivery` on failures.** When a tool error reports `delivery: "unknown"` or `delivery: "sent"`, inspect the screen before retrying so you do not submit twice.
- **Watch for incomplete reads.** If `iphone_list_elements` or `iphone_tap_element` warns that the accessibility walk hit the element limit or timed out (`incomplete: true`), do not assume a missing label is absent—verify with `iphone_screenshot` or narrow down after scrolling.
- **Multi-device awareness.** Only one device is active at a time; check `iphone_list_devices` and switch with `iphone_select_device` if needed.

Files in this skill

  • SKILL.md3.6 KB
  • evals/evals.json1.8 KB
  • references/navigation-and-selectors.md2.8 KB
  • references/text-and-visual.md2.4 KB
  • references/troubleshooting-and-dev.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.