技能详情(站内镜像,无评论)
作者:Benjamin Poile @poiley
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.1.1
统计:⭐ 5 · 2.6k · 6 current installs · 6 all-time installs
⭐ 5
安装量(当前) 6
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:findmy-location
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
The skill's code, instructions, and requirements are consistent with its stated purpose (automating Apple Find My via accessibility tooling), but it requires sensitive macOS permissions and recommends running an unauthenticated local Hammerspoon HTTP endpoint — review those privacy/security implications before installing.
目的
Name and description (Find My integration, street-level accuracy) align with the provided files and instructions: the Python tool uses peekaboo and optional Hammerspoon to control the Find My app, capture screenshots, and match landmarks against a user config. No unrelated cloud credentials, binaries, or services are requested.
说明范围
Most runtime steps are within scope (open Find My, capture accessibility data, screenshot, match landmarks). However SKILL.md recommends installing a Hammerspoon config that starts an unauthenticated local HTTP server on port 9090 to receive click commands — this exposes a local RPC that any local process could call to simulate clicks. The instructions also ask for Accessibility and Screen Recording permissions and advise reading optional USER…
安装机制
No remote or obfuscated install artifacts in the registry. SKILL.md recommends brew-installed binaries (peekaboo, hammerspoon) from known taps and includes a simple install.sh that symlinks the script to ~/.local/bin and creates a config in ~/.config/findmy-location — standard, low-risk operations. The registry metadata lacked an explicit install spec but the shipped install.sh is straightforward.
证书
The skill requests no environment variables or external credentials. It does require an iCloud account signed into the Mac and the target sharing location via Find My (expected). The script will read optional local files (e.g., ~/clawd/USER.md, ~/USER.md) to infer a target name — this is minor scope creep and worth noting if those files contain sensitive info.
持久
The skill does not request elevated platform privileges in the registry (always:false). install.sh writes a symlink into ~/.local/bin and a config in ~/.config/findmy-location (normal). The primary persistence concern is the recommended Hammerspoon config which, if installed and left running, provides a persistent, unauthenticated local HTTP endpoint that could be abused by other local processes to simulate clicks.
综合结论
Before installing, consider the following: - This tool automates the macOS Find My app and requires Screen Recording + Accessibility permissions; granting those to tools can expose sensitive screen data and UI control—only grant them if you trust the code. - The README/SKILL.md recommends adding a Hammerspoon script that starts an unauthenticated HTTP server on localhost (port 9090) to accept click commands. If you enable that, any local proce…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Find My Location」。简介:Track a shared contact's location via Apple Find My with street-level accuracy.…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/poiley/findmy-location/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
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.
---
# 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](https://github.com/steipete/peekaboo))
- **Hammerspoon** (optional) - for reliable UI clicking ([hammerspoon.org](https://www.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
```bash
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.
```bash
brew install hammerspoon
open -a Hammerspoon
```
Add to `~/.hammerspoon/init.lua`:
```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`:
```bash
#!/bin/bash
curl -s -X POST localhost:9090/click -d "{"x":$2,"y":$3}"
chmod +x ~/.local/bin/hsclick
```
## Installation
```bash
git clone https://github.com/poiley/findmy-location.git
cd findmy-location
./install.sh
```
Or via ClawdHub:
```bash
clawdhub install findmy-location
```
## Configuration
Create `~/.config/findmy-location/config.json`:
```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
```bash
findmy-location # Human-readable output
findmy-location --json # JSON output
```
### Example Output
```
123 Main St, City, ST (home) - Now
```
```json
{
"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
1. Opens Find My app and selects target contact
2. Captures map and reads accessibility data
3. Matches visible landmarks against configured known locations
4. 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