imsg

Read and manage iMessage chats from the terminal via CLI.

7|12|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/borealBytes/my-farm-advisor --skill imsg-borealbytes
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: imsg
Source: https://github.com/borealBytes/my-farm-advisor/tree/main/skills/imsg
Command: npx skills add https://github.com/borealBytes/my-farm-advisor --skill imsg-borealbytes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables command-line access to iMessage and SMS workflows, allowing you to read chats, view conversation history, and send messages without opening the Messages.app.

Core Features & Use Cases

  • Read recent chats and message history directly from the terminal.
  • Send messages to phone numbers or Apple IDs using a simple CLI command.
  • Automate routine messaging tasks and integrate with scripts for batch operations.

Quick Start

Use imsg to send a message from the terminal with a command like imsg send --to '+15551234567' --text 'Hello'.

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 terminal using a CLI command?▼

You can send an iMessage from the terminal by executing a command like imsg send --to '+15551234567' --text 'Hello', which directly routes your text through the Messages.app without needing the GUI.

Can I read iMessage chat history and list recent conversations from the command line?▼

Yes, you can list recent chats and view conversation history directly in the terminal, allowing you to read iMessage chats without opening the Messages.app interface.

Do I need macOS and Messages.app access to automate iMessage workflows from the CLI?▼

Yes, this requires macOS with Messages.app access and a binary named imsg, integrating through a CLI workflow that necessitates proper privacy and automation permissions to function.

What is the best way to automate batch SMS and iMessage sending for routine tasks?▼

The best way to automate batch SMS and iMessage tasks is using a CLI workflow tool that integrates with Messages.app, allowing you to script routine messaging operations for macOS power users.

Why are my automated iMessage scripts failing to send messages on macOS?▼

Automated iMessage scripts fail when the macOS system lacks the required privacy and automation permissions for the terminal or the imsg binary to access Messages.app.

Can I integrate iMessage sending into my existing shell scripts for batch operations?▼

Yes, you can integrate iMessage sending into shell scripts for batch operations by calling the imsg CLI command, enabling automated message workflows directly from your terminal environment.