iphone-mirroring
Skill0 starsChanged 9 days agoMITView on GitHub
Read and navigate iPhone Mirroring: state, screenshots, View menu; input goes via OpenCUA. Use for the iPhone from the Mac. Not for calls (phone-facetime).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- trac3r00/agent-skillsword for word, first seen Nov 29, 2026
- matheusm/iphone-mirroring-skilltheir own version, first seen Nov 15, 2026
Other versions2 projects use a version of this.
Word for word · 1
- trac3r00/agent-skills★ 0100% same
Edited · 0
None found.
Wrote their own version · 1
- matheusm/iphone-mirroring-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository84 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- 3d-designSkill
- anti-bsSkill
- api-testerSkill
- apple-homeSkill
- apple-suiteSkill
- apple-tvSkill
- apps-handoffSkill
- appshotSkill
- astra-initSkill
- browser-asideSkill
- changelog-genSkill
- ci-test-rebuildSkill
- claim-auditSkill
- claude-designSkill
- cleanup-worktreesSkill
- code-reviewSkill
- comment-checkerSkill
- context-budgetSkill
- create-skillsSkill
- cron-auditSkill
- cyber-bypassSkill
- dftSkill
- diff-reviewSkill
- discord-messengerSkill
- doc-readerSkill
- env-gateSkill
- ext-scaffoldSkill
- fddSkill
- finderSkill
- finish-prSkill
- game-filmSkill
- gate-graphSkill
- graph-toolsSkill
- herdrSkill
- image-genSkill
- init-readmeSkill
- init-rulesSkill
- json-diffSkill
- kakao-messengerSkill
- karpathy-promptSkill
- loeSkill
- log-analyzerSkill
- macos-settingsSkill
- max-buildSkill
- mofficeSkill
- net-probeSkill
- notionSkill
- obsidian-vaultSkill
- omo-runnerSkill
- open-loopsSkill
- optimize-omo-configSkill
- phone-facetimeSkill
- portfolio-auditSkill
- preflightSkill
- project-sessionsSkill
- prompt-builderSkill
- pro-reviewSkill
- proxmox-veSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Use the script for reading and View-menu navigation (Accessibility only, no synthetic input):
- Distinctive: line 51
Do one action (menu navigation here, input via OpenCUA), then screenshot again to confirm.
- Distinctive: line 52
Stop when the screenshot shows the requested end state, or after one failed retry.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iPhone Mirroring
iPhone Mirroring (macOS 15+) shows the phone in a Mac window but ships no
AppleScript dictionary. This skill reads its window through the Accessibility
API, presses its own View menu for navigation, and posts CoreGraphics
mouse/keyboard events for taps, swipes and keys (stdlib ctypes, no pyobjc).
The mirrored screen is only pixels, so look before you tap: take a
screenshot, read it, then act.
Commands
Use the script for reading and View-menu navigation (Accessibility only, no synthetic input):
python3 scripts/iphone_mirroring.py --json status # state, device, on-screen message, window frame
python3 scripts/iphone_mirroring.py open [--wait 20] # bring forward, wait for a settled state
python3 scripts/iphone_mirroring.py retry [--wait 20] # press "Try Again" / "Connect" / "Resume" after not_found, timed_out or paused
python3 scripts/iphone_mirroring.py screenshot --out "$SCRATCH/iphone.png"
python3 scripts/iphone_mirroring.py home # View > Home Screen
python3 scripts/iphone_mirroring.py app-switcher # View > App Switcher
python3 scripts/iphone_mirroring.py spotlight # View > SpotlightTaps, scrolling, typing, keys and app launches go through the opencua
skill (OpenCUA, formerly apple-cua; CLI opencua ios, "Control an iPhone through iPhone Mirroring").
The user forbids ad-hoc input scripts and OmO's native computer-use, so don't
use this script's tap, scroll, type, key or launch; they post raw
CoreGraphics events. Read opencua ios --help for its subcommands before the
first input; this skill doesn't restate them.
Working loop
status: act only whenstateisconnected. Other states areconnecting,not_found,timed_out,paused,in_use(unlocked and in use; mirroring needs it locked),needs_unlock,needs_auth,disconnected,error,no_windowandunknown;messagecarries the app's text. Fornot_found,timed_outorpaused, runretryonce, then report.screenshot --outand read the image. On Retina the PNG is 2x the window's point size (window.widthxwindow.heightfromstatus).- Do one action (menu navigation here, input via OpenCUA), then screenshot again to confirm.
- Stop when the screenshot shows the requested end state, or after one failed retry.
Boundaries
- Everything except
statusandscreenshotacts on the real phone. Stay inside what the user asked for; confirm before anything that sends, purchases, deletes, or changes settings, and never enter passcodes. - Navigation commands exit
1with the currentstatuswhen the phone is not mirrored. - The Mac user must be the one paired with the iPhone. The phone must be nearby, locked, and not in use; the Mac may ask for Touch ID or its password on connect, and only a person can approve that.
Setup and exit codes
- macOS 15+ with iPhone Mirroring set up once by hand. The process running the
script needs Accessibility (reading the window and menu presses) and Screen
Recording (
screenshot) under System Settings > Privacy & Security. 0success,1app-level failure (not connected, menu item disabled, capture failed),2usage, permission, or non-macOS.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

