Agent Skills
› NeverSight/learn-skills.dev
› imsg
imsg
GitHubmacOS终端工具,用于管理iMessage和SMS。支持列出聊天、获取历史消息、实时监控聊天以及发送文本或文件消息。需配置Messages.app权限。
Trigger Scenarios
查询或监控iMessage/SMS聊天记录
通过命令行发送iMessage或短信
Install
npx skills add NeverSight/learn-skills.dev --skill imsg -g -y
SKILL.md
Frontmatter
{
"name": "imsg",
"homepage": "https:\/\/imsg.to",
"metadata": {
"azmeth": {
"os": [
"darwin"
],
"emoji": "📨",
"install": [
{
"id": "brew",
"bins": [
"imsg"
],
"kind": "brew",
"label": "Install imsg (brew)",
"formula": "steipete\/tap\/imsg"
}
],
"requires": {
"bins": [
"imsg"
]
}
}
},
"description": "iMessage\/SMS CLI for listing chats, history, watch, and sending."
}
imsg Actions
Overview
Use imsg to read and send Messages.app iMessage/SMS on macOS.
Requirements: Messages.app signed in, Full Disk Access for your terminal, and Automation permission to control Messages.app for sending.
Inputs to collect
- Recipient handle (phone/email) for
send chatIdfor history/watch (fromimsg chats --limit 10 --json)textand optionalfilepath for sends
Actions
List chats
imsg chats --limit 10 --json
Fetch chat history
imsg history --chat-id 1 --limit 20 --attachments --json
Watch a chat
imsg watch --chat-id 1 --attachments
Send a message
imsg send --to "+14155551212" --text "hi" --file /path/pic.jpg
Notes
--service imessage|sms|autocontrols delivery.- Confirm recipient + message before sending.
Ideas to try
- Use
imsg chats --limit 10 --jsonto discover chat ids. - Watch a high-signal chat to stream incoming messages.
Version History
- e0220ca Current 2026-07-05 22:13


