/pymobiledevice3-device-operator:pymobiledevice3-device-operatorfrom pymobiledevice3-device-operator
Operates iOS and iPadOS devices via pymobiledevice3 CLI using uvx or local checkout. Inspects connected devices, collects logs/crashes, browses files, manages apps and profiles, uses developer services, automates Safari/WebViews, and writes Python scripts against the library.
Ships in pymobiledevice3-device-operator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to translate a user goal into the smallest correct pymobiledevice3 action, then execute it — from a local checkout when one is present, or via the PyPI release (uvx pymobiledevice3) on a fresh workstation — or extend the repo with a thin CLI wrapper when the capability already exists in services.
Inside a pymobiledevice3 checkout, run commands from the repository root with uvx --from . pymobiledevice3 ... so the local checkout is used. On a workstation without a checkout, run uvx pymobiledevice3 ... instead — uvx fetches the released package from PyPI on first use, so nothing needs to be installed beforehand except uv itself (uv tool install pymobiledevice3 gives a persistent install). Everywhere this skill's references show uvx --from . pymobiledevice3 ..., drop the --from . when there is no checkout. Fall back to python3 -m pymobiledevice3 ... only if uvx is unavailable or the user explicitly wants the current interpreter environment.
If uv itself is missing, bootstrap one of the two paths first (neither needs root):
curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or
powershell -c "irm https://astral.sh/uv/install.ps1 | iex" (Windows), then use uvx as above.python3 -m pip install -U pymobiledevice3, then run
python3 -m pymobiledevice3 ... everywhere the references show uvx ... pymobiledevice3 ....
If pip refuses with externally-managed-environment (PEP 668 — Debian/Ubuntu, Homebrew
Python, Fedora), create a venv instead of forcing it:
python3 -m venv ~/.pmd3-venv && ~/.pmd3-venv/bin/pip install -U pymobiledevice3, then use
~/.pmd3-venv/bin/pymobiledevice3 .... Never use --break-system-packages.Start with the least invasive command that proves connectivity or surfaces missing prerequisites:
uvx --from . pymobiledevice3 usbmux list
uvx --from . pymobiledevice3 lockdown info
Prefer existing CLI commands first. Prefer reading local docs and CLI source over invoking --help. Only write code when the library already exposes the underlying service but lacks the exact CLI/API path needed.
references/transport-and-safety.md.docs/guides/cli-recipes.md, pymobiledevice3/__main__.py, and the relevant CLI module under pymobiledevice3/cli/. Use rg to locate command names, options, and transport flags quickly. Without a checkout, use --help discovery and the published docs (https://doronz88.github.io/pymobiledevice3/) instead.uvx --from . pymobiledevice3 <group> --help only as a fallback when code and docs are ambiguous, or as a final verification step before suggesting an exact command to the user.ServiceProviderDep, @async_command, and a service class under pymobiledevice3/services/ — commands live on an InjectingTyper app (from typer_injector). Read docs/guides/writing-commands-with-service-provider.md.Prefer machine-readable output over scraping human text — the contract is documented in
docs/guides/machine-readable-output.md (published on the docs site):
{"$hex": "..."} objects (decode with bytes.fromhex); timestamps are ISO 8601.dvt energy/notifications/graphics, diagnostics battery monitor,
notification observe/observe-all) always; human-rendered streams (syslog live,
dvt oslog, dvt netstat, accessibility notifications, crash watch) with
--format json.Require explicit user intent before any command that changes device state, including:
Do not invent prerequisites. If a developer service fails, inspect developer-mode, DDI, and tunnel requirements before changing code.
Do not expose or commit pair records, crash artifacts, backups, or other device-identifying material.
Read references/quick-recipes.md for the exact invocation of the most common tasks
(screenshot, syslog search, crash pull, file copy, app listing) and for the
syslog-first troubleshooting technique.
Read references/python-scripting.md before writing Python code against the library —
the API went async incrementally over many releases, so memorized/older API shapes are
usually stale.
Read references/task-map.md when you need to map a user goal to a command group or service module.
Read references/transport-and-safety.md when the task touches iOS 17+ developer services, tunnels, --rsd, --tunnel, or destructive operations.
These paths are relative to a pymobiledevice3 checkout; without one, use the published
docs site (https://doronz88.github.io/pymobiledevice3/) and --help output instead.
docs/guides/cli-recipes.md for common end-user commandsdocs/guides/ios17-tunnels.md for tunnel setup and --rsd usagedocs/guides/writing-commands-with-service-provider.md for repo-native command additionspymobiledevice3/__main__.py for top-level CLI groupspymobiledevice3/cli/cli_common.py for transport resolution and dependency injectionWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub doronz88/pymobiledevice3 --plugin pymobiledevice3-device-operatorOther plugins' skills for the same job