← 返回 Skills 市场
poiley

Find My Location

作者 Benjamin Poile · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
2948
总下载
5
收藏
6
当前安装
4
版本数
在 OpenClaw 中安装
/install 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.
使用说明 (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": "[email protected]",
  "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

安全使用建议
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 process could call that endpoint to simulate clicks. If you don't need Hammerspoon, skip adding that server and rely on peekaboo clicks instead. - The installer creates ~/.config/findmy-location/config.json and a symlink in ~/.local/bin; inspect install.sh and findmy-location.py yourself before running them. The repository source in the instructions points to github.com/poiley/findmy-location.git but the skill metadata lists source: unknown — verify the upstream repo and its commit history before trusting. - The script saves screenshots to /tmp and may read optional local files (~/clawd/USER.md, ~/USER.md) to infer a target name; check these files for sensitive information and consider the privacy implications of storing images in /tmp. - Legal/ethical: this tool locates shared contacts via Apple Find My. Ensure you have the contact's consent and that use complies with applicable laws and policies. If you decide to proceed: review the code, skip or harden the Hammerspoon step (e.g., require a secret or bind to a local UNIX socket), and keep the tool restricted to a trusted machine.
功能分析
Type: OpenClaw Skill Name: findmy-location Version: 1.1.1 The skill is classified as suspicious due to its reliance on high-privilege system access and broad data capture capabilities. It requires `peekaboo` which needs Accessibility and Screen Recording permissions, enabling full UI automation and the capture of full-screen screenshots (`peekaboo image --mode screen --screen-index 0`) saved to `/tmp`. While these actions are described as necessary for its stated purpose of tracking location via Apple Find My, the ability to capture the entire screen is a significant privacy risk, as it could inadvertently expose sensitive information from other applications. Additionally, the script attempts to read `USER.md` from various paths (e.g., `~/clawd/USER.md`) to extract a target name, which is a broad file access pattern for a specific piece of information. No clear malicious intent (like exfiltration or persistence) is observed, but the extensive permissions and data capture scope make it suspicious.
能力评估
Purpose & Capability
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.
Instruction Scope
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.md files to infer a target; these are legitimate for the task but are privacy-sensitive and increase local attack surface.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install findmy-location
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /findmy-location 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Add skill description
v1.1.0
Initial public release
v1.0.1
No user-visible changes in this release. - No file or documentation updates detected. - Version incremented without content modifications.
v1.0.0
Release
元数据
Slug findmy-location
版本 1.1.1
许可证
累计安装 6
当前安装数 6
历史版本数 4
常见问题

Find My 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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2948 次。

如何安装 Find My Location?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install findmy-location」即可一键安装,无需额外配置。

Find My Location 是免费的吗?

是的,Find My Location 完全免费(开源免费),可自由下载、安装和使用。

Find My Location 支持哪些平台?

Find My Location 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Find My Location?

由 Benjamin Poile(@poiley)开发并维护,当前版本 v1.1.1。

💬 留言讨论