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

How to create speaker groups for HomePod using Shortcuts
How to create speaker groups for HomePod using Shortcuts
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).
AirPods Can Authenticate You For Siri Requests Thanks To This Accessibility Advocate »
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.
WWDC26 Sessions: What’s New in Shortcuts
WWDC26 Sessions: What’s New in Shortcuts
Happy WWDC26 to those who celebrate! Don't miss the What's new in Shortcuts session that covers our new automation types, additions to the Use Model action, and new Storage actions presented by Duraid.