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

What’s New in Shortcuts – Issue 105
WWDC is in two weeks, iOS 17.5 and new iPad Pros are out, and it's teaser season for Siri in iOS 18. Plus, a buncha shortcuts, of course.
AirPods Can Authenticate You For Siri Requests Thanks To This Accessibility Advocate »
If you're always running into "You'll need to unlock your iPhone first" with Siri, you'll want to use AirPods starting in iOS 17 – here's how this new accessibility feature benefits everyone.
Stephen Robles on New iPhone Shortcuts Actions in iOS 17.4 »
Stephen Robles has a quick 10-minute video on using the new Get Orientation and Get Physical Activity actions from iOS 17.4.
Guest Spot — Clockwise #435: Never Clean Out Your Inbox