Apple Photos.app integration for macOS. List albums, browse photos, search by date/person/content, export photos.
Access Photos.app via SQLite queries and AppleScript. Run scripts from: cd ~/Library/Application\ Support/pilot/skills/apple-photos
| Command | Usage |
|---|---|
| Library stats | scripts/photos-count.sh |
| List albums | scripts/photos-list-albums.sh |
| Recent photos | scripts/photos-recent.sh [count] |
| List people | scripts/photos-list-people.sh [limit] |
| Search by person | scripts/photos-search-person.sh <name> [limit] |
| Search by content | scripts/photos-search-content.sh <query> [limit] |
| Search by date | scripts/photos-search-date.sh <start> [end] [limit] |
| Photo info | scripts/photos-info.sh <uuid> |
| Export photo | scripts/photos-export.sh <uuid> [output_path] |
| Script | Default | Notes |
|---|---|---|
| photos-recent.sh | 10 | Pass count as arg |
| photos-list-people.sh | 20 | Pass limit as arg |
| photos-search-person.sh | 10 | Pass limit as 2nd arg |
| photos-search-date.sh | 10 | Pass limit as 3rd arg |
| photos-search-content.sh | 10 | Pass limit as 2nd arg |
Filename | Date | Type | UUIDID | Name | Photo Count/tmp/photo_export.jpgscripts/photos-recent.sh 1scripts/photos-export.sh "UUID"view_image tool at /tmp/photo_export.jpgscripts/photos-search-content.sh "cat" or scripts/photos-search-person.sh "name"scripts/photos-export.sh "UUID"view_imageview_image with maxWidth: 256 for thumbnails, 512 only when detail is needed.photos-list-albums.sh unless specifically asked (AppleScript output can be large).YYYY-MM-DD or YYYY-MM-DD HH:MMexec tool from the skill base directory