imsg
Installation
SKILL.md
iMessage/SMS CLI for macOS
A command-line interface for interacting with macOS Messages.app using AppleScript/osascript. List conversations, view message history, monitor for new messages, and send iMessages or SMS.
Prerequisites
System Requirements
- macOS - This skill only works on macOS (Messages.app is macOS-only)
- Messages.app configured - Must be signed into iCloud or have carrier SMS set up
- Automation permissions - Terminal/Claude must have permission to control Messages.app
Granting Permissions
When first running these commands, macOS will prompt for automation permission:
- Go to System Preferences > Security & Privacy > Privacy > Automation
- Enable Terminal (or your terminal app) to control Messages
- If using Claude Code, ensure the parent process has automation permissions