MyClaw
HomeProductsUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
Home
ProductsOpenClaw HostingHermes Agent Hosting
Use CasesPricingSkills
ResourcesCompareTutorialLearnBlogUpdatesResourcesCommunity
CompanyAboutSupport
Sign In
MyClaw.ai

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingUse CasesPricingCompareAlibaba Cloud

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

Legal

TermsPrivacyCookieGDPRContact

© 2023 Cubo World Inc. All rights reserved.

← Back to Skills
Communication
📨

imsg

Featured

Send and read iMessages & SMS from your AI agent via macOS Messages.app — with chat history, attachments, and real-time watching.

by OpenClawv1.0.0
AutomationCLISelf-HostedDeveloper Tool
Connecting to VM...
Connecting to VM...
npx clawhub@latest install imsg
79Current Installs
📦
v1.0.0Version

Requirements

imsg

imsg Skill Overview

imsg is a macOS-only CLI skill that lets your AI agent interact with Apple Messages.app — reading conversation history, listing recent chats, watching for new messages, and sending iMessages or SMS to phone numbers or Apple IDs. It wraps the imsg command-line tool to give your agent full read/write access to your native Messages inbox, with support for attachments and explicit service selection (iMessage vs. SMS).

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install imsg
or

Click the Install button at the top of this page for one-click setup

When to Use imsg

Best Fit

  • You want your agent to send an iMessage or SMS on your behalf to a contact's phone number or Apple ID.
  • You need to read recent chat history or browse your Messages.app conversations programmatically.
  • You want to watch a specific chat for new incoming messages in real time.
  • You are sending to a contact already in your Messages.app on a Mac where you are signed in to iCloud.

When Not to Use

  • You want to message on Telegram, Signal, WhatsApp, Discord, or Slack — use the appropriate channel or skill for those platforms instead.
  • You need to manage group chats (adding or removing members) — this is not supported by imsg.
  • You are on Windows or Linux — imsg requires macOS with Messages.app.
  • You want to do bulk or mass messaging — always get explicit user confirmation per message.

Key Features

List Recent Chats

Retrieve a paginated, JSON-formatted list of your most recent Messages.app conversations. Useful for finding a contact's chat ID before reading history or sending a message.

Read Conversation History

Fetch message history for any chat by ID, with a configurable limit. Optionally include attachment metadata so your agent knows what files were shared.

Send iMessage or SMS

Send text messages (and file attachments) to any phone number or Apple ID. Explicitly force --service imessage or --service sms, or let Messages.app decide automatically.

Watch for Incoming Messages

Stream new messages from a specific chat in real time using imsg watch, including attachment info — ideal for building responsive messaging workflows.

Attachment Support

Send local files alongside text messages using --file /path/to/file. History queries can also surface attachment metadata so your agent can reference previously shared files.

Built-in Safety Rules

The skill's guidance enforces confirmation of recipient and message content before sending, avoids messaging unknown numbers without approval, and discourages rate-limit-violating bulk sends.

Use Cases

Text a family member you'll be late

Ask your agent to "text Mom I'll be late." It searches your chats for Mom's contact, confirms the number and message text with you, then sends via iMessage or SMS — all without opening the Messages app manually.

Review recent conversations

Pull the last 20 messages from a specific chat to give your agent context about an ongoing conversation before drafting a reply or summary.

Send a file or photo via Messages

Share a local image or document with a contact by providing a file path — the skill attaches it to the outgoing message automatically.

Monitor a chat for new messages

Use imsg watch on a specific chat ID so your agent can react to incoming messages in real time, enabling lightweight conversational automation over iMessage.

Requirements

  • macOS System Access — Requires macOS with Messages.app signed in to an Apple ID/iCloud account.
  • Full Disk Access — The terminal running imsg must be granted Full Disk Access in System Settings → Privacy & Security.
  • Automation Permission — Messages.app automation permission must be granted for sending messages.
  • imsg binary — Install via Homebrew: brew install steipete/tap/imsg.
Connecting to VM...
npx clawhub@latest install imsg
79Current Installs
📦
v1.0.0Version

Requirements

imsg

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!