imsg

List chats, view history, and send iMessages via macOS Messages.app CLI.

330|61|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/eggent-ai/eggent --skill imsg-eggent-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imsg
Source: https://github.com/eggent-ai/eggent/tree/main/bundled-skills/imsg
Command: npx skills add https://github.com/eggent-ai/eggent --skill imsg-eggent-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

iMessage/SMS CLI for listing chats, history, and sending messages via macOS Messages.app.

Core Features & Use Cases

  • List chats
  • View conversation history
  • Send messages to phone numbers or Apple IDs
  • Lightweight automation via CLI

Quick Start

Send an iMessage to +1555123456 via 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 an iMessage from the command line on macOS?

You can list active chats and view conversation history by executing specific CLI commands that interface with macOS Messages.app. It retrieves chat data directly for terminal viewing.

Can I automate sending SMS and iMessages via a script?

Yes, you can automate sending SMS and iMessages by integrating this CLI tool into your shell scripts. It enables lightweight automation for dispatching messages without manual GUI interaction.

Does this iMessage CLI require special permissions to access Messages.app?

Yes, sending iMessages and viewing history via CLI requires clear permissions handling to grant terminal access to macOS Messages.app. This ensures secure automation and chat management.

What is the best way to view iMessage history in the terminal?

The best way to view iMessage history in the terminal is using a dedicated CLI that reads conversation logs from macOS Messages.app. It outputs chat history directly to your command line interface.

How do I list my active iMessage chats from a macOS terminal?

To list active iMessage chats from a macOS terminal, run the CLI command designed to query your Messages.app data. It returns a structured list of your current conversations.