📨

imsg

Empfohlen

Read and send iMessage/SMS directly from your AI agent via macOS Messages.app — list chats, view history, and send messages.

von OpenClawv1.0.0
CommunicationProductivityAutomationCLI
Verbindung zu VM wird hergestellt...
Verbindung zu VM wird hergestellt...
npx clawhub@latest install imsg
37Aktuelle Installationen
v1.0.0Version

Voraussetzungen

imsg

The imsg skill gives your AI agent full access to macOS Messages.app, enabling it to read and send iMessage and SMS conversations without leaving your workflow. Your agent can browse recent chats, pull conversation history, watch for incoming messages in real time, and send text or media to any phone number or Apple ID.Built on the imsg CLI tool, this skill is designed for hands-free messaging tasks — from quickly texting a contact to retrieving message history — all while respecting safety guardrails that require confirmation before any message is sent.

Funktionsweise

The skill wraps the imsg command-line tool, which interfaces directly with the local Messages.app database and macOS automation APIs. When your agent needs to interact with messages, it:Queries the Messages.app chat database to list conversations or fetch history using commands like imsg chats and imsg history.Optionally watches a specific chat for new incoming messages in real time with imsg watch.Composes and sends messages via imsg send, supporting plain text, file attachments, and explicit service selection (imessage, sms, or auto).Always confirms recipient and message content with the user before dispatching any outbound message, following built-in safety rules.

Hauptfunktionen

List Recent Chats — Retrieve your latest conversations with display names, contact info, and chat IDs in JSON format for easy parsing.Conversation History — Read message history for any chat by ID, with optional attachment metadata included.Real-Time Message Watching — Monitor a specific chat for new incoming messages, including attachments.Send iMessage or SMS — Send text messages to phone numbers or Apple IDs, with optional file attachments and explicit service selection (iMessage, SMS, or auto).Service Selection — Force iMessage (blue bubble), SMS (green bubble), or let Messages.app decide automatically.Safety Guardrails — Built-in rules require confirmation of recipient and message content before sending, preventing accidental or bulk messaging.

Voraussetzungen

macOS (required) — This skill is macOS-only and relies on Messages.app and the local macOS messages database. Not available on Linux or Windows.Messages.app Sign-In (required) — Messages.app must be configured and signed in with your Apple ID and/or carrier SMS account.Full Disk Access (required) — Your terminal application must be granted Full Disk Access in System Settings → Privacy & Security → Full Disk Access so the imsg tool can read the Messages database.Automation Permission for Messages.app (required for sending) — Your terminal must be allowed to automate Messages.app, granted in System Settings → Privacy & Security → Automation.

Anwendungsfälle

Quick Contact Messaging — Tell your agent "Text mom I'll be late" and it will find the contact, confirm the message, and send it on your behalf.Conversation Review — Ask your agent to pull the last 20 messages from a specific chat to catch up on a conversation thread.Message Monitoring — Have your agent watch a chat for new replies while you focus on other tasks, alerting you when a response arrives.Send Files via iMessage — Share a local image, document, or file to a contact through iMessage directly from your agent workflow.

Installation

1
Run in your terminal
npx clawhub@latest install imsg
or
2
Click the Install button at the top of this page for one-click setup

FAQ

Bewertungen

0 Bewertungen

Anmelden, um eine Bewertung zu schreiben

Noch keine Bewertungen. Sei der Erste, der seine Erfahrungen teilt!