bear-share-sync

Detect new Bear notes tagged

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "bear-share-sync" with this command: npx skills add terrycarter1985/bear-share-sync

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=<target>, message=<preview>

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

VariableDefaultPurpose
CANVAS_DIR/root/.openclaw/workspace/canvasesDirectory for canvas files
CANVAS_FILE$CANVAS_DIR/agent_capabilities.canvasTarget canvas file
BB_TARGET(empty — skip iMessage)BlueBubbles target (phone/chat)
TOKEN_FILE~/.config/grizzly/tokenBear API token path
STATE_FILE~/.local/share/bear-share-sync/state.jsonProcessed-note dedup state

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Pipedrive CRM (OpenClaw)

Manage Pipedrive CRM from OpenClaw using API v1, including people, organizations, deals, leads, activities, notes, pipelines, and custom endpoint actions. Us...

Registry SourceRecently Updated
General

Charts

Generate 90-day candlestick charts with SMA 20/50, RSI, Fibonacci retracements, and pattern detection for BTC, ETH, XRP, SUI, Gold, and Silver.

Registry SourceRecently Updated
General

Norman: Tax Report

Review and manage German tax reports including VAT (Umsatzsteuer), income tax prepayments, and Finanzamt submissions. Use when the user asks about taxes, Ste...

Registry SourceRecently Updated
General

Norman: Categorize Transactions

Review and categorize uncategorized bank transactions, match them with invoices, and verify bookkeeping entries. Use when the user wants to review transactio...

Registry SourceRecently Updated