iMessage

Read Messages.app conversations and send messages via CLI or AppleScript with confirmation.

577|62|Updated May 15, 2026
One-click install
npx skills add https://github.com/agentic-in/elephant-agent --skill imessage-agentic-in
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iMessage
Source: https://github.com/agentic-in/elephant-agent/tree/main/packages/skills/builtin_packages/apple/imessage
Command: npx skills add https://github.com/agentic-in/elephant-agent --skill imessage-agentic-in

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Allows reading or sending Messages.app conversations on macOS via CLI or AppleScript, with explicit user confirmation before outbound messages.

Core Features & Use Cases

  • Read existing conversations from Messages.app.
  • Compose and send messages via CLI or AppleScript with explicit confirmation.
  • Integrate with automated workflows and reminders on macOS.

Quick Start

Ask the agent to read or send iMessage conversations on macOS after confirming the recipient and text.

Frequently Asked Questions about iMessage

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

FAQPage Schema
How do I send iMessage from the command line on macOS?

To send iMessage from the command line on macOS, you can use AppleScript or CLI tooling to interact with Messages.app. The skill drafts the message and requires explicit user confirmation before executing the outbound action.

Can I read iMessage conversation history using AppleScript?

Yes, you can read iMessage conversation history using AppleScript. The skill provides read-only access to Messages.app conversations, allowing you to perform lookups on existing message history directly from your macOS system.

Does sending iMessage via CLI require manual confirmation?

Yes, sending iMessage via CLI requires manual confirmation. The skill ensures safe outbound messaging by prompting the user to explicitly confirm the recipient and text before sending any message through the Messages.app.

What macOS automation privileges are needed to control Messages.app?

To control Messages.app via CLI or AppleScript, you need macOS automation privileges granted to your terminal or script environment. This allows the skill to access message history and execute confirmed outbound actions.

Is there a way to automate outbound messages in Messages.app without accidental sends?

You can automate outbound messages in Messages.app safely by using this skill to draft texts via CLI or AppleScript. It prevents accidental sends by enforcing explicit user confirmation prior to dispatching any outbound message.

What are the limitations of using CLI to interact with iMessage?

Limitations of using CLI to interact with iMessage include the strict requirement for macOS automation privileges and AppleScript or CLI tooling. Additionally, the skill only supports read history lookups and controlled outbound actions with mandatory confirmation.