Communitygithub.com

Lord1Egypt/awesome-skill-forge

macOS の FindMy.app を介して Apple デバイスや AirTag を追跡します。

awesome-skill-forge とは?

このスキルは、macOS の Find My アプリケーションを介して Apple デバイス(iPhone、iPad、Mac、AirPods)や AirTag の位置情報を追跡するためのものです。Apple は Find My 向けの公式 CLI や API を提供していないため、AppleScript による UI 操作とスクリーンショットのビジョン解析を組み合わせて実現しています。主に Claude Code や Cursor などの AI エージェントが、ユーザーから「デバイス/鍵/猫の場所は?」といった質問を受けた際に、自動的にアプリを開き、タブを切り替え、位置情報を読み取って回答する用途に設計されています。より信頼性の高い操作のために、`peekaboo`(`brew install steipete/tap/peekaboo`)という UI 自動化ツールの利用も推奨しています。AirTag の位置情報は Find My の画面がアクティブに表示されている間のみ更新されるため、経時的な追跡では画面をフォアグラウンドに保つ必要があります。スクリーンショットの取得にはターミナルへの画面収録許可が必要です。

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

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Find My (Apple)

macOS の FindMy.app を介して Apple デバイスや AirTag を追跡します。Apple は FindMy 向けの CLI を提供していないため、このスキルは AppleScript でアプリを開き、画面キャプチャでデバイスの位置を読み取ります。

前提条件

  • macOS と Find My アプリ、iCloud にサインインしていること
  • 対象のデバイス/AirTag がすでに Find My に登録されていること
  • ターミナルへの画面収録許可(システム設定 → プライバシーとセキュリティ → 画面収録)
  • 推奨(任意): より安定した UI 自動化のため peekaboo をインストール: 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

次に 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 操作に使用します:

# 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

次にビジョンで解析します:

vision_analyze(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 のページがアクティブに表示されている間だけ位置を更新します
  • 位置精度は近くの Apple デバイス(FindMy ネットワーク)に依存します
  • スクリーンショットには画面収録許可が必要です
  • AppleScript による UI 自動化は macOS のバージョンによって動作しなくなる可能性があります

ルール

  1. AirTag 追跡中は FindMy アプリをフォアグラウンドに保ってください(最小化すると更新が止まります)
  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.

関連スキル