iMessage/SMS CLI for listing chats, history, watch, and sending.
The 'imsg' skill provides a command-line interface (CLI) for interacting with iMessage and SMS messages via macOS's native Messages.app. This tool allows users to read and send messages, check recent chats, and view conversation history in a seamless way on macOS systems. By leveraging this skill, users can automate and streamline the process of sending iMessages or SMS messages, as well as accessing important message history or attachments directly from the terminal. This skill is perfect for users who prefer using CLI tools for communication tasks or need to integrate messaging capabilities into larger automation workflows on macOS.
You can list recent chats using the command `imsg chats --limit 10 --json`, which will return up to 10 chats in JSON format.
Yes, you can send SMS messages by using the `--service sms` option when sending a message, e.g., `imsg send --to '+14155551212' --text 'Hello' --service sms`.
This skill requires macOS with Messages.app signed in, Full Disk Access for the terminal, and Automation permission for Messages.app to send messages.
This skill does not support bulk or mass messaging. Each message needs to be sent individually, and it is always best to confirm with the user before sending.
Yes, you can send messages with attachments using the `--file` option, for example: `imsg send --to '+14155551212' --text 'Check this out' --file /path/to/image.jpg`.
Quick Setup:
.claude/skills/Repository
steipete/clawdis