Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

icloud-findmy

bởi liamnichols

Apple Apps & Services
2.6kLượt tải do clawskills.sh công bố
6Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Query Find My locations and battery status for family devices.

Mô tả

Kỹ năng này làm gì

Queries Apple iCloud Find My to retrieve device locations and battery status for personal and family devices. Uses pyicloud CLI under the hood. Requires one-time 2FA authentication, after which sessions persist for 1-2 months.

Gives programmatic access to Find My data without manual app interaction, enabling automated battery checks and location queries from any agent workflow.

Khi nào nên dùng

  • Check iPhone battery before leaving home
  • Find where a family member's device is located
  • Confirm if a device is charging or not
  • Detect whether user is home or away based on coordinates
  • Get current coordinates to answer location-aware questions

Quy trình ví dụ

ĐẦU VÀO

User asks: Where is my wife's iPhone and what's the battery level?

AGENT
  1. 1

    Run icloud --username APPLE_ID --with-family --list to fetch all device data

  2. 2

    Parse output sections separated by dashes to find the matching device

  3. 3

    Extract Battery Level value and multiply by 100 for percentage

  4. 4

    Extract Location dict and parse latitude/longitude coordinates

  5. 5

    Format and return location and battery status to user

ĐẦU RA

Wife's iPhone is at 52.248, 0.761 with 72% battery, not charging.

Yêu cầu

  • Apple ID (iCloud account)
  • iCloud Family Sharing enabled to access family devices

Cài đặt

clawhub install liamnichols/icloud-findmy

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết