imessage

Manage iMessages from the macOS command line via imsg.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/anilcan-kara/nozich-agent --skill imessage-anilcan-kara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imessage
Source: https://github.com/anilcan-kara/nozich-agent/tree/main/skills/apple/imessage
Command: npx skills add https://github.com/anilcan-kara/nozich-agent --skill imessage-anilcan-kara

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool enables macOS users to manage iMessages and SMS directly from the command line using the imsg CLI, simplifying workflows that rely on Messages.app.

Core Features & Use Cases

  • Read recent chats and conversation history from Messages.app.
  • Send texts to phone numbers or Apple IDs without switching apps.
  • Integrate iMessage messaging into scripts, automation, and alerting flows for macOS.

Quick Start

Read the latest Messages.app chats and respond to a contact using imsg.

Frequently Asked Questions about imessage

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

FAQPage Schema
How do I send and receive iMessages from the terminal on macOS?

You can send and receive iMessages from the terminal by interfacing with the Messages app via the imsg CLI. This allows you to read chat history, list conversations, and send messages directly from macOS scripts or automation.

Can I automate iMessage messaging using shell scripts?

Yes, you can automate iMessage messaging by integrating the imsg CLI into your shell scripts. This enables automated text sending to phone numbers or Apple IDs and allows you to build alerting flows without switching apps.

Do I need to install imsg to manage Messages.app from the command line?

Yes, managing Messages.app from the command line requires the imsg CLI installed. You also need a macOS system with Messages app access and must grant permission to automate Messages.app during execution prompts.

What's the best way to read recent iMessage chats without opening the app?

The best way to read recent iMessage chats without opening the app is using the imsg CLI. It interfaces directly with Messages.app on macOS to list conversations and retrieve chat history straight from your terminal.

Does automating iMessage with imsg work with SMS as well?

Yes, automating iMessage with imsg works with SMS. The tool enables macOS users to manage both iMessages and SMS directly from the command line, simplifying workflows that rely on the native Messages.app.

Why does my imsg script fail to send iMessages on macOS?

If your imsg script fails to send iMessages, it likely lacks the required permission to automate Messages.app. You must explicitly grant automation permissions during prompts for the CLI to interface with Messages.app successfully.