iCloud Photos Organizer
Organize Photos.app library on macOS / iOS.
Requirements
- macOS Photos.app with iCloud Photos enabled.
- Automation access to Photos (AppleScript prompt on first call).
- Optional:
osxphotos(https://github.com/RhetTbull/osxphotos) for deeper SQLite-level inspection.
Step 1 — Ask the User First
1. Library scope — full library, or last N years?
2. Album strategy — by year/month, by event/trip, by person (faces), or hybrid?
3. Duplicate detection — exact duplicates, perceptual near-duplicates, or both?
4. Deletion policy — auto-delete exact duplicates / move to "Review" album / dry-run only?
5. Faces — confirm face-tagging suggestions, or leave alone?
6. Memories cleanup — disable bad auto-generated Memories?
Steps (TBD)
- Inventory — count photos, videos, library size, identify Recents stream.
- Detect duplicates — exact (hash) and perceptual (resize + perceptual hash).
- Plan — propose album structure, duplicate deletion list, face-tagging confirmations.
- Approve — batch by year or by album.
- Apply — create albums, move photos, mark duplicates for deletion (or move to "Review").
- Verify — final library size + album list.
Surface-specific notes
- Photos.app AppleScript is slow for large libraries (10k+ photos). Use
osxphotosfor inventory +mdlsfor metadata. - Faces are local-only metadata — actions don't sync via iCloud the same way albums do.
- Deletes go to "Recently Deleted" for 30 days.
- Live Photos and Burst Photos can register as duplicates incorrectly.
- High-emotion content. Always dry-run first; offer "Review" album rather than direct deletion.
See also
../org-life-organizer/_lib/taxonomy.md../org-life-organizer/_lib/patterns.md../mac-organizer/SKILL.md— Mac-side cleanup (incl. Photos library size if it's bloating disk)