PSA: AI Terminal bots can query macOS Spotlight using mdfind

For anyone using Claude Code or OpenClaw, try querying Spotlight with Apple's own Terminal tool `mdfind.`

From Cheng Lou on X:

Public service announcement for all of you running Claude Code/Clawd: macOS’ Spotlight comes as a terminal tool, mdfind, that can fuzzy & exact query your entire computer in real time. Ask your bot to use it!

No RAG, no prescriptive structure, no external tool, super optimized

Super useful if you’re using something like OpenClaw (renamed from Clawd) for advanced AI access to your Mac.

Plus, you can run shortcuts from the command line as well.

View the original.

Posts You Might Like

Apple releases new Final Cut Camera app, plus smart updates to Final Cut Pro for iPad and Mac »
Apple has released a new Final Cut Camera app to tie in with Live Multicam in Final Cut Pro 2 for iPad – and the Mac version has new smart features as well.
LaunchBar adds improved Shortcuts support »
LaunchBar has updated their Shortcuts support to include proper icons from the app, plus accept input into the shortcut.
Apple’s developer APIs for Shortcuts are way better this year
Instapaper (Finally) Adds Tags for Better Organization »
Instapaper has added Tags on top of Folders for even better organization – and has teased a multi-column view.