imsg
iMessage/SMS CLI for listing chats, history, watch, and sending.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
imsg Actions
Overview
Use imsg to read and send Messages.app iMessage/SMS on macOS.
Requirements: Messages.app signed in, Full Disk Access for your terminal, and Automation permission to control Messages.app for sending.
Inputs to collect
- Recipient handle (phone/email) for
send -
chatIdfor history/watch (fromimsg chats --limit 10 --json) -
textand optionalfilepath for sends
Actions
List chats
imsg chats --limit 10 --json
Fetch chat history
imsg history --chat-id 1 --limit 20 --attachments --json
Watch a chat
imsg watch --chat-id 1 --attachments
Send a message
imsg send --to "+14155551212" --text "hi" --file /path/pic.jpg
Notes
-
--service imessage|sms|autocontrols delivery. - Confirm recipient + message before sending.
Ideas to try
- Use
imsg chats --limit 10 --jsonto discover chat ids. - Watch a high-signal chat to stream incoming messages.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!