Communitygithub.com

Lord1Egypt/awesome-skill-forge

透過 macOS 上的「尋找」App 追蹤 Apple 裝置與 AirTag。

awesome-skill-forge 是什麼?

此技能可讓 AI 代理人透過 macOS 上的「尋找」App 追蹤 Apple 裝置與 AirTag 的位置。由於 Apple 未提供命令列介面(CLI),此技能利用 AppleScript 自動化操作及螢幕截圖,來讀取裝置的定位資訊。支援 macOS 平台,並建議安裝 `peekaboo` 以獲得更穩定的 UI 互動體驗。技能提供兩種方法:基本版使用 AppleScript 搭配 `screencapture`,進階版則使用 `peekaboo` 進行可靠的 UI 點擊與圖像擷取。此外,還包含一個定時追蹤工作流程,特別適合用於監控 AirTag 的移動路線(例如寵物巡邏)。最終會透過 `vision_analyze` 分析螢幕截圖以提取地址或座標。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

尋找(Apple)

透過 macOS 上的「尋找」App 追蹤 Apple 裝置與 AirTag。由於 Apple 未提供「尋找」功能的命令列介面,此技能使用 AppleScript 開啟 App,再以螢幕截圖讀取裝置位置。

先決條件

  • macOS 系統,已安裝「尋找」App 並登入 iCloud
  • 裝置/AirTag 已於「尋找」中註冊
  • 為終端機授予「螢幕錄製」權限(系統設定 → 隱私權 → 螢幕錄製)
  • 選擇性但建議:安裝 peekaboo 以獲得更好的 UI 自動化效果: brew install steipete/tap/peekaboo

何時使用

  • 使用者問「我的[裝置/貓咪/鑰匙/包包]在哪裡?」
  • 追蹤 AirTag 位置
  • 檢查裝置位置(iPhone、iPad、Mac、AirPods)
  • 隨時間監控寵物或物品的移動(AirTag 巡邏路線)

方法 1:AppleScript + 螢幕截圖(基本)

開啟「尋找」並進行導覽

# 開啟「尋找」App
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 分析:

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

用 vision 分析每張螢幕截圖以提取座標,再彙整出路線。

限制

  • 「尋找」沒有命令列或 API——必須使用 UI 自動化
  • AirTag 僅在「尋找」頁面保持顯示時才會更新位置
  • 位置的準確性取決於「尋找」網路中附近的 Apple 裝置
  • 螢幕截圖需要「螢幕錄製」權限
  • AppleScript UI 自動化可能因 macOS 版本不同而失效

規則

  1. 追蹤 AirTag 時,請將「尋找」App 保持在前景(最小化時會停止更新)
  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.

相關技能