imsg

Installation
SKILL.md

imsg

The imsg command-line tool enables you to send and read iMessage and SMS messages directly from the terminal, query your Messages database, and watch for incoming messages.

⚠️ Important Privacy & Database Notes

  • Database Access: imsg reads from your local Messages database (~/Library/Messages/chat.db). This is a sensitive file containing your complete message history.
  • Permissions: macOS may prompt for permissions when accessing the Messages database. Terminal needs Full Disk Access on newer macOS versions.
  • Data Sensitivity: Be cautious when working with message history — it contains private conversations.
  • Database Locking: If Messages.app is open, the database may be locked. Close Messages.app if you encounter access issues.

Commands Overview

imsg has four main commands:

Related skills

More from trtmn/agent-skills

Installs
3
First Seen
Mar 24, 2026