← Back to Skills Marketplace
terrycarter1985

Bear Share Sync

by terrycarter1985 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
44
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bear-share-sync
Description
Detect new Bear notes tagged
README (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 grizzly CLI installed
  • Bear API token at ~/.config/grizzly/token
  • BlueBubbles channel configured in gateway (for iMessage distribution)
  • jq available

Workflow

  1. Detect — Run scripts/sync_share_notes.sh to query Bear for #share notes via grizzly open-tag --name share.
  2. Dedup — The script tracks processed note IDs in ~/.local/share/bear-share-sync/state.json; only new notes are handled.
  3. Canvas update — Each new note becomes a green text node appended to canvases/agent_capabilities.canvas. See canvas-schema.md for node structure.
  4. Preview — The script outputs a preview summary. If BB_TARGET is set, it signals that a BlueBubbles send is needed.
  5. Distribute — When the script signals BB_SEND_REQUIRED=1, use the message tool with channel="bluebubbles" and target=$BB_TARGET to 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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bear-share-sync
  3. After installation, invoke the skill by name or use /bear-share-sync
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: detect #share Bear notes → JSON Canvas nodes → BlueBubbles preview
Metadata
Slug bear-share-sync
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Bear Share Sync?

Detect new Bear notes tagged. It is an AI Agent Skill for Claude Code / OpenClaw, with 44 downloads so far.

How do I install Bear Share Sync?

Run "/install bear-share-sync" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bear Share Sync free?

Yes, Bear Share Sync is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Bear Share Sync support?

Bear Share Sync is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bear Share Sync?

It is built and maintained by terrycarter1985 (@terrycarter1985); the current version is v1.0.0.

💬 Comments