imessage

Send and receive iMessages/SMS on macOS via the imsg CLI.

Updated Oct 23, 2024
One-click install
npx skills add https://github.com/lenadlm/docker --skill imessage-lenadlm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imessage
Source: https://github.com/lenadlm/docker/tree/main/hermes-skills/skills/apple/imessage
Command: npx skills add https://github.com/lenadlm/docker --skill imessage-lenadlm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires imsg, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies sending and receiving iMessages/SMS on macOS, streamlining communication with the Messages.app.

Core Features & Use Cases

  • Send/Receive iMessages/SMS: Communicate with contacts via macOS Messages.app.
  • View History: Access conversation history and recent chats.
  • Quick Commands: Execute common actions like listing chats, viewing history, and sending messages.

Quick Start

Use imsg send --to "+14155551212" --text "Hello!" to send an iMessage.

Frequently Asked Questions about imessage

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

FAQPage Schema
How do I send iMessages or SMS from the macOS command line?

You can send iMessages or SMS from the macOS command line by using the imsg CLI tool, which routes text inputs directly through the Messages.app. This requires macOS with the Messages.app signed in and the imsg tool installed.

Can I view my iMessage chat history using a terminal command?

Yes, you can view iMessage chat history using terminal commands provided by the imsg CLI. The tool supports listing recent conversations and accessing the history of your chats directly within the macOS terminal environment.

What are the requirements for automating SMS sending on macOS?

Automating SMS sending on macOS requires a Mac with the Messages.app actively signed in to an Apple account, alongside the installation of the imsg command-line tool to execute the send commands.

How does a CLI messaging tool interact with the macOS Messages app?

A CLI messaging tool interacts with the macOS Messages app by passing command-line arguments to the imsg utility, which then interfaces with the native Messages.app framework to dispatch iMessages or SMS texts.

Is there a way to list all active iMessage conversations from the terminal?

Yes, there is a way to list all active iMessage conversations from the terminal by executing the specific list command supported by the imsg CLI tool, returning your available Messages.app chats.

What is the syntax for sending an iMessage via the imsg command?

The syntax for sending an iMessage via the imsg command follows the structure: imsg send --to "[phone_number]" --text "[message_content]", passing the recipient and text to Messages.app.