← ClaudeAtlas

findmylisted

Find the location of Apple devices and AirTags via FindMy.app on macOS by driving it with AppleScript and reading screenshots (no CLI/API exists).
aashutosh396/mindpalace · ★ 0 · AI & Automation · score 78
Install: claude install-skill aashutosh396/mindpalace
# Find My (Apple) Track Apple devices and AirTags via the FindMy.app on macOS. Since Apple doesn't provide a CLI for FindMy, this skill uses AppleScript to open the app and screen capture to read device locations. ## Prerequisites - **macOS** with Find My app and iCloud signed in - Devices/AirTags already registered in Find My - Screen Recording permission for terminal (System Settings → Privacy → Screen Recording) - **Optional but recommended**: Install `peekaboo` for better UI automation: `brew install steipete/tap/peekaboo` ## When to Use - User asks "where is my [device/cat/keys/bag]?" - Tracking AirTag locations - Checking device locations (iPhone, iPad, Mac, AirPods) - Monitoring pet or item movement over time (AirTag patrol routes) ## Method 1: AppleScript + Screenshot (Basic) ### Open FindMy and Navigate ```bash # Open Find My app osascript -e 'tell application "FindMy" to activate' # Wait for it to load sleep 3 # Take a screenshot of the Find My window screencapture -w -o /tmp/findmy.png ``` Then read the screenshot with your file-Read tool (it renders images) to see which devices/items are shown and their locations — `/tmp/findmy.png`. ### Switch Between Tabs ```bash # Switch to Devices tab osascript -e ' tell application "System Events" tell process "FindMy" click button "Devices" of toolbar 1 of window 1 end tell end tell' # Switch to Items tab (AirTags) osascript -e ' tell application "System Events" tell process "FindMy"