Communitygithub.com

Lord1Egypt/awesome-skill-forge

通过 macOS 上的 FindMy.app 追踪 Apple 设备与 AirTag。

awesome-skill-forge 是什么?

此技能让 AI 助手能通过 macOS 上的 FindMy.app 追踪 Apple 设备(如 iPhone、iPad、Mac、AirPods)和 AirTag 的位置。由于 Apple 未提供命令行接口(CLI),该技能利用 AppleScript 自动化操作 Find My 应用,并通过截屏捕获界面内容,再使用视觉分析能力(如 vision_analyze)读取设备位置信息。它支持基本的截屏导航和更可靠的 Peekaboo UI 自动化工具(推荐安装)。用户可查询设备位置、切换设备/物品标签页,甚至实现周期性追踪以记录 AirTag 的移动路径。该技能适用于 macOS 系统,需预先登录 iCloud 并授予屏幕录制权限。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Lord1Egypt/awesome-skill-forge/tree/HEAD/skills/findmy

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

查找我的(Apple)

通过 macOS 上的 FindMy.app 追踪 Apple 设备和 AirTag。由于 Apple 未提供 FindMy 的 CLI,此技能使用 AppleScript 打开应用并通过截屏读取设备位置。

前提条件

  • macOS,已登录 iCloud 并安装“查找我的”应用
  • 设备/AirTag 已在“查找我的”中注册
  • 为终端授予屏幕录制权限(系统设置 → 隐私与安全性 → 屏幕录制)
  • 可选但推荐:安装 peekaboo 以获得更好的 UI 自动化: brew install steipete/tap/peekaboo

使用时机

  • 用户询问“我的 [设备/猫/钥匙/包] 在哪里?”
  • 追踪 AirTag 位置
  • 查看设备位置(iPhone、iPad、Mac、AirPods)
  • 随时间监控宠物或物品移动(AirTag 巡逻路线)

方法 1:AppleScript + 截屏(基础)

打开“查找我的”并导航

# 打开“查找我的”应用
osascript -e 'tell application "FindMy" to activate'

# 等待加载
sleep 3

# 截取“查找我的”窗口
screencapture -w -o /tmp/findmy.png

然后使用 vision_analyze 读取截屏:

vision_analyze(image_url="/tmp/findmy.png", question="显示了哪些设备/物品?它们的位置在哪里?")

切换标签页

# 切换至“设备”标签页
osascript -e '
tell application "System Events"
    tell process "FindMy"
        click button "Devices" of toolbar 1 of window 1
    end tell
end tell'

# 切换至“物品”标签页(AirTag)
osascript -e '
tell application "System Events"
    tell process "FindMy"
        click button "Items" of toolbar 1 of window 1
    end tell
end tell'

方法 2:Peekaboo UI 自动化(推荐)

如果已安装 peekaboo,可用它进行更可靠的 UI 交互:

# 打开“查找我的”
osascript -e 'tell application "FindMy" to activate'
sleep 3

# 捕获并标注 UI
peekaboo see --app "FindMy" --annotate --path /tmp/findmy-ui.png

# 通过元素 ID 点击特定设备/物品
peekaboo click --on B3 --app "FindMy"

# 捕获详情视图
peekaboo image --app "FindMy" --path /tmp/findmy-detail.png

然后使用视觉分析:

vision_analyze(image_url="/tmp/findmy-detail.png", question="此设备/物品显示的位置是什么?包括地址和坐标(如果可见)。")

工作流:随时间追踪 AirTag 位置

用于监控 AirTag(例如追踪猫的巡逻路线):

# 1. 打开“查找我的”至“物品”标签页
osascript -e 'tell application "FindMy" to activate'
sleep 3

# 2. 点击 AirTag 物品(停留在页面——AirTag 仅在页面打开时更新)

# 3. 定期捕获位置
while true; do
    screencapture -w -o /tmp/findmy-$(date +%H%M%S).png
    sleep 300  # 每 5 分钟
done

使用视觉分析器分析每张截屏以提取坐标,然后编译路线。

局限性

  • FindMy 没有 CLI 或 API——必须使用 UI 自动化
  • AirTag 仅在“查找我的”页面处于活动显示状态时更新位置
  • 位置精度取决于查找网络中的附近 Apple 设备
  • 需要屏幕录制权限才能截屏
  • AppleScript UI 自动化在不同 macOS 版本间可能失效

规则

  1. 追踪 AirTag 时将“查找我的”应用保持在前台(最小化时更新停止)
  2. 使用 vision_analyze 读取截屏内容——不要尝试解析像素
  3. 对于持续追踪,使用 cron 作业定期捕获并记录位置
  4. 尊重隐私——仅追踪用户拥有的设备/物品

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a insurance agency. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generates a complete landing page with copy, layout, hero image, and responsive design from a text description. Use when launching a product quickly.

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a family law practice. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a fractional CFO firm. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a home remodeling company. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a HVAC service company. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a immigration law firm. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a CPA tax advisory firm. Use when handling offer...

Lord1Egypt/awesome-skill-forge

Generate a conversion-focused landing page that compares offers, pricing cues, and trust signals for a estate planning law firm. Use when handling...

Lord1Egypt/awesome-skill-forge

Fastest way to create or update a pawr.link profile. One curl command, $19 USDC to create, $0.10 to update. Patch-style update-links endpoint lets you add, remove, or move individual links without replacing the whole profile.

Lord1Egypt/awesome-skill-forge

Use this skill when the user wants to review today, look back on yesterday, reflect on this week, or wrap things up with a gentle, low-pressure reflection.

Lord1Egypt/awesome-skill-forge

Read-only queue dashboard for workspace-aware ship. (gstack)

Lord1Egypt/awesome-skill-forge

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and conversion rate potential. Use when user says landing page, post-click experience, landing page audit, LP audit, conversion rate, landing page CRO, post-click CRO, or landing page optimization.

Lord1Egypt/awesome-skill-forge

Create HTML-based video compositions, animated title cards, social overlays, captioned talking-head videos, audio-reactive visuals, and shader transitions using HyperFrames. HTML is the source of truth for video. Use when the user wants a rendered MP4/WebM from an HTML composition, wants to animate text/logos/charts over media, needs captions synced to audio, wants TTS narration, or wants to convert a website into a video.

Lord1Egypt/awesome-skill-forge

Search arXiv papers by keyword, author, category, or ID.

Lord1Egypt/awesome-skill-forge

Delegate coding to OpenAI Codex CLI (features, PRs).

Lord1Egypt/awesome-skill-forge

Jailbreak LLMs: Parseltongue, GODMODE, ULTRAPLINIAN.

Lord1Egypt/awesome-skill-forge

Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.

Lord1Egypt/awesome-skill-forge

Notion API + ntn CLI: pages, databases, markdown, Workers.

Lord1Egypt/awesome-skill-forge

p5.js sketches: gen art, shaders, interactive, 3D.

相关技能