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

OpenClaw Showed Me What the Future of Personal AI Assistants Looks Like »
Federico Viticci dove deep into the OpenClaw project from Peter Steinberger and reported back on his experience – a must-read for the state of AI at the beginning of 2026.
Mark Gurman on TBPN: How Siri Will Be Powered By Google’s Gemini »
Bloomberg editor Mark Gurman stopped by TBPN to discuss Apple Intelligence, Siri updates, and the iPhone 17.
Fuoco lets you easily edit Portrait Mode photos »
If you've shot with Portrait Mode and want to change focus points—both in and out—Fuoco is the app for you.
Apple Intelligence Shortcuts for Real Life »
Stephen Robles has 17 new real-life use cases for putting the Use Model action for Apple Intelligence to work in Shortcuts.