A lightning-fast CLI tool for searching Apple Mail metadata via direct SQLite database queries on macOS.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install apple-mail-search
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install apple-mail-search using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Apple Mail Search is a high-performance utility designed to solve the limitations of searching emails on macOS. Since the release of Big Sur, traditional Spotlight indexing for mail has often been unreliable, and AppleScript methods are notoriously slow, taking several minutes to process large mailboxes. This tool, integrated into the Openclaw Skills collection, queries the Envelope Index SQLite database directly, reducing search times from minutes to roughly 50 milliseconds.
By accessing the underlying database, this skill allows users to perform complex lookups for subjects, senders, attachments, and unread status without the overhead of the Mail.app interface. It is an essential utility for developers and power users who need to automate email workflows or retrieve data quickly within the Openclaw Skills framework.
To install this tool for use with your Openclaw Skills, follow these steps:
# Move the mail-search utility to a directory in your PATH
cp mail-search /usr/local/bin/
# Grant execution permissions to the script
chmod +x /usr/local/bin/mail-search
The skill interacts with the Apple Mail SQLite schema to provide structured access to your communication data. Below is the primary mapping used for Openclaw Skills integration:
| Data Object | Source Table | Description |
|---|---|---|
| Metadata | messages |
Core message data including dates, read/unread flags, and unique IDs. |
| Subjects | subjects |
Indexed subject lines mapped to message entries. |
| Contacts | addresses |
Sender and recipient email addresses and display names. |
| Files | attachments |
Metadata regarding filenames and types attached to emails. |
Loading
Orchestrate multi-phase background development by using coding agents as workers and cron jobs as automated managers.

A professional automation tool for creating, managing, and researching eBay listings for trading cards and collectibles.

A multi-purpose utility skill designed to automate workspace status reporting, timestamped note-taking, and log file maintenance.

A meta-skill that enables AI agents to autonomously analyze their runtime history and rewrite code for recursive self-improvement.

A powerful CLI tool for securely syncing Apple HealthKit data from iOS devices to macOS via local network mTLS.

A gaming-focused skill that empowers AI agents to autonomously compete in live games like No-Limit Hold'em poker on the clawplay.fun platform.
