BlueBubbles
jiulingyun/openclaw-cn/skills/bluebubbles/SKILL.md
为Clawdbot构建或更新BlueBubbles外部通道插件(扩展包,REST发送/探测,webhook入站)。
Skill4.7k starsChanged 9 months ago
What's in it
- BlueBubbles plugin
- Layout
- Internal helpers (use these, not raw API calls)
- Webhooks
- Config (core)
- Message tool notes
--- name: BlueBubbles description: 为Clawdbot构建或更新BlueBubbles外部通道插件(扩展包,REST发送/探测,webhook入站)。 --- # BlueBubbles plugin Use this skill when working on the BlueBubbles channel plugin. ## Layout - Extension package: `extensions/bluebubbles/` (entry: `index.ts`). - Channel implementation: `extensions/bluebubbles/src/channel.ts`. - Webhook handling: `extensions/bluebubbles/src/monitor.ts` (register via `api.registerHttpHandler`). - REST helpers: `extensions/bluebubbles/src/send.ts` + `extensions/bluebubbles/src/probe.ts`. - Runtime bridge: `extensions/bluebubbles/src/runtime.ts` (set via `api.runtime`). - Catalog entry for onboarding: `src/channels/plugins/catalog.ts`. ## Internal helpers (use these, not raw API calls) - `probeBlueBubbles` in `extensions/bluebubbles/src/probe.ts` for health checks. - `sendMessageBlueBubbles` in `extensions/bluebubbles/src/send.ts` for text delivery. - `resolveChatGuidForTarget` in `extensions/bluebubbles/src/send.ts` for chat lookup. - `sendBlueBubblesReaction` in `extensions/bluebubbles/src/reactions.ts` for tapbacks. - `sendBlueBubblesTyping` + `markBlueBubblesChatRead` in `extensions/bluebubbles/src/chat.ts`. - `downloadBlueBubblesAttachment` in `extensions/bluebubbles/src/attachments.ts` for inbound media. - `buildBlueBubblesApiUrl` + `blueBubblesFetchWithTimeout` in `extensions/bluebubbles/src/types.ts` for shared REST plumbing. ## Webhooks - BlueBubbles posts JSON to the gateway HTTP server. - Normalize sender/chat IDs defensively (payloads vary by version). - Skip messages marked as from self. - Route into core reply pipeline via the plugin runtime (`api.runtime`) and `clawdbot/plugin-sdk` helpers. - For attachments/stickers, use `<media:...>` placeholders when text is empty and attach media paths via `MediaUrl(s)` in the inbound context. ## Config (core) - `channels.bluebubbles.serverUrl` (base URL), `channels.bluebubbles.password`, `channels.bluebubbles.webhookPath`. - Action gating: `channels.bluebubbles.actions.reactions` (default true). ## Message tool notes - **Reactions:** The `react` action requires a `target` (phone number or chat identifier) in addition to `messageId`. Example: `action=react target=+15551234567 messageId=ABC123 emoji=❤️`
More agent context in jiulingyun/openclaw-cn
53 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- 1Passwordskills/1password/SKILL.md
- Apple笔记skills/apple-notes/SKILL.md
- Apple提醒事项skills/apple-reminders/SKILL.md
- Bear笔记skills/bear-notes/SKILL.md
- Birdskills/bird/SKILL.md
- 博客监控器skills/blogwatcher/SKILL.md
- BluOS命令行工具skills/blucli/SKILL.md
- 摄像头快照skills/camsnap/SKILL.md
- canvasskills/canvas/SKILL.md
- ClawdHubskills/clawdhub/SKILL.md
- 编程代理skills/coding-agent/SKILL.md
- discordskills/discord/SKILL.md
- 八度睡眠控制器skills/eightctl/SKILL.md
- 食物订购skills/food-order/SKILL.md
- Geminiskills/gemini/SKILL.md
- GIF搜索器skills/gifgrep/SKILL.md
- GitHubskills/github/SKILL.md
- 谷歌工作区skills/gog/SKILL.md
- 地点搜索skills/goplaces/SKILL.md
- 喜马拉雅邮件skills/himalaya/SKILL.md
- iMessage短信skills/imsg/SKILL.md
- 本地地点skills/local-places/SKILL.md
- MC Porterskills/mcporter/SKILL.md
- 模型使用情况skills/model-usage/SKILL.md
- 纳米香蕉专业版skills/nano-banana-pro/SKILL.md
- 纳米PDFskills/nano-pdf/SKILL.md
- Notionskills/notion/SKILL.md
- Obsidianskills/obsidian/SKILL.md
- OpenAI图像生成skills/openai-image-gen/SKILL.md
- OpenAI Whisper APIskills/openai-whisper-api/SKILL.md
- OpenAI Whisperskills/openai-whisper/SKILL.md
- OpenHueskills/openhue/SKILL.md
- Oracleskills/oracle/SKILL.md
- 订单CLIskills/ordercli/SKILL.md
- Peekabooskills/peekaboo/SKILL.md
- SAGskills/sag/SKILL.md
- 会话日志skills/session-logs/SKILL.md
- 本地语音合成skills/sherpa-onnx-tts/SKILL.md
- 技能创建器skills/skill-creator/SKILL.md
- Slackskills/slack/SKILL.md
- 音频可视化skills/songsee/SKILL.md
- Sonos控制器skills/sonoscli/SKILL.md
- Spotify播放器skills/spotify-player/SKILL.md
- 内容摘要skills/summarize/SKILL.md
- Things管理skills/things-mac/SKILL.md
- Tmux会话控制skills/tmux/SKILL.md
- Trello管理skills/trello/SKILL.md
- 视频帧提取skills/video-frames/SKILL.md
- 语音通话skills/voice-call/SKILL.md
- WhatsApp命令行工具skills/wacli/SKILL.md
- 天气查询skills/weather/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

