imsg
What it does
This skill lets the AI read and send iMessage or SMS messages on a Mac through Messages.app. It is for people who want their agent to help with personal texts.
When to use it
- βWhen you explicitly ask to send an iMessage or SMS to someone.
- βWhen you want to read the recent history of a Messages conversation.
- βWhen you want to see a list of your recent Messages chats.
Skill link
https://github.com/spinabot/brigade/blob/main/skills/imsg/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
βShow me my five most recent Messages chats, and then text Sam that dinner is at 7.β
5 new skills a week. 1 minute to read.
How it works
The AI runs the imsg command line tool on the Mac. It lists chats, reads their history and sends texts to a phone number or Apple ID. Messages.app must be signed in and the right permissions must be granted.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
imsg
Use imsg to read and send iMessage/SMS via macOS Messages.app.
When to Use
β USE this skill when:
- User explicitly asks to send iMessage or SMS
- Reading iMessage conversation history
- Checking recent Messages.app chats
- Sending to phone numbers or Apple IDs
When NOT to Use
β DON'T use this skill when:
- Telegram messages β use
messagetool withchannel:telegram - Signal messages β use Signal channel if configured
- WhatsApp messages β use WhatsApp channel if configured
- Discord messages β use
messagetool withchannel:discord - Slack messages β use
slackskill - Group chat management (adding/removing members) β not supported
- Bulk/mass messaging β always confirm with user first
- Replying in current conversation β just reply normally (Brigade routes automatically)
Requirements
- macOS with Messages.app signed in
- Full Disk Access for terminal
- Automation permission for Messages.app (for sending)
Common Commands
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
Watch for New Messages
imsg watch --chat-id 1 --attachments
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
# Specify service
imsg send --to "+14155551212" --text "Hi" --service imessage
imsg send --to "+14155551212" --text "Hi" --service sms
Service Options
--service imessageβ Force iMessage (requires recipient has iMessage)--service smsβ Force SMS (green bubble)--service autoβ Let Messages.app decide (default)
Safety Rules
- Always confirm recipient and message content before sending
- Never send to unknown numbers without explicit user approval
- Be careful with attachments β confirm file path exists
- Rate limit yourself β don't spam
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
What permissions are needed?
The terminal needs Full Disk Access, and Messages must be allowed to send.
Can it add people to a group chat?
No. Managing group members is not supported by this skill.
Does it handle bulk messages?
Mass messaging should always be confirmed with you first, so the skill does not send to many people at once.
Details
Original description by the author
iMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
repo: spinabot/brigade
Popularity
- GitHub stars
- 11k
- Ranking position
- #11725
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
1password
11kTeaches your agent to set up the 1Password command line tool and sign in safely, then read or inject stored secrets when they are needed.
apple-reminders
11kLets your agent view, add, edit, complete and delete Apple Reminders from the terminal, including lists and date filters.
bluebubbles
11kLets your agent send and manage iMessages through BlueBubbles, including texts, attachments, tapback reactions, edits and group settings.
camsnap
11kLets your agent take snapshots, short clips or watch for motion from network security cameras that you have already set up.
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.