liamnichols

iCloud Find My

生活サービスv1.0.0
作者:liamnichols更新日 2026-05-18全 4 バージョン · 最新版の公開日 2026-01-07icloud-findmy@clawhub_liamnichols/icloud-findmy
家庭支援

AlphaMoatによると、2026-09時点でiCloud Find Myのダウンロード数は4,545、スター数は6で、AIスキル全体5,078件中2,108位、生活サービスでは246件中73位です。

インストール数
148
ダウンロード数
4545
スター数
6
総合順位
#2,108
全体の上位 42% · 生活サービスの上位 30%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗14845146-
SkillHub ↗14745456—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

利用にはApple ID認証と2要素認証が必要で、セッションはローカルに保存されます。位置情報と家族のデータは非常に機微なため、所有者や家族の同意があるデバイスだけを照会してください。明示的な依頼がない限り、継続的な追跡はしないでください。原文には位置情報を解析する安全でないeval()の例があります。検証済みの安全なパーサーに置き換え、Apple IDやセッションファイルを保護し、通常のワークスペース文書にはApple IDを保存しないでください。 資料では macOS と pyicloud CLI が必要で、家族の端末にはファミリー共有が必要です。

資料公開日 2026-10-29

できること

  • 許可を得たデバイスの位置やバッテリー状態を確認する
  • デバイスの最近の位置や充電情報を整理する
  • 利用者から明示的に依頼された場合に低電量通知を計画する

使う場面

  • デバイス所有者または家族の同意がある場合
  • ローカルのApple IDとセッションファイルを保護できる場合
  • 位置データをeval()ではなく安全なパーサーで処理する場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

同意を得たデバイスのバッテリー状態を安全に確認する方法だけを説明してください。位置の取得、Apple IDの保存、追跡は行わないでください。

月次の推移

ダウンロード数4545
3640412646122026-05 · ダウンロード数 37072026-06 · ダウンロード数 39022026-07 · ダウンロード数 42372026-08 · ダウンロード数 43842026-09 · ダウンロード数 454526-0526-09
スター数6
5672026-05 · スター数 62026-06 · スター数 62026-07 · スター数 62026-08 · スター数 62026-09 · スター数 626-0526-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094545—6
2026-084384+3.5%6
2026-074237+8.6%6
2026-063902+5.3%6
2026-053707—6

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.2 KB・ClawHub v1.0.0
---
name: icloud-findmy
description: Query Find My locations and battery status for family devices via iCloud.
homepage: https://github.com/picklepete/pyicloud
metadata: {"clawdbot":{"emoji":"📍","requires":{"bins":["icloud"]},"install":[{"id":"pipx","kind":"shell","command":"brew install pipx && pipx install pyicloud","bins":["icloud"],"label":"Install PyiCloud (pipx)"}]}}
---

# iCloud Find My

Access Find My device locations and battery status via the iCloud CLI (pyicloud).
すべて表示(全 163 行)

## Setup

1. **Install pyicloud:**
```bash
brew install pipx
pipx install pyicloud
```

2. **Authenticate (one-time):**

Ask the user for their Apple ID, then run:
```bash
icloud --username [email protected] --with-family --list
```

They'll need to enter their password and complete 2FA. The session will be saved and lasts 1-2 months.

3. **Store Apple ID:**

Add the Apple ID to your TOOLS.md or workspace config so you remember it for future queries:
```markdown
## iCloud Find My
Apple ID: [email protected]
```

## Usage

### List all devices

```bash
icloud --username APPLE_ID --with-family --list
```

**Output format:**
```
------------------------------
Name           - Liam's iPhone
Display Name   - iPhone 15 Pro
Location       - {'latitude': 52.248, 'longitude': 0.761, 'timeStamp': 1767810759054, ...}
Battery Level  - 0.72
Battery Status - NotCharging
Device Class   - iPhone
------------------------------
```

**Parsing tips:**
- Devices are separated by `------------------------------`
- Location is a Python dict (use `eval()` or parse with regex)
- Battery Level is 0.0-1.0 (multiply by 100 for percentage)
- Battery Status: "Charging" or "NotCharging"
- Location fields: `latitude`, `longitude`, `timeStamp` (milliseconds), `horizontalAccuracy`

### Get specific device

Find a specific device by grepping the output:
```bash
icloud --username APPLE_ID --with-family --list | grep -A 10 "iPhone"
```

### Parse location

Extract and format location data:
```bash
icloud --username APPLE_ID --with-family --list | \
  grep -A 10 "Device Name" | \
  grep "Location" | \
  sed "s/Location.*- //"
```

Then parse the Python dict string with Python or extract coordinates with regex.

### Parse battery

```bash
icloud --username APPLE_ID --with-family --list | \
  grep -A 10 "Device Name" | \
  grep "Battery Level"
```

## Device Names

Device names come from iCloud and may include:
- Fancy Unicode apostrophes (U+2019 ') instead of ASCII '
- No apostrophes at all (e.g., "Lindas iPhone")

Use case-insensitive matching and normalize apostrophes if needed.

## Session Management

- Sessions last **1-2 months**
- Stored in user's home directory
- When expired, re-run the authentication step
- PyiCloud validates automatically on each request

## Common Patterns

**Check battery before going out:**
```bash
# Get battery for specific device
icloud --username ID --with-family --list | \
  grep -B 2 -A 5 "iPhone" | \
  grep "Battery Level"
```

**Get current location:**
```bash
# Extract location dict and parse coordinates
icloud --username ID --with-family --list | \
  grep -A 10 "iPhone" | \
  grep "Location" | \
  sed "s/.*- //" | \
  python3 -c "import sys; loc = eval(sys.stdin.read()); print(f\"{loc['latitude']}, {loc['longitude']}\")"
```

**Check if device is charging:**
```bash
icloud --username ID --with-family --list | \
  grep -A 10 "iPhone" | \
  grep "Battery Status"
```

## Proactive Use Cases

- **Battery warnings:** Check battery levels before calendar events (going out)
- **Location context:** Answer "near me" queries by checking user's current location
- **Home/away detection:** Check if user is at home based on coordinates
- **Low battery alerts:** Warn if battery <30% and not charging

## Troubleshooting

**Authentication errors:**
- Session expired - re-authenticate
- Wrong Apple ID - check stored ID
- 2FA required - complete 2FA flow

**No location available:**
- Device offline
- Find My disabled
- Location Services off

**Device not found:**
- Check exact device name with `--list`
- Names are case-sensitive
- May have Unicode apostrophes

## Notes

- Requires macOS (iCloud API quirks)
- Family Sharing must be enabled to see family devices
- Location updates every ~1-5 minutes when device is active
- Battery readings may be cached (check timestamp)

生活サービスの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。