imessage
What it does
This skill connects your AI to Messages on a Mac so it can read recent conversations and send texts. It is for Mac users who want help managing their iMessage and SMS messages.
When to use it
- ✓When you ask your AI to send an iMessage or text to a phone number or Apple ID.
- ✓When you want to read the recent history of a Messages conversation.
- ✓When you want to check your recent Messages chats for new activity.
Skill link
https://github.com/NousResearch/hermes-agent/blob/main/skills/apple/imessage/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Text my sister that I will be 15 minutes late, and check if she has replied.”
5 new skills a week. 1 minute to read.
How it works
The skill runs the imsg command line tool, which reads your Messages history and sends texts through Messages.app. It needs Full Disk Access and Automation permission the first time.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
iMessage
Use imsg to read and send iMessage/SMS via macOS Messages.app.
Prerequisites
- macOS with Messages.app signed in
- Install:
brew install steipete/tap/imsg - Grant Full Disk Access for terminal (System Settings → Privacy → Full Disk Access)
- Grant Automation permission for Messages.app when prompted
When to Use
- User asks to send an iMessage or text message
- Reading iMessage conversation history
- Checking recent Messages.app chats
- Sending to phone numbers or Apple IDs
When NOT to Use
- Telegram/Discord/Slack/WhatsApp messages → use the appropriate gateway channel
- Group chat management (adding/removing members) → not supported
- Bulk/mass messaging → always confirm with user first
Quick Reference
List Chats
imsg chats --limit 10 --json
View History
# By chat ID
imsg history --chat-id 1 --limit 20 --json
# With attachments info
imsg history --chat-id 1 --limit 20 --attachments --json
Send Messages
# Text only
imsg send --to "+14155551212" --text "Hello!"
# With attachment
imsg send --to "+14155551212" --text "Check this out" --file /path/to/image.jpg
# Force iMessage or SMS
imsg send --to "+14155551212" --text "Hi" --service imessage
imsg send --to "+14155551212" --text "Hi" --service sms
Watch for New Messages
imsg watch --chat-id 1 --attachments
Service Options
--service imessage— Force iMessage (requires recipient has iMessage)--service sms— Force SMS (green bubble)--service auto— Let Messages.app decide (default)
Rules
- Always confirm recipient and message content before sending
- Never send to unknown numbers without explicit user approval
- Verify file paths exist before attaching
- Don't spam — rate-limit yourself
Example Workflow
User: "Text mom that I'll be late"
# 1. Find mom's chat
imsg chats --limit 20 --json | jq '.[] | select(.displayName | contains("Mom"))'
# 2. Confirm with user: "Found Mom at +1555123456. Send 'I'll be late' via iMessage?"
# 3. Send after confirmation
imsg send --to "+1555123456" --text "I'll be late"
FAQ
Will my AI send bulk messages?
The skill says bulk or mass messaging should always be confirmed with you first.
Can it manage group chats?
No. The skill says adding or removing group members is not supported.
Does it work on Windows?
No. The skill requires macOS and Messages.app.
Details
Original description by the author
Send and receive iMessages/SMS via the imsg CLI on macOS.
Popularity
- GitHub stars
- 260k
- Ranking position
- #587
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-merge-conflict-arbiter
260kSettles a git merge conflict between two agents' branches as a neutral third party, producing one merged result for the repo.
antigravity-cli
260kGuides you through installing, updating, and troubleshooting the Antigravity command line tool, including its plugins, sign-in, and sandbox.
blackbox
260kLets your agent hand a coding task to the Blackbox AI command line tool, which runs several AI models and picks the best result.
dynamic-workflow
260kTeaches your agent to run large batches of similar work as a saved script, so only verified results return to the main conversation.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.