通过命令行列出聊天、查看短信历史并发送 iMessage 或短信。
整体风险偏低到中等:无独立密钥、无自定义远程端点,且来源为可审计开源项目并有很高社区采用度。主要注意点在于其声明需要 macOS 的 Full Disk Access 与 Messages.app 自动化权限,可读取聊天记录并代表用户发送 iMessage/SMS。
材料明确标注无需额外 API key、token 或环境变量;主要依赖用户已登录的 macOS Messages.app 会话,而非技能自身持有独立凭证,因此独立凭证泄露面较小。
未声明连接第三方自定义远程端点,但其核心功能是通过 Messages.app 发送 iMessage/SMS,因此用户输入的消息内容和可能的附件会被传递给消息接收方,并经由 Apple/运营商消息基础设施传输。
文档展示以 CLI 形式执行本机命令(如 imsg chats/history/send/watch),并声明发送消息需要对 Messages.app 的 Automation 权限;这属于本地进程执行与系统自动化能力,但未见超出声明功能的异常系统权限请求。
材料明确要求终端具备 Full Disk Access,并支持列出聊天、读取历史、查看附件信息,说明其可访问本机 Messages 相关数据,涉及较敏感的个人通信内容;不过该访问范围与其声明用途基本一致。
正面因素是 GitHub 开源、源码可审计且社区采用度极高;未见闭源外传红旗。需留意的是许可证未声明、维护状态未知,且当前材料主要是 README/技能描述,实际实现与依赖仍应在仓库中进一步核验。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "imsg" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/skills/imsg/SKILL.md 2. 保存为 ~/.claude/skills/imsg/SKILL.md 3. 装好后重载技能,告诉我可以用了
请用 imsg 列出最近 10 个聊天会话,并显示与“张三”的最近 20 条消息记录。
返回最近聊天列表,并展示指定联系人的消息历史内容。
请用 imsg 向联系人“李四”发送短信:明天下午 3 点开会,记得带上项目资料。
生成并执行发送指令,成功把提醒消息发给指定联系人。
请用 imsg 查询与“王敏”过去 7 天的消息记录,并按时间顺序整理出来。
输出指定时间范围内的聊天记录,便于回顾沟通内容。
Use imsg to read and send iMessage/SMS via macOS Messages.app.
Use when:
Do not use when:
message tool with channel:telegrammessage tool with channel:discordslack skillimsg chats --limit 10 --json
# By chat ID
imsg history --chat-id 1 --limit 20 --json
# With attachments info
imsg history --chat-id 1 --limit 20 --attachments --json
imsg watch --chat-id 1 --attachments
# Text only
imsg send --to "+14155551212" --text "Hello!"
# With attachment
imsg send --to "+14155551212" --text "Check this out" --file /path/to/image.jpg
# Specify service
imsg send --to "+14155551212" --text "Hi" --service imessage
imsg send --to "+14155551212" --text "Hi" --service sms
--service imessage - Force iMessage (requires recipient has iMessage)--service sms - Force SMS (green bubble)--service auto - Let Messages.app decide (default)User: "Text mom that I'll be late"
# 1. Find mom's chat
imsg chats --limit 20 --json | jq '.[] | select(.displayName | contains("Mom"))'
# 2. Confirm with user
# "Found Mom at +1555123456. Send 'I'll be late' via iMessage?"
# 3. Send after confirmation
imsg send --to "+1555123456" --text "I'll be late"
快速生成概念、架构、流程与白板图,支持 SVG、HTML 或 Excalidraw 格式
提供对 iMessage 的只读访问,便于检索、查看与整理消息内容。