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

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.
Transit’s Apple Watch app returns after two-year hiatus
Stephen Robles’ 15 NEW iPhone Shortcuts: Auto-Reply Texts, Wallpapers, and Transcribe Podcasts »
Stephen Robles shares 15 new workflows requested from the community in this massive 27-minute Shortcuts video.
The Future of App Development: Artificial Intelligence and App Intents (feat. Connor Hammond)
AI consultant and app developer Connor Hammond joins me to talk about the future of app development in a world of AI, particularly in relation to Apple's App Intents APIs.