跳到正文
TakoAPI
返回技能列表

icloud-findmy

由 liamnichols 提供

Apple Apps & Services
2.6k下载量由 clawskills.sh 提供
6星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Query Find My locations and battery status for family devices.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install liamnichols/icloud-findmy

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接