/messages:messagesfrom messages
Searches and browses Apple Messages/iMessage via CLI — find texts by contact, date, or fuzzy query, view conversation threads, and list recent messages.
Ships in messages. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fuzzy search and browse Apple Messages using the messages CLI tool.
If the messages CLI is not installed, install it:
git clone https://github.com/cardmagic/messages.git
cd messages && make install
Requirements:
Browse recent messages and conversations (no search query needed):
# Show most recent messages (answers "who texted me?")
messages recent
# List contacts by recent activity
messages contacts --limit 10
# List conversations with message counts
messages conversations
# Show recent messages from/to a specific person
messages from "John"
# Show full conversation thread with someone
messages thread "John" --after 2024-12-01
Fuzzy search through message content with typo tolerance:
# Rebuild index and search (recommended for first use or after new messages)
messages index-and-search "search query"
# Search with filters
messages search "query" --from "John"
messages search "query" --after 2024-06-01
messages search "query" --limit 25
messages search "query" --context 5
# Combine filters
messages search "dinner" --from "Mom" --after 2024-01-01 --limit 15
Filtering tips: Sender filter supports partial matches (--from "John" matches "John Smith") and phone numbers (--from "+1555"). Use quotes around multi-word search terms: "dinner plans".
# Check index stats (message count, date range, etc.)
messages stats
# Rebuild index only (without searching)
messages index
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
imessage, apple-messages, fuzzy-search, conversation-threads, macos, messages-cli
npx claudepluginhub cardmagic/messages --plugin messagesOther plugins' skills for the same job