← 返回 Skills 市场
Bear Share Sync
作者
terrycarter1985
· GitHub ↗
· v1.0.0
· MIT-0
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bear-share-sync
功能描述
Detect new Bear notes tagged
使用说明 (SKILL.md)
Bear → Canvas → BlueBubbles Sync
Detect #share-tagged Bear notes, update a JSON Canvas knowledge map, and push a preview to a work group via BlueBubbles.
Prerequisites
- Bear app running with
grizzlyCLI installed - Bear API token at
~/.config/grizzly/token - BlueBubbles channel configured in gateway (for iMessage distribution)
jqavailable
Workflow
- Detect — Run
scripts/sync_share_notes.shto query Bear for#sharenotes viagrizzly open-tag --name share. - Dedup — The script tracks processed note IDs in
~/.local/share/bear-share-sync/state.json; only new notes are handled. - Canvas update — Each new note becomes a green
textnode appended tocanvases/agent_capabilities.canvas. See canvas-schema.md for node structure. - Preview — The script outputs a preview summary. If
BB_TARGETis set, it signals that a BlueBubbles send is needed. - Distribute — When the script signals
BB_SEND_REQUIRED=1, use themessagetool withchannel="bluebubbles"andtarget=$BB_TARGETto send the preview text.
Running
# One-shot sync
BB_TARGET="+15551234567" bash scripts/sync_share_notes.sh
# Then send preview (if script output includes BB_SEND_REQUIRED=1)
# Use the message tool: action=send, channel=bluebubbles, target=\x3Ctarget>, message=\x3Cpreview>
Scheduled sync (cron)
Set up a cron job to check periodically:
{
"schedule": { "kind": "every", "everyMs": 300000 },
"payload": {
"kind": "agentTurn",
"message": "Run bear-share-sync: execute scripts/sync_share_notes.sh with BB_TARGET set to the work group, then send any preview via BlueBubbles if needed."
}
}
Configuration
| Variable | Default | Purpose |
|---|---|---|
CANVAS_DIR |
/root/.openclaw/workspace/canvases |
Directory for canvas files |
CANVAS_FILE |
$CANVAS_DIR/agent_capabilities.canvas |
Target canvas file |
BB_TARGET |
(empty — skip iMessage) | BlueBubbles target (phone/chat) |
TOKEN_FILE |
~/.config/grizzly/token |
Bear API token path |
STATE_FILE |
~/.local/share/bear-share-sync/state.json |
Processed-note dedup state |
安全使用建议
Review or fix the deduplication logic before enabling BB_TARGET or scheduled sync. Test in dry-run mode first, confirm the BlueBubbles recipient, and only tag Bear notes #share when their snippets are safe to persist in the canvas and send to the configured group.
功能分析
Type: OpenClaw Skill
Name: bear-share-sync
Version: 1.0.0
The skill bundle provides a legitimate workflow for syncing Bear notes to a JSON Canvas and distributing previews via BlueBubbles. It uses the grizzly CLI and jq for data processing, with all file operations (reading Bear tokens from ~/.config/grizzly/token and updating local canvas files) being transparent and consistent with the stated purpose. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The Bear-to-canvas-to-BlueBubbles workflow is coherent, but the implementation does not appear to honor the advertised 'only new notes' handling for previews and send signals.
Instruction Scope
The optional scheduled workflow asks the agent to run every five minutes and send previews through BlueBubbles, which becomes materially risky because the script may repeatedly signal sends for already-seen notes.
Install Mechanism
There is no install spec or remote installer, but SKILL.md requires grizzly, jq, a Bear token file, and BlueBubbles configuration that are not reflected in the registry requirements.
Credentials
Reading Bear notes tagged #share, writing canvas/state files, and sending previews via iMessage are purpose-aligned, but they touch private notes and external messaging.
Persistence & Privilege
The skill creates persistent state and recommends recurring execution, but the state file is not used to gate the preview/send path, weakening the stated containment.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bear-share-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/bear-share-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: detect #share Bear notes → JSON Canvas nodes → BlueBubbles preview
元数据
常见问题
Bear Share Sync 是什么?
Detect new Bear notes tagged. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。
如何安装 Bear Share Sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bear-share-sync」即可一键安装,无需额外配置。
Bear Share Sync 是免费的吗?
是的,Bear Share Sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Bear Share Sync 支持哪些平台?
Bear Share Sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bear Share Sync?
由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.0.0。
推荐 Skills