imsg

Control iMessage and SMS conversations from the macOS command line.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/jonnytacos8/closed_claw --skill imsg-jonnytacos8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imsg
Source: https://github.com/jonnytacos8/closed_claw/tree/main/skills/imsg
Command: npx skills add https://github.com/jonnytacos8/closed_claw --skill imsg-jonnytacos8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

iMessage and SMS control from the terminal on macOS, enabling automation and reducing context switching when messaging.

Core Features & Use Cases

  • List chats and history from the command line
  • Send messages to contacts or groups
  • Watch live chat activity and attachments when needed
  • Use in scripts to automate routine messaging tasks

Quick Start

Install imsg via Brew as described, then run imsg chats --limit 5 --json to list recent chats.

Frequently Asked Questions about imsg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control iMessage from the terminal on macOS?

You can control iMessage from the terminal on macOS using command line interfaces to list chats, view history, and send SMS messages. This requires proper Messages.app permissions to automate conversations and reduce context switching.

Can I automate sending SMS messages using a command line script?

Yes, you can automate sending SMS messages using command line scripts. The command parser supports sending messages to contacts or groups, allowing you to integrate routine messaging tasks directly into automated workflows.

What do I need to view iMessage chat history in JSON format?

To view iMessage chat history in JSON format, you need a macOS environment with Messages.app permissions enabled. Once installed, you can run specific commands to list recent chats and output the data as structured JSON.

Does terminal iMessage automation support watching live chat activity?

Yes, terminal iMessage automation supports watching live chat activity. You can use specific watch commands to monitor real-time conversations and attachments directly within your command line interface.

Why do I need Messages.app permissions for CLI SMS automation?

You need Messages.app permissions for CLI SMS automation because the command line tool interfaces directly with the native macOS messaging application. Granting access ensures the terminal can securely list chats, watch activity, and send messages.