imsg

Send iMessage and SMS messages with attachments via the command line.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/Justicegaines03/OpenClaw_NIST-AI-RMF_Compliance --skill imsg-justicegaines03
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: imsg
Source: https://github.com/Justicegaines03/OpenClaw_NIST-AI-RMF_Compliance/tree/main/skills/imsg
Command: npx skills add https://github.com/Justicegaines03/OpenClaw_NIST-AI-RMF_Compliance --skill imsg-justicegaines03

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to send iMessage and SMS directly from your command line, integrating your messaging into your workflow without needing to open the Messages app.

Core Features & Use Cases

  • Send Messages: Compose and send text messages and messages with attachments to phone numbers or Apple IDs.
  • View History: Retrieve conversation history for specific chats.
  • List Chats: See a list of your recent iMessage conversations.
  • Use Case: Quickly send a confirmation text to a client about an upcoming appointment or share a photo with a friend via iMessage.

Quick Start

Use the imsg skill to send the text "Hello!" to the phone number +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 command line using the imsg tool. It enables sending text messages and attachments directly to phone numbers or Apple IDs without opening the Messages app.

Can I send iMessage attachments like photos via CLI?▼

Yes, you can send iMessage attachments via CLI. The imsg tool supports composing and sending messages that include file attachments alongside standard text to specified contacts.

Do I need to have Messages.app signed in to send SMS from the terminal?▼

Yes, you need Messages.app signed in to send SMS from the terminal. The imsg tool requires macOS with the Messages app properly signed in and granted appropriate permissions to route messages.

How do I retrieve iMessage conversation history using a CLI tool?▼

You can retrieve iMessage conversation history using the imsg tool. It allows you to view the history of specific chats and list your recent iMessage conversations directly from the command line.

Is it possible to specify SMS or iMessage as the service type when sending a message?▼

Yes, it is possible to specify the service type when sending a message. The imsg tool allows you to explicitly choose between iMessage and SMS protocols for your outgoing CLI messages.