본문으로 건너뛰기
cccskills
무료GitHub에 공개

findmy

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Find My(Apple)

Harness-agent 工具

本技能从 Octop 移植。使用以下 harness/deepagents 工具:

概念工具
Shellexecute
读/写/编辑文件read_file, write_file, edit_file
查找文件/搜索内容glob, grep
获取 URLweb_fetch
浏览器自动化browser_use
子代理工作task
记忆memory_store, memory_recall, memory_search

内置技能文件位于 /_builtin_skills/<name>/。用户安装的技能位于 /skills/<name>/。

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

先决条件

  • macOS 带 Find My 应用并已登录 iCloud
  • 设备/AirTag 已在 Find My 中注册
  • 终端的屏幕录制权限(系统设置 → 隐私 → 屏幕录制)
  • 可选但推荐:安装 peekaboo 以获得更好的 UI 自动化: brew install steipete/tap/peekaboo

何时使用

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

方法 1:AppleScript + 截图(基本)

打开 FindMy 并导航

# 打开 Find My 应用
osascript -e 'tell application "FindMy" to activate'

# 等待加载
sleep 3

# 截取 Find My 窗口的截图
screencapture -w -o /tmp/findmy.png

然后使用 read_file 读取截图路径(需要配置多模态模型):

read_file("/tmp/findmy.png")

在回复中描述图像内容中的设备和位置。

切换标签页

# 切换到设备标签
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 交互:

# 打开 Find My
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

然后使用视觉分析:

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

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

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

# 1. 打开 FindMy 到物品标签
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 仅在 FindMy 页面主动显示时更新位置
  • 位置准确性取决于 FindMy 网络中附近的 Apple 设备
  • 截图需要屏幕录制权限
  • AppleScript UI 自动化可能在不同 macOS 版本间中断

规则

  1. 追踪 AirTag 时保持 FindMy 应用在前台(最小化时更新停止)
  2. 使用 read_file 读取截图内容——不要尝试解析像素
  3. 对于持续追踪,使用 cronjob 定期捕获并记录位置
  4. 尊重隐私——只追踪用户拥有的设备/物品

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

通过 memo CLI 管理 Apple Notes:创建、搜索、编辑。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

Manage Apple Notes via memo CLI: create, search, edit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

通过 remindctl 在 macOS 上管理 Apple Reminders——列出、添加、编辑、完成、 删除同步到 iPhone/iPad 的待办事项。在提及"提醒"、"Reminders app"、 需要手机同步的"提醒我"或添加带截止日期的个人待办事项时触发。macOS only。 当用户需要代理内部提醒(使用 memory_store 或外部 调度)或日历事件时跳过。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

Manage Apple Reminders on macOS via remindctl — list, add, edit, complete, delete to-dos that sync to iPhone/iPad. Trigger on "reminder", "Reminders app", "提醒我" with phone sync, or adding personal todos with due dates. macOS only. Skip when the user wants agent-internal alerts (use memory_store or external scheduling) or calendar events.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

暗色主题的 SVG 架构/云/基础设施图表,输出为 HTML。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

TencentCloud의 스킬 모두 보기

이 스킬의 문제 신고