bluebubbles
它能做什么
这项技能让 AI 通过 BlueBubbles 连接发送和管理 iMessage 对话。适合希望智能体帮助处理苹果设备上短信的人。
适用场景
- ✓当你想给某位联系人发送 iMessage 或短信时。
- ✓当你想对已发送的消息做出回应、编辑或撤回时。
- ✓当你需要在对话中以附件形式发送文件或照片的时候。
技能链接
https://github.com/spinabot/brigade/blob/main/skills/bluebubbles/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我妹妹发条短信,告诉她我会晚十五分钟到。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会使用通用的消息工具,以 BlueBubbles 作为渠道,并提供收件人和文字内容。它也可以在同一对话中进行回应、编辑、回复以及处理附件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
BlueBubbles Actions
Overview
BlueBubbles is Brigade’s recommended iMessage integration. Use the message tool with channel: "bluebubbles" to send messages and manage iMessage conversations: send texts and attachments, react (tapbacks), edit/unsend, reply in threads, and manage group participants/names/icons.
Inputs to collect
target(preferchat_guid:...; also+15551234567in E.164 oruser@example.com)messagetext for send/edit/replymessageIdfor react/edit/unsend/reply- Attachment
pathfor local files, orbuffer+filenamefor base64
If the user is vague ("text my mom"), ask for the recipient handle or chat guid and the exact message content.
Actions
Send a message
{
"action": "send",
"channel": "bluebubbles",
"target": "+15551234567",
"message": "hello from Brigade"
}
React (tapback)
{
"action": "react",
"channel": "bluebubbles",
"target": "+15551234567",
"messageId": "<message-guid>",
"emoji": "❤️"
}
Remove a reaction
{
"action": "react",
"channel": "bluebubbles",
"target": "+15551234567",
"messageId": "<message-guid>",
"emoji": "❤️",
"remove": true
}
Edit a previously sent message
{
"action": "edit",
"channel": "bluebubbles",
"target": "+15551234567",
"messageId": "<message-guid>",
"message": "updated text"
}
Unsend a message
{
"action": "unsend",
"channel": "bluebubbles",
"target": "+15551234567",
"messageId": "<message-guid>"
}
Reply to a specific message
{
"action": "reply",
"channel": "bluebubbles",
"target": "+15551234567",
"replyTo": "<message-guid>",
"message": "replying to that"
}
Send an attachment
{
"action": "send",
"channel": "bluebubbles",
"target": "+15551234567",
"path": "/tmp/photo.jpg",
"message": "here you go"
}
Use message for the user-facing text. Do not rely on caption as a distinct BlueBubbles/iMessage feature.
Send with an iMessage effect
{
"action": "sendWithEffect",
"channel": "bluebubbles",
"target": "+15551234567",
"message": "big news",
"effect": "balloons"
}
Notes
- Requires gateway config
channels.bluebubbles(serverUrl/password/webhookPath). - Prefer
chat_guidtargets when you have them (especially for group chats). - For media + text, treat
messageas canonical. Brigade can acceptcaptionas an alias, but BlueBubbles/iMessage does not offer a reliable native attachment-caption concept. - In practice, media with text may arrive as the attachment plus a separate text message rather than one captioned bubble. Do not promise exact attachment-caption rendering.
- If you must use the channel-specific file action, the canonical action name is
upload-file;sendAttachmentis a legacy alias. - BlueBubbles supports rich actions, but some are macOS-version dependent (for example, edit may be broken on macOS 26 Tahoe).
- The gateway may expose both short and full message ids; full ids are more durable across restarts.
- Developer reference for the underlying plugin lives in the BlueBubbles plugin package README.
Ideas to try
- React with a tapback to acknowledge a request.
- Reply in-thread when a user references a specific message.
- Send a file attachment with short message text, expecting BlueBubbles to treat the text as best-effort companion text rather than a guaranteed native caption.
常见问题
需要先进行设置吗?
需要。BlueBubbles 是一个 iMessage 连接,智能体使用之前必须已经设置好。
它可以用于群聊吗?
可以。它可以管理群成员、群名称和群图标。
它如何选择发送对象?
你提供电话号码、电子邮件地址或聊天 ID,该技能会将其作为目标。
详情
作者的原始描述
Use when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
repo: spinabot/brigade
热度
- GitHub 星标
- 11k
- 排名
- #11712
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …