Skip to content
Skillpedia
Email & messaging260k · #587

imessage

What it does

This skill connects your AI to Messages on a Mac so it can read recent conversations and send texts. It is for Mac users who want help managing their iMessage and SMS messages.

When to use it

  • ✓When you ask your AI to send an iMessage or text to a phone number or Apple ID.
  • ✓When you want to read the recent history of a Messages conversation.
  • ✓When you want to check your recent Messages chats for new activity.

Skill link

https://github.com/NousResearch/hermes-agent/blob/main/skills/apple/imessage/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/skills/apple/imessage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Text my sister that I will be 15 minutes late, and check if she has replied.”

5 new skills a week. 1 minute to read.

How it works

The skill runs the imsg command line tool, which reads your Messages history and sends texts through Messages.app. It needs Full Disk Access and Automation permission the first time.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

iMessage

Use imsg to read and send iMessage/SMS via macOS Messages.app.

Prerequisites

  • macOS with Messages.app signed in
  • Install: brew install steipete/tap/imsg
  • Grant Full Disk Access for terminal (System Settings → Privacy → Full Disk Access)
  • Grant Automation permission for Messages.app when prompted

When to Use

  • User asks to send an iMessage or text message
  • Reading iMessage conversation history
  • Checking recent Messages.app chats
  • Sending to phone numbers or Apple IDs

When NOT to Use

  • Telegram/Discord/Slack/WhatsApp messages → use the appropriate gateway channel
  • Group chat management (adding/removing members) → not supported
  • Bulk/mass messaging → always confirm with user first

Quick Reference

List Chats

imsg chats --limit 10 --json

View History

# By chat ID
imsg history --chat-id 1 --limit 20 --json

# With attachments info
imsg history --chat-id 1 --limit 20 --attachments --json

Send Messages

# Text only
imsg send --to "+14155551212" --text "Hello!"

# With attachment
imsg send --to "+14155551212" --text "Check this out" --file /path/to/image.jpg

# Force iMessage or SMS
imsg send --to "+14155551212" --text "Hi" --service imessage
imsg send --to "+14155551212" --text "Hi" --service sms

Watch for New Messages

imsg watch --chat-id 1 --attachments

Service Options

  • --service imessage — Force iMessage (requires recipient has iMessage)
  • --service sms — Force SMS (green bubble)
  • --service auto — Let Messages.app decide (default)

Rules

  1. Always confirm recipient and message content before sending
  2. Never send to unknown numbers without explicit user approval
  3. Verify file paths exist before attaching
  4. Don't spam — rate-limit yourself

Example Workflow

User: "Text mom that I'll be late"

# 1. Find mom's chat
imsg chats --limit 20 --json | jq '.[] | select(.displayName | contains("Mom"))'

# 2. Confirm with user: "Found Mom at +1555123456. Send 'I'll be late' via iMessage?"

# 3. Send after confirmation
imsg send --to "+1555123456" --text "I'll be late"
FAQ

Will my AI send bulk messages?

The skill says bulk or mass messaging should always be confirmed with you first.

Can it manage group chats?

No. The skill says adding or removing group members is not supported.

Does it work on Windows?

No. The skill requires macOS and Messages.app.

Details

Original description by the author

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

repo: NousResearch/hermes-agent

Popularity

GitHub stars
260k
Ranking position
#587
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills