360 Secure SkillHub
360 安全技能中心

imsg

基于 macOS 命令行工具 imsg,用于列出聊天、查看历史、监听新消息并发送 iMessage/SMS。依赖 Messages.app 登录、终端完全磁盘访问和自动化权限,通过 brew 安装 steipete/tap/imsg,支持文本和图片附件发送。

分类:协作
steipete
steipete
热度 59.71
最近更新 2026-09-10 11:39:26

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add steipete/imsg
兼容性
通用兼容
联网要求
不联网
数据出网
可选出网
Metadata
name
imsg
description
iMessage/SMS CLI for listing chats, history, watch, and sending.
homepage
https://imsg.to
metadata
{"clawdbot":{"emoji":"📨","os":["darwin"],"requires":{"bins":["imsg"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/imsg","bins":["imsg"],"label":"Install imsg (brew)"}]}}

imsg

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

Requirements

  • Messages.app signed in
  • Full Disk Access for your terminal
  • Automation permission to control Messages.app (for sending)

Common commands

  • List chats: imsg chats --limit 10 --json
  • History: imsg history --chat-id 1 --limit 20 --attachments --json
  • Watch: imsg watch --chat-id 1 --attachments
  • Send: imsg send --to "+14155551212" --text "hi" --file /path/pic.jpg

Notes

  • --service imessage|sms|auto controls delivery.
  • Confirm recipient + message before sending.