Free · Make content

Make every photo and video from your trip searchable with AI

I came back from Thailand with 391 photos and videos. One agent looked at every one, wrote what's in it into Apple Photos and typed out anything I said on camera, so now I find a clip by searching for it.

What you’ll need

  • A Mac with your photos in Apple Photos.
  • Claude Code, Codex or Cursor to paste the prompt into. Claude Code needs a paid Claude plan (Pro is $20 a month); the prompt runs on that plan, with no extra API bill.
  • Some free disk space. Videos stored in iCloud download one at a time and get deleted after.

Paste this into your AI tool

Paste into Claude Code

Set up an agent on my Mac that makes my Apple Photos library searchable by what's in each photo and video, and keeps it that way every night.

First ask me how far back to go (for example, my last trip or the last 30 days). Only touch those items.

1. Use osxphotos (pip install osxphotos) to read my library, and download originals from iCloud one at a time when they're not on my Mac. If macOS asks for Photos access, tell me exactly what to click.
2. Make a small preview of each photo. For each video, grab a few frames, and if it has sound, transcribe it on my Mac with whisper.cpp (free, and the audio never leaves my computer).
3. Look at each one and write one short line: what's in it, where it was taken (from the photo's location), the kind of shot (selfie, scenery, food, training, me talking to the camera, screenshot, receipt), what I said if there's speech, and whether it's blurry or a near-duplicate. In each set of near-duplicates, mark the best one.
4. Write that line into the photo's caption in Apple Photos, so I can find it by typing in the Photos search bar. Never overwrite a caption I typed myself, and never write a name, place or event you can't see or hear.
5. Make albums from the captions: Talking to camera, Best of each set, Screenshots and receipts. Leave out anything blurry.
6. Show me 5 captions first and wait for my OK before doing the rest.
7. When it's done, schedule it to run every night at 3:30am on just the new photos and videos from that day, and show me how to turn it off.

For the looking and the nightly run, use your own command-line mode on my current plan (for Claude Code that's claude -p). Don't use any paid API without asking me first.

It shows you five captions before it does the rest, so you can tell it what to change first. Approve the pop-ups for Photos access when macOS asks. When it’s done, type something like “Muay Thai at night” into the Photos search bar.

Optional

Get the next free build by email.

One build like this every Tuesday, with the prompt to copy. The guide stays free either way.

No spam, unsubscribe anytime.

Good to know

  • It only works on a Mac, because it writes into the Apple Photos app. Your iPhone photos count if they sync to that Mac through iCloud.
  • The nightly run needs the Mac on. If it’s asleep at 3:30am, the run happens when it wakes up.
  • Transcripts from loud places come out rough. The description of what’s in the shot still makes it findable.
  • Photos you’ve hidden in Apple Photos stay hidden. The agent can’t open them, and it leaves them alone.
  • The first run on a big trip takes a while. Start with one trip, check the captions, then go further back.

Read next

Stuck? Message me on LinkedIn and I’ll help you get it running.