skills/library/apple-photos/SKILL.md
Search and manage Apple Photos library on macOS via osascript.
npx skillsauth add malue-ai/dazee-small apple-photosInstall 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.
通过 AppleScript/JXA 管理 macOS 照片库,搜索、导出、创建相册。
osascript -e '
tell application "Photos"
set results to (media items whose description contains "Tokyo" or name contains "Tokyo")
set output to ""
repeat with photo in (items 1 thru (min of {20, count of results}) of results)
set output to output & (id of photo) & " | " & (filename of photo) & " | " & (date of photo) & linefeed
end repeat
return output
end tell'
osascript -e '
tell application "Photos"
set startDate to date "2025-12-01"
set endDate to date "2025-12-31"
set results to (media items whose date ≥ startDate and date ≤ endDate)
return (count of results) & " photos found"
end tell'
osascript -e '
tell application "Photos"
set output to ""
repeat with a in albums
set output to output & (name of a) & " (" & (count of media items of a) & " items)" & linefeed
end repeat
return output
end tell'
osascript -e '
tell application "Photos"
make new album named "旅行 2026"
end tell'
osascript -e '
tell application "Photos"
set targetAlbum to album "旅行 2026"
set exportPath to POSIX file "/Users/me/Desktop/export/"
export (media items of targetAlbum) to exportPath
end tell'
development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.