Loading...
Loading...
Send and read iMessages/SMS from macOS. Use for texting contacts, scheduling services, or automating message-based workflows. Triggers on queries about texting, messaging, SMS, iMessage, or contacting someone via text.
npx skill4agent add letta-ai/skills imessageimsggit clone https://github.com/letta-ai/imsg.git ~/repos/imsg
cd ~/repos/imsg
swift build -c release~/repos/imsg/.build/release/imsg~/repos/imsg/bin/imsg| Permission | Location | Required For |
|---|---|---|
| Full Disk Access | Privacy & Security → Full Disk Access | Reading message history |
| Automation | Privacy & Security → Automation | Sending messages via Messages.app |
imsg chats --limit 10
imsg chats --limit 10 --json[chat_id] (identifier) last=timestamp# View last 20 messages in a chat
imsg history --chat-id <id> --limit 20
# With attachments metadata
imsg history --chat-id <id> --limit 20 --attachments
# Filter by date
imsg history --chat-id <id> --start 2026-01-01T00:00:00Z --json# Send to phone number
imsg send --to "+15555555555" --text "Hello!"
# Send with attachment
imsg send --to "+15555555555" --text "Here's the file" --file /path/to/file.jpg
# Force iMessage or SMS
imsg send --to "+15555555555" --text "Hi" --service imessage
imsg send --to "+15555555555" --text "Hi" --service sms
# Send to existing chat by ID
imsg send --chat-id 86 --text "Hello!"imsg watch --chat-id <id> --debounce 250ms+1XXXXXXXXXX--service smsimsg send --to "+14155551234" --text "Hi! Do you have availability this Saturday for a cleaning?"imsg send --to "+14155551234" --text "Just wanted to follow up on my earlier message. Let me know when you have a chance!"imsg send --to "+14155551234" --text "Confirming our appointment for Saturday at 10am. See you then!"| Issue | Solution |
|---|---|
| "not authorized" error | Grant Automation permission to terminal |
| Can't read messages | Grant Full Disk Access to terminal |
| SMS not sending | Enable Text Message Forwarding on iPhone |
| Message stuck sending | Check Messages.app is signed in and working |
~/repos/imsg/bin/imsg