findmy-location
Track a shared contact's location via Apple Find My with street-level accuracy. Returns address, city, and context (home/work/out) by reading map landmarks. Supports configurable known locations and vision fallback for unknown places.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- findmy-location
- description
- Track a shared contact's location via Apple Find My with street-level accuracy. Returns address, city, and context (home/work/out) by reading map landmarks. Supports configurable known locations and vision fallback for unknown places.
02 资源文件 3
- 脚本findmy-location.py4.6 KB
- 脚本install.sh707 B
- 参考文档README.md4.1 KB
03 SKILL.md 正文
Find My Location
Track shared contacts via Apple Find My with street-corner accuracy.
Requirements
- macOS 13+ with Find My app
- Python 3.9+
- iCloud account signed in on your Mac (for Find My access)
- Location sharing enabled from the contact you want to track
- peekaboo - screen reading CLI (GitHub)
- Hammerspoon (optional) - for reliable UI clicking (hammerspoon.org)
Prerequisites
1. iCloud & Find My Setup
Your Mac must be signed into an iCloud account with Find My enabled:
- System Settings → Apple ID → iCloud → Find My Mac (enabled)
- The person you want to track must share their location with this iCloud account via Find My
2. Install peekaboo
brew install steipete/tap/peekaboo
Grant Accessibility and Screen Recording permissions when prompted (System Settings → Privacy & Security).
3. Install Hammerspoon (optional but recommended)
Hammerspoon provides reliable clicking that works across all apps. Without it, clicks may occasionally go to the wrong window.
brew install hammerspoon
open -a Hammerspoon
Add to ~/.hammerspoon/init.lua:
local server = hs.httpserver.new(false, false)
server:setPort(9090)
server:setCallback(function(method, path, headers, body)
local data = body and hs.json.decode(body) or {}
if path == "/click" then
hs.eventtap.leftClick({x=data.x, y=data.y})
return hs.json.encode({status="clicked", x=data.x, y=data.y}), 200, {}
end
return hs.json.encode({error="not found"}), 404, {}
end)
server:start()
Reload config (Hammerspoon menu → Reload Config), then create ~/.local/bin/hsclick:
#!/bin/bash
curl -s -X POST localhost:9090/click -d "{\"x\":$2,\"y\":$3}"
chmod +x ~/.local/bin/hsclick
Installation
git clone https://github.com/poiley/findmy-location.git
cd findmy-location
./install.sh
Or via ClawdHub:
clawdhub install findmy-location
Configuration
Create ~/.config/findmy-location/config.json:
{
"target": "John",
"known_locations": [
{
"name": "home",
"address": "123 Main St, City, ST",
"markers": ["landmark near home"]
},
{
"name": "work",
"address": "456 Office Blvd, City, ST",
"markers": ["landmark near work"]
}
]
}
| Field | Description |
|---|---|
target |
Contact name to track (optional - defaults to first shared contact) |
known_locations |
Array of places you want labeled with addresses |
markers |
Landmarks visible on the Find My map when at that location |
Usage
findmy-location # Human-readable output
findmy-location --json # JSON output
Example Output
123 Main St, City, ST (home) - Now
{
"person": "contact@email.com",
"address": "Main St & 1st Ave",
"city": "Anytown",
"state": "WA",
"status": "Now",
"context": "out",
"screenshot": "/tmp/findmy-12345.png",
"needs_vision": false
}
| Field | Description |
|---|---|
context |
home, work, out, or unknown |
needs_vision |
If true, use AI vision on screenshot to read street names |
screenshot |
Path to captured map image |
How It Works
- Opens Find My app and selects target contact
- Captures map and reads accessibility data
- Matches visible landmarks against configured known locations
- Returns address and context, or flags for vision analysis
Troubleshooting
| Issue | Solution |
|---|---|
| Clicks go to wrong window | Install Hammerspoon (see prerequisites) |
| "No person found" | Ensure location sharing is enabled in Find My |
Always shows needs_vision: true |
Add markers for frequently visited places |
| Permission errors | Grant peekaboo Accessibility + Screen Recording access |
License
MIT
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.