ai-tools/icloudpd-icloud-photo-backup/SKILL.md
icloudpd CLI for downloading/syncing iCloud Photos. Use when user asks about icloudpd, iCloud photo backup, or syncing iCloud photos locally.
npx skillsauth add randyhaylor/enhanceclaude icloudpd-icloud-photo-backupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CLI tool to download/sync iCloud Photos to local storage. v1.32.2. Open source, Python-based.
pip install icloudpd (Windows: add --user)docker run -it --rm icloudpd/icloudpd:latest icloudpd --helpnpx --yes icloudpdyay -S icloudpd-binsudo snap install icloudpd--auto-delete)--keep-icloud-recent-days N)Docs: https://icloud-photos-downloader.github.io/icloud_photos_downloader/mode.html
| Flag | Purpose |
|---|---|
| --username X | Apple ID email; repeatable for multi-account |
| --directory X | Local download root |
| --watch-with-interval X | Continuous sync, interval in seconds |
| --keep-icloud-recent-days X | Move mode; delete from iCloud except last X days |
| --auto-delete | Sync mode; mirror iCloud deletions locally |
| --recent X | Process only X most recent assets |
| --until-found X | Stop after X consecutive already-downloaded assets |
| --album X | Specific album(s); repeatable |
| --list-albums | List available albums |
| --library X | Choose library (default: Personal Library) |
| --skip-videos | Skip video assets |
| --skip-photos | Skip photo assets |
| --skip-live-photos | Skip live photo assets |
| --set-exif-datetime | Write EXIF date if missing |
| --folder-structure X | Subfolder naming scheme |
| --dry-run | Preview changes, no downloads |
| --auth-only | Authenticate and exit |
| --size X | Asset size to download |
| --domain cn | Use .cn domain (mainland China) |
| --password-provider X | Password source: parameter, keyring, console |
| --mfa-provider X | MFA code source |
| --cookie-directory X | Custom auth token folder (default: ~/.pyicloud) |
Full list: icloudpd --help
icloud --username X~/.pyicloud to reset auth state# One-time download of everything
icloudpd --directory ~/icloud-photos --username [email protected]
# Continuous sync every hour
icloudpd --directory ~/icloud-photos --username [email protected] --watch-with-interval 3600
# Move mode: download all, keep only last 30 days in iCloud
icloudpd --directory ~/icloud-photos --username [email protected] --keep-icloud-recent-days 30
# Download specific album
icloudpd --directory ~/icloud-photos --username [email protected] --album "Vacation 2024"
# Docker with timezone
docker run -it --rm -v $(pwd)/Photos:/data -e TZ=America/New_York \
icloudpd/icloudpd:latest icloudpd --directory /data --username [email protected] --watch-with-interval 3600
# Dry run to preview
icloudpd --directory ~/icloud-photos --username [email protected] --dry-run
# Auth-only (pre-authenticate, useful for automation)
icloudpd --username [email protected] --auth-only
Bad Request (400) — Apple needs 5–10 min to prepare; retry--keep-icloud-recent-days uses photo creation date, not upload date--skip-videos) are never deleted from iCloud--watch-with-interval may trigger Apple throttling%cd% or full path instead of $(pwd); Linux containers onlytools
# XState v5 Quick Reference ## How to Look Up API Details For complete function signatures, types, and interfaces, **grep `api-reference.md`** — do NOT read it in full (12k+ lines). Example: ``` Grep pattern="createActor" path="~/.claude/skills/xstate/api-reference.md" output_mode="content" -C 5 ``` Then use `Read` with `offset`/`limit` to get the full section. This is the primary way to get precise technical info when the quick reference below isn't enough. ## Design Workflow Recommended
tools
Workaround for agent teams in VS Code extension where TeamCreate teammates cannot execute tools. Uses an echo-back-and-resume pattern where agents return tool requests instead of executing them directly.
development
Format documentation, READMEs, and structured text using header hierarchy where each level stands alone. Use when creating docs, research notes, summaries, or when user requests 'scannable,' 'well-structured,' 'skimmable,' or 'readable at multiple depths' output. Applies to markdown, technical specs, and any hierarchical text formatting.
development
Enforce strict Test-Driven Development workflow: write one test, make it pass, verify, then proceed. Prevents over-implementation and ensures code matches requirements exactly. Use when implementing new features, adding settings, or building functionality incrementally.