imessage

Send and read iMessages and SMS on macOS via the imsg CLI.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill imessage-zurybr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imessage
Source: https://github.com/Zurybr/lefarma-skills/tree/main/tools/imessage
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill imessage-zurybr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows you to send and read iMessages and SMS directly from your macOS device, enabling automated communication and message-based workflows.

Core Features & Use Cases

  • Send Messages: Compose and send text messages and messages with attachments to phone numbers or existing chat IDs.
  • Read Messages: View chat history and recent conversations.
  • Use Case: Automate appointment reminders by sending a confirmation text to a client's phone number.

Quick Start

Send a text message to +15555555555 with the text "Hello!".

Frequently Asked Questions about imessage

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

FAQPage Schema
How do I automate sending iMessage and SMS texts on macOS?

You can automate sending iMessage and SMS texts on macOS by using the imsg CLI tool to compose and send messages with attachments to phone numbers or chat IDs. This enables automated communication workflows and scheduled texting services directly from your machine.

Can I read iMessage chat history from the command line on Mac?

Yes, you can read iMessage chat history from the command line on Mac. The imsg CLI tool allows you to view chat history and recent conversations, making it possible to retrieve message data for logging or automated workflow triggers.

Do I need specific macOS privacy permissions to automate messaging workflows?

Yes, automating messaging workflows requires specific macOS privacy permissions. You must grant Full Disk Access and Automation permissions to the CLI tool, and you need Swift build tools installed to compile the imsg CLI on your macOS device.

What are the limitations of using a CLI tool for SMS automation on Mac?

Limitations of using a CLI tool for SMS automation on Mac include strict dependency on macOS privacy permissions like Full Disk Access and Automation. The tool requires Swift build tools to compile and is restricted to the macOS platform, limiting cross-platform deployment.

How does message-based workflow automation work on macOS?

Message-based workflow automation on macOS works by using the imsg CLI to send and receive iMessages and SMS. It facilitates automated texting and scheduling services, allowing you to trigger actions like appointment reminders by sending confirmation texts to client phone numbers.