Bear Notes for Openclaw

An automated terminal integration to seamlessly manage Bear notes and tags using the grizzly CLI.

huangfeng1995
v1.0.0
May 25, 2026
0
571
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bear-notes-old

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bear-notes-old using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Bear Notes?

The Bear Notes integration empowers developers to programmatically organize, read, and write within their favorite macOS personal knowledge management tool. By wrapping the robust grizzly command-line utility, this module bridges local AI workflows with physical note-taking apps. Operating as part of the broader ecosystem of Openclaw Skills, it allows AI-driven scripts to seamlessly store documentation, log development sessions, and capture research items without manual overhead.

Using this skill simplifies content capture by bypassing the UI. Developers can automate repetitive organization tasks, enabling clean-text inputs, structured tags, and Markdown parsing. With local execution and low latency, it provides a highly secure approach to developer-oriented personal knowledge management.

Bear Notes Use Cases

  • Developer Log Automation: Automatically append project build summaries, CLI test outputs, or execution traces to centralized notes.
  • Dynamic Tag Management: Categorize code blocks, concepts, and to-do lists on the fly using automated tagging tools.
  • Quick Idea Capture: Send fast text memos directly to the Bear inbox without disrupting the coding flow.
  • Context Extraction for AI: Empower your local AI agent to fetch specific project guidelines or documentation stored under designated tags.

How Bear Notes Works

  1. CLI Commands: The system executes commands using the grizzly CLI executable.
  2. Token Authentication: For write operations and tag list calls, grizzly authenticates requests using a secured Bear API token.
  3. Callback URLs: Reading or querying notes triggers an x-callback-url protocol that Bear natively supports on macOS.
  4. Structured JSON Output: With callback responses enabled, Bear replies with structured JSON payload details about target notes or lists.

Bear Notes Setup

Ensure the Bear application is installed and running on macOS. Then, install the grizzly CLI tool using Go:

go install github.com/tylerwince/grizzly/cmd/grizzly@latest

Fetching the Bear Token

For operations that require a token (such as adding text, listing tags, or opening selected notes), retrieve an API token from Bear:

  1. Open Bear and navigate to Help -> API Token -> Copy Token.
  2. Save the token locally to the grizzly configuration directory:
mkdir -p ~/.config/grizzly
echo "YOUR_TOKEN" > ~/.config/grizzly/token

Configuration Setup

You can optionally configure grizzly using a global configuration file at ~/.config/grizzly/config.toml:

token_file = "~/.config/grizzly/token"
callback_url = "http://127.0.0.1:42123/success"
timeout = "5s"

Bear Notes Data Schema & Taxonomy

The grizzly CLI wraps Bear's native parameters. Retrievable data maps to standard JSON output schemas during callback operations:

Command Flag Type Description
--dry-run Flag Previews constructed x-callback-url query strings without execution
--print-url Flag Prints the active x-callback-url configuration
--enable-callback Flag Required to fetch information or data back from Bear notes
--json Flag Formats retrieved callback responses as valid JSON structures
--token-file Path Points grizzly to your local API authentication token file

Bear Notes Advanced Features

  • Priority Configuration Fallback: Reads settings sequentially from CLI flags, environment variables (e.g., GRIZZLY_TOKEN_FILE), local .grizzly.toml directories, or global home path variables.
  • Synchronous Callbacks: Captures return payloads instantly using a local web listener interface.
  • Dry-Run Audits: Safe preview of note insertions, edits, and structural commands before physical execution.
  • Full Tag Queries: Programmatically search and locate nested collections to align note organization with automated pipelines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*