findmy — Claude Code skill: what it does, how to install
Tracks Apple devices and AirTags via the macOS Find My app. Useful when you need to locate misplaced gear or monitor movement routes from the terminal.
npx skills add NousResearch/hermes-agent --skill findmy -a claude-codeWhat findmy does
The skill bridges your agent to the native macOS Find My application. Because Apple provides no CLI or API for Find My, the tool uses AppleScript to launch the app and take screenshots with screencapture. Location coordinates and addresses are then extracted with vision_analyze.
For reliable element clicking, you can install the optional peekaboo utility via Homebrew. Tracking AirTags over time requires keeping the Find My window active in the foreground. Updates stop once the app is minimized. The AppleScript UI workflow will also fail if macOS lacks Screen Recording permissions for your terminal.
What it helps with
- find the location of an AirTag or misplaced bag
- check the current status of an iPhone, iPad, or Mac
- record an AirTag route over time by capturing periodic screenshots
- switch between the Devices and Items tabs in Find My
Example prompts for the agent
- Where are my keys right now?
- Check the location of my iPad in Find My
- Track my cat's AirTag location every five minutes
How to install findmy
1Skills CLI (Vercel)
npx skills add NousResearch/hermes-agent --skill findmy -a claude-code2Manually: put the files in place
~/.claude/skills/findmy/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/findmy/
1Skills CLI (Vercel)
npx skills add NousResearch/hermes-agent --skill findmy -a codex2Manually: put the files in place
.agents/skills/findmy/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add NousResearch/hermes-agent --skill findmy -a cursor2Manually: put the files in place
.cursor/skills/findmy/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install NousResearch/hermes-agent findmy2Manually: put the files in place
.github/skills/findmy/SKILL.md1Skills CLI (Vercel)
npx skills add NousResearch/hermes-agent --skill findmy -a gemini-cli2Platform CLI
gemini skills install https://github.com/NousResearch/hermes-agent --path skills/apple/findmyManually: put the files in place
.devin/skills/findmy/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add NousResearch/hermes-agent --skill findmy -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set42
The whole set →Similar
Questions about findmy
How do I install findmy in Claude Code?
Run npx skills add NousResearch/hermes-agent --skill findmy -a claude-code in your terminal.
What does the findmy skill do?
It automates the macOS Find My app using AppleScript, captures window screenshots, and extracts device and AirTag coordinates using vision analysis.
What are the system requirements on macOS?
You need macOS with an active iCloud login and Screen Recording permission granted to your terminal. The optional peekaboo tool is recommended for reliable UI clicks.
Source text
SKILL.md · MIT
---
name: findmy
description: "Track Apple devices/AirTags via FindMy.app on macOS."
version: 1.0.0
author: Hermes Agent
license: MIT
platforms: [macos]
metadata:
hermes:
tags: [FindMy, AirTag, location, tracking, macOS, Apple]
---
# 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 ~/.hermes/cache/scratch/findmy.png
```
Then use `vision_analyze` to read the screenshot:
```
vision_analyze(image_url="~/.hermes/cache/scratch/findmy.png", question="What devices/items are shown and what are their locations?")
```
### 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"
click button "Items" of toolbar 1 of window 1
end tell
end tell'
```
## Method 2: Peekaboo UI Automation (Recommended)
If `peekaboo` is installed, use it for more reliable UI interaction:
```bash
# Open Find My
osascript -e 'tell application "FindMy" to activate'
sleep 3
# Capture and annotate the UI
peekaboo see --app "FindMy" --annotate --path ~/.hermes/cache/scratch/findmy-ui.png
# Click on a specific device/item by element ID
peekaboo click --on B3 --app "FindMy"
# Capture the detail view
peekaboo image --app "FindMy" --path ~/.hermes/cache/scratch/findmy-detail.png
```
Then analyze with vision:
```
vision_analyze(image_url="~/.hermes/cache/scratch/findmy-detail.png", question="What is the location shown for this device/item? Include address and coordinates if visible.")
```
## Workflow: Track AirTag Location Over Time
For monitoring an AirTag (e.g., tracking a cat's patrol route):
```bash
# 1. Open FindMy to Items tab
osascript -e 'tell application "FindMy" to activate'
sleep 3
# 2. Click on the AirTag item (stay on page — AirTag only updates when page is open)
# 3. Periodically capture location
while true; do
screencapture -w -o ~/.hermes/cache/scratch/findmy-$(date +%H%M%S).png
sleep 300 # Every 5 minutes
done
```
Analyze each screenshot with vision to extract coordinates, then compile a route.
## Limitations
- FindMy has **no CLI or API** — must use UI automation
- AirTags only update location while the FindMy page is actively displayed
- Location accuracy depends on nearby Apple devices in the FindMy network
- Screen Recording permission required for screenshots
- AppleScript UI automation may break across macOS versions
## Rules
1. Keep FindMy app in the foreground when tracking AirTags (updates stop when minimized)
2. Use `vision_analyze` to read screenshot content — don't try to parse pixels
3. For ongoing tracking, use a cronjob to periodically capture and log locations
4. Respect privacy — only track devices/items the user owns
© Hermes Agent · MIT · NousResearch/hermes-agent