imsg

Automate iMessage and SMS chat listing, history retrieval, and sending via macOS Messages.app.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/Solitude01/proiect-new --skill imsg-solitude01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imsg
Source: https://github.com/Solitude01/proiect-new/tree/main/%E5%88%9B%E6%84%8F/%E9%A3%9E%E7%89%9B/OPENCLAW/openclaw/openclaw/skills/imsg
Command: npx skills add https://github.com/Solitude01/proiect-new --skill imsg-solitude01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading and sending iMessages/SMS requires manually opening Messages.app; imsg provides a CLI interface to list chats, view history, and send messages via the native Messages.app.

Core Features & Use Cases

  • List chats and view recent conversations from the terminal.
  • Read conversation history, including attachments, for quick context.
  • Send text messages (and optionally attachments) to iMessage recipients or phone numbers using a simple CLI.
  • Ideal for automation, scripts, and workflows on macOS where Messages.app is signed in.

Quick Start

Use imsg to list chats, then send a message via the Messages.app.

Frequently Asked Questions about imsg

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

FAQPage Schema
How do I send iMessages from the command line on macOS?

You can send iMessages from the command line on macOS by using a CLI tool that interfaces directly with the native Messages.app. This allows you to send texts and attachments to contacts without manually opening the Messages application.

Can I retrieve iMessage chat history and attachments via the terminal?

Yes, you can retrieve iMessage chat history and attachments via the terminal. The CLI queries the Messages.app database to list recent conversations and read full context, including attachment files, directly in your terminal output.

Does sending SMS and iMessages through the macOS terminal require manual confirmation?

Sending SMS and iMessages through the macOS terminal requires user confirmation before executing the send command. This safety rule prevents unintended automated messages from being dispatched via the Messages.app integration.

Do I need to sign into Messages.app to automate iMessage sending with a CLI?

Yes, you need to sign into Messages.app to automate iMessage sending with a CLI. The automation relies on the native macOS Messages.app environment being active and authenticated to route texts and list chats properly.

What is the best way to automate text messaging workflows on macOS?

The best way to automate text messaging workflows on macOS is using a CLI tool that interfaces with Messages.app. This approach enables scriptable chat listing, history retrieval, and message sending directly within terminal-based automation pipelines.