imessage

Send and read iMessage and SMS messages via the imsg CLI on macOS.

Updated Sep 9, 2026
One-click install
npx skills add https://github.com/luckybbjason1/trading --skill imessage-luckybbjason1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imessage
Source: https://github.com/luckybbjason1/trading/tree/main/.hermes/skills/apple/imessage
Command: npx skills add https://github.com/luckybbjason1/trading --skill imessage-luckybbjason1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It lets you send, read, and monitor iMessage and SMS conversations on macOS directly from the command line, without manually opening Messages.app. ## Core Features & Use Cases - Send Messages: Deliver text and file attachments to phone numbers or Apple IDs, with control over iMessage versus SMS delivery. - Read History: List recent chats and retrieve conversation history, including attachment metadata, in JSON format. - Watch for Replies: Monitor a specific chat for incoming messages in real time. - Use Case: A user asks to text a family member. The assistant finds the contact's chat, confirms the recipient and message content, then sends the iMessage via the imsg CLI. ## Quick Start Ask the assistant to send an iMessage saying you will be late to a specific contact, and confirm the recipient and text before it is sent.

Frequently Asked Questions about imessage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send an iMessage from the command line on macOS?

Use the imsg CLI with the send command, specifying the recipient phone number or Apple ID and the message text. You can attach files with the file flag and force iMessage or SMS delivery with the service flag.

How do I read iMessage history from the terminal?

Run imsg chats to list recent conversations, then use imsg history with a chat ID to retrieve messages. Adding the json flag returns structured output, and the attachments flag includes file metadata.

What permissions does imsg need on macOS?

imsg requires Full Disk Access for the terminal, granted in System Settings under Privacy, and Automation permission for Messages.app, which macOS prompts for on first use. Messages.app must also be signed in.

Can I force SMS instead of iMessage when sending a text?

Yes, pass the service flag with the value sms to force SMS delivery, or imessage to force iMessage. The default auto mode lets Messages.app decide based on the recipient.

What are the limitations of sending iMessages via CLI?

The imsg CLI cannot manage group chat membership, such as adding or removing participants. Bulk or mass messaging is discouraged and should always be confirmed with the user first.