360 Secure SkillHub
360 安全技能中心

imsg

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

steipete
steipete
热度 32.39
最近更新 2026-09-10 11:39:26
分类:协作依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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.