apple-find
Skill2 starsChanged 8 months agoMITView on GitHub
Query Apple Find (Find My) network to locate Apple devices, check their status, and get location information. Use when user mentions Find My, Find My iPhone, Find My Mac, tracking Apple devices, or locating lost Apple devices.
- Reads credentials
- Installs packages
In this repository5 other files it gives its agents.
- classchartsSkill
- classdojoSkill
- cursor-agentSkill
- hivehomeSkill
- kpsdSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 149
What stays local: All credentials should be stored in environment variables, never hardcoded.
- Distinctive: line 150
App-specific passwords: Always use app-specific passwords, never your main Apple ID password.
- Distinctive: line 156
Verify your Apple ID and password are correct
- Distinctive: line 157
If 2FA is enabled, use an app-specific password
- Distinctive: line 158
Check that Find My is enabled on your device
- Distinctive: line 163
Check the device name matches exactly (case-sensitive)
≈ “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
Apple Find
Query the Apple Find My network to locate Apple devices associated with your iCloud account. This skill uses the findmy npm package to interact with Apple's Find My service.
Important: This skill uses community-maintained libraries that interact with Apple's unofficial Find My API. Use responsibly and never hardcode credentials.
Quick Start
# Install dependencies
cd /path/to/apple-find && npm install
# List devices
node index.js list
# Get location of a specific device
node index.js location "iPhone"
# Get status of all devices
node index.js statusRequired Environment Variables
| Variable | Description |
APPLE_ID | Your Apple ID email (iCloud email) |
APPLE_PASSWORD | Your Apple ID password or app-specific password |
For 2FA accounts: Generate an app-specific password at appleid.apple.com and use that as APPLE_PASSWORD.
Set these in your shell or in OpenClaw's skill config (~/.openclaw/openclaw.json under skills.entries.apple-find.env).
CLI Commands
list - List all devices
node index.js listReturns a list of all devices associated with your iCloud account, including:
- Device name (as set in Find My)
- Device model
- Device ID
- Online/offline status
location [deviceName] - Get device location
# Location of specific device
node index.js location "iPhone"
# Location of all devices
node index.js location --allReturns:
- Latitude and longitude
- Timestamp of last location update
- Address (if available)
- Accuracy
status - Full device status
node index.js status
node index.js status "iPhone"Returns detailed status including:
- Battery level
- Online/offline status
- Last seen timestamp
- Location coordinates
- Device model
play-sound [deviceName] - Play sound on device
node index.js play-sound "iPhone"Plays a sound on the specified device (requires device to be online).
lost-mode [deviceName] - Enable Lost Mode
node index.js lost-mode "iPhone" --phone "1234567890"Enables Lost Mode and optionally sets a phone number to display on the device.
When to use this skill
- User asks to locate an Apple device (iPhone, iPad, Mac, AirPods, Apple Watch)
- User wants to check if a device is online or offline
- User needs to find the last known location of a lost device
- User wants to play a sound on a device to locate it
- User mentions "Find My", "Find My iPhone", or "Find My Mac"
Authentication
The skill uses the findmy npm package which communicates with Apple's Find My API. First-time login may require 2FA if enabled on the Apple ID.
Generating an App-Specific Password
- Go to https://appleid.apple.com
- Sign in with your Apple ID
- Navigate to "Sign-In and Security" → "App-Specific Passwords"
- Generate a new password and use it as
APPLE_PASSWORD
Architecture
apple-find/
├── SKILL.md # This file
├── index.js # Main entry point with CLI
├── package.json # Dependencies
├── lib/
│ └── findmy.js # Find My API wrapper
└── tests/
└── findmy.test.js # Unit testsExternal Endpoints
This skill makes requests to Apple's Find My service. No data is sent to third-party servers.
| Purpose | Endpoint | Data sent |
| Authentication | icloud.com | Apple ID credentials |
| Find My API | fmip.icloud.com | Device location requests |
| Location data | Apple Maps | Reverse geocoding (optional) |
Security and Privacy
- What leaves the machine: Apple ID credentials and device location queries are sent to Apple's servers.
- What stays local: All credentials should be stored in environment variables, never hardcoded.
- App-specific passwords: Always use app-specific passwords, never your main Apple ID password.
- Autonomous invocation: The agent may invoke this skill when the user asks about device locations or Find My.
Troubleshooting
"Authentication failed"
- Verify your Apple ID and password are correct
- If 2FA is enabled, use an app-specific password
- Check that Find My is enabled on your device
"Device not found"
- The device may be offline (no connection for 7+ days)
- The device may not have Find My enabled
- Check the device name matches exactly (case-sensitive)
"Location unavailable"
- Device is offline or in AirPlane Mode
- Location Services disabled on device
- Device has location sharing turned off
References
- FindMy.py (Python reference): https://github.com/malmeloo/FindMy.py
- Alternative Node.js library: https://github.com/liamnichols/icloud-findmy
- Community Find My implementation: https://github.com/loganprit/apple-find-my-local
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.

