ClawSkills logoClawSkills

Imsg

用于列出聊天记录、历史记录、监视和发送信息的 iMessage/SMS CLI。

介绍

# imsg

使用 `imsg` 在 macOS 上读取和发送 Messages.app 的 iMessage/SMS。

要求 - 已登录 Messages.app - 终端拥有完全磁盘访问权限 - 控制 Messages.app 的自动化权限(用于发送)

常用命令 - 列出聊天:`imsg chats --limit 10 --json` - 历史记录:`imsg history --chat-id 1 --limit 20 --attachments --json` - 监听:`imsg watch --chat-id 1 --attachments` - 发送:`imsg send --to "+14155551212" --text "hi" --file /path/pic.jpg`

备注 - `--service imessage|sms|auto` 控制投递方式。 - 发送前请确认收件人和消息内容。

更多产品