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.`
PSA: AI Terminal bots can query macOS Spotlight using 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

What’s new in Shortcuts for iOS 18, iPadOS 18, macOS 15, watchOS 11 and visionOS 2 »
What’s new in Shortcuts for iOS 18, iPadOS 18, macOS 15, watchOS 11 and visionOS 2 »
Apple published release notes for Shortcuts in iOS 18 – here’s everything new this year (so far).
Josh Elman, Product Marketing for Siri and Apple Intelligence, Joins a16z
Josh Elman, Product Marketing for Siri and Apple Intelligence, Joins a16z
John Elman, formerly Product Marketing at Apple, has left his most recent work on Siri and Apple Intelligence to rejoin the startup investing world as a partner at a16z.
Bike: Automate with Shortcuts »
Bike Outliner for Mac has added 14 new actions to Shortcuts to automate your outlines, including a video tutorial.
PSA: An iOS 18 bug is why our favorite ‘Apple Frames’ shortcut broke »
PSA: An iOS 18 bug is why our favorite ‘Apple Frames’ shortcut broke »
9to5Mac has helped bring attention to an issue in iOS 18 that’s breaking Federico Viticci’s Apple Frames shortcut.