imsg

List, view, watch, and send iMessage conversations via the imsg CLI on macOS.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Replace manual interactions with Messages.app by controlling iMessage and SMS from a lightweight CLI that can list chats, fetch history, watch for updates, and send messages directly from the terminal.

Core Features & Use Cases

  • List chats and view recent conversations from the terminal.
  • Retrieve chat history and send messages to contacts without opening Messages.app.
  • Watch for new messages and respond programmatically in automation scripts.

Quick Start

List my latest iMessage chats and send a message to a contact using imsg.

Frequently Asked Questions about imsg

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

FAQPage Schema
How do I send iMessage or SMS from the command line on macOS?

The best way to handle bulk iMessage conversations without the Messages.app GUI is using the imsg CLI. It enables listing chats, viewing history, and sending messages directly from the terminal for fast, scriptable workflows.

Can I retrieve iMessage chat history from the terminal?

View iMessage chat history directly in the terminal by using the imsg CLI tool to list chats and retrieve recent conversations. It fetches this data without needing to open the Messages.app interface.

How do I watch for new iMessage updates in an automation script?

Watch for new iMessage updates in the terminal by running the imsg CLI tool's watch command. It monitors for new messages, enabling you to respond programmatically within your macOS automation scripts.

Do I need Messages.app signed in to control iMessage from the CLI?

To automate iMessage on macOS, you need terminal access with appropriate permissions, the imsg tool installed, and Messages.app actively signed in. This setup allows fast, scriptable messaging control for bulk handling and quick responses.

What is the best way to handle bulk iMessage conversations without the GUI?

The best way to handle bulk iMessage conversations without the Messages.app GUI is using the imsg CLI. It enables listing chats, viewing history, and sending messages directly from the terminal for fast, scriptable workflows.