按用户明确指令,在得到大脑(Get笔记)中保存、搜索并管理笔记与知识库。
编程
Bear Share Sync
试用Detect new Bear notes tagged
它能做什么
Three-step pipeline: **Bear #share → Canvas node → iMessage preview**.
技能文档
Bear Share Sync
Three-step pipeline: Bear #share → Canvas node → iMessage preview.
Prerequisites
- Bear running with
grizzlyCLI installed and token configured (~/.config/grizzly/token) - BlueBubbles channel configured in OpenClaw gateway (
channels.bluebubbles) - Canvas file at
canvases/agent_capabilities.canvas(created on first run if missing)
Configuration
Set environment variables (or defaults apply):
| Variable | Default | Purpose |
|---|---|---|
BEAR_SHARE_TAG | share | Bear tag to watch |
BEAR_SHARE_CANVAS | canvases/agent_capabilities.canvas | Path to canvas file |
BEAR_SHARE_TARGET | (required) | iMessage target: E.164 phone, email, or chat_guid:... |
BEAR_SHARE_STATE | ~/.bear-share-sync/state.json | Tracks processed note IDs |
Workflow
1. Poll for new #share notes
bash scripts/poll-share-notes.sh
Outputs JSON array of unprocessed notes (id, title, content, tags). Updates state file to mark notes as seen.
2. Update canvas
For each new note, append a knowledge node to the canvas. Run:
python3 scripts/update-canvas.py --canvas "$BEAR_SHARE_CANVAS" --notes /dev/stdin
Node layout: new nodes placed at Y = max(existing Y) + 200, X = 0. Node color = "4" (green). Edge from a central "Shared Notes" group node if present.
See references/canvas-schema.md for the JSON Canvas structure.
3. Send preview via BlueBubbles
bash scripts/send-preview.sh "" "" ""
Uses the message tool with channel: "bluebubbles". Sends a compact preview:
📝 New shared note:
…
🔗 See canvas for full node.
Full Pipeline (one-shot)
NOTES=$(bash scripts/poll-share-notes.sh)
if [ "$NOTES" != "[]" ]; then
echo "$NOTES" | python3 scripts/update-canvas.py --canvas "$BEAR_SHARE_CANVAS" --notes /dev/stdin
echo "$NOTES" | python3 -c "
import json, sys, subprocess
for n in json.load(sys.stdin):
subprocess.run(['bash','scripts/send-preview.sh',
'$BEAR_SHARE_TARGET', n['title'], n['content'][:280]])
"
fi
Scheduling
Set up a cron job to poll every 15 minutes:
*/15 * * * * cd /path/to/skill && ./scripts/poll-share-notes.sh | ...
Or use OpenClaw cron with payload.kind = "agentTurn" and the pipeline command.
Notes
- The state file prevents re-processing; delete it to re-sync all notes.
- Canvas uses Obsidian-compatible JSON Canvas spec (see references/canvas-schema.md).
- If BlueBubbles send fails, the canvas is still updated; check gateway logs for delivery errors.
相关技能
在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。
把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。
通过一次 REST API 调用,向 10 个社交平台发布视频、图片、文字与文档。
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。
terrycarter1985 的更多技能
浏览全部技能为中国小学三到六年级英语书面作业打分,并给出符合年龄的鼓励式反馈。
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market c...
Control whole-house music scenes combining Spotify playback with Airfoil speaker routing. Quick presets for morning, party, chill modes.
Generate reusable, policy-aligned customer service replies for e-commerce aftersales scenarios. Use when support staff need fast, compliant Chinese responses...
Control whole-house music scenes combining Spotify playback with Airfoil speaker routing. Quick presets for morning, party, chill modes.
Comprehensive developer cheatsheets and quick references for Git, Docker, Kubernetes, jq, curl, and common Linux commands. Use when needing quick lookups for...