Manage Bear Notes with Grizzly
Use grizzly to create, read, and manage notes in Bear on macOS.
Requirements
- The grizzly command-line tool must be available.
- The Bear app must be installed and running.
- Some operations (add-text, tags, open-note --selected) require a Bear app token stored in ~/.config/grizzly/token.
- For operations that require a token (add-text, tags, open-note --selected), you need an authentication token.
How to use
Use grizzly to work with Bear notes on macOS.
Configuration precedence, from highest to lowest:
CLI flags override every other configuration source.
Environment variables are the next fallback.
A project-local .grizzly.toml applies before the user config.
~/.config/grizzly/config.toml is the final fallback.
Bear must be running for commands to work.
Note IDs are Bear's internal identifiers, visible in note info or via callbacks.
Use --enable-callback when you need to read data back from Bear.
Some operations require a valid token (add-text, tags, open-note --selected).
Open Bear -> Help -> API Token -> Copy Token.
Save it: echo "YOUR_TOKEN" > ~/.config/grizzly/token
Common Commands
Create a note.
echo "Note content here" | grizzly create --title "My Note" --tag work
grizzly create --title "Quick Note" --tag inbox < /dev/null
Open or read a note by ID.
grizzly open-note --id "NOTE_ID" --enable-callback --json
Append text to a note.
echo "Additional content" | grizzly add-text --id "NOTE_ID" --mode append --token-file ~/.config/grizzly/token
List all tags.
grizzly tags --enable-callback --json --token-file ~/.config/grizzly/token
Search notes (via open-tag).
grizzly open-tag --name "work" --enable-callback --json
- CLI flags.
- Environment variables (GRIZZLY_TOKEN_FILE, GRIZZLY_CALLBACK_URL, GRIZZLY_TIMEOUT).
- .grizzly.toml in the current directory.
- ~/.config/grizzly/config.toml.
token_file = "~/.config/grizzly/token"
callback_url = "http://127.0.0.1:42123/success"
timeout = "5s"
Source: openclaw/openclaw and its contributors. License: MIT.
Copyright (c) 2026 OpenClaw Foundation
Translation and editorial adaptation by ClawCases.
>Resources
>Related Use Cases
Apple Notes CLI
Manage Apple Notes directly from the terminal with the memo CLI: create, view, edit, delete, search, move notes between folders, and export notes to HTML or Markdown.
Automate the macOS UI with the Peekaboo CLI
Use Peekaboo to inspect the macOS UI, act on the intended target, and verify the result. The examples use v4 syntax; check the current documentation and the installed command's help, and for older versions follow that version's help.
Work with the X API using xurl
Use the xurl command-line tool to post, reply, search, send DMs, upload media and call raw X API v2 endpoints from the terminal.