imsg

Manage iMessage and SMS chats, send messages, and monitor conversations via macOS command line.

19.0k|5.6k|Updated Jul 9, 2024
One-click install
npx skills add https://github.com/elizaOS/eliza --skill imsg-elizaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imsg
Source: https://github.com/elizaOS/eliza/tree/main/packages/skills/skills/imsg
Command: npx skills add https://github.com/elizaOS/eliza --skill imsg-elizaos

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to interact with iMessage and SMS directly from the command line on macOS, enabling automated messaging and chat management.

Core Features & Use Cases

  • List Chats: View recent conversations with chat IDs.
  • Fetch History: Retrieve message history, including attachments, for specific chats.
  • Send Messages: Compose and send text messages or messages with attachments to specified recipients.
  • Watch Chats: Stream incoming messages in real-time for a given chat.
  • Use Case: Automate sending daily status updates to a team via iMessage or script responses to incoming customer inquiries.

Quick Start

Use the imsg skill to send the text "Hello from Eliza!" to the contact "+14155551212".

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?

You can send iMessage or SMS from the macOS command line by using a CLI tool that interfaces with the Messages.app to compose and dispatch text messages or files to specified recipients.

Can I retrieve message history and attachments from iMessage via CLI?

Yes, you can retrieve iMessage history and attachments via CLI by fetching message records for specific chats, which extracts conversation histories and their associated files.

Do I need Messages.app signed in to automate SMS sending on macOS?

Yes, you need Messages.app signed in and appropriate terminal permissions for automation to manage iMessage and SMS conversations directly from the macOS command line.

How do I monitor incoming iMessage chats in real-time from a terminal?

To monitor incoming iMessage chats in real-time, you can stream incoming messages for a given chat using the watch function provided by macOS messaging CLI tools.

What are the limitations of using a CLI to automate iMessage?

Limitations of using a CLI to automate iMessage include strict macOS platform requirements, dependency on the Messages.app being actively signed in, and the necessity of granting terminal automation permissions.