Bear笔记
jiulingyun/openclaw-cn/skills/bear-notes/SKILL.md
通过grizzly CLI创建、搜索和管理Bear笔记。
Skill4.7k starsChanged 9 months ago
What's in it
- Bear Notes
- Getting a Bear Token
- Common Commands
- Options
- Configuration
- Notes
---
name: Bear笔记
description: 通过grizzly CLI创建、搜索和管理Bear笔记。
homepage: https://bear.app
metadata: {"clawdbot":{"emoji":"🐻","os":["darwin"],"requires":{"bins":["grizzly"]},"install":[{"id":"go","kind":"go","module":"github.com/tylerwince/grizzly/cmd/grizzly@latest","bins":["grizzly"],"label":"Install grizzly (go)"}]}}
---
# Bear Notes
Use `grizzly` to create, read, and manage notes in Bear on macOS.
Requirements
- Bear app installed and running
- For some operations (add-text, tags, open-note --selected), a Bear app token (stored in `~/.config/grizzly/token`)
## Getting a Bear Token
For operations that require a token (add-text, tags, open-note --selected), you need an authentication token:
1. Open Bear → Help → API Token → Copy Token
2. Save it: `echo "YOUR_TOKEN" > ~/.config/grizzly/token`
## Common Commands
Create a note
```bash
echo "Note content here" | grizzly create --title "My Note" --tag work
grizzly create --title "Quick Note" --tag inbox < /dev/null
```
Open/read a note by ID
```bash
grizzly open-note --id "NOTE_ID" --enable-callback --json
```
Append text to a note
```bash
echo "Additional content" | grizzly add-text --id "NOTE_ID" --mode append --token-file ~/.config/grizzly/token
```
List all tags
```bash
grizzly tags --enable-callback --json --token-file ~/.config/grizzly/token
```
Search notes (via open-tag)
```bash
grizzly open-tag --name "work" --enable-callback --json
```
## Options
Common flags:
- `--dry-run` — Preview the URL without executing
- `--print-url` — Show the x-callback-url
- `--enable-callback` — Wait for Bear's response (needed for reading data)
- `--json` — Output as JSON (when using callbacks)
- `--token-file PATH` — Path to Bear API token file
## Configuration
Grizzly reads config from (in priority order):
1. CLI flags
2. Environment variables (`GRIZZLY_TOKEN_FILE`, `GRIZZLY_CALLBACK_URL`, `GRIZZLY_TIMEOUT`)
3. `.grizzly.toml` in current directory
4. `~/.config/grizzly/config.toml`
Example `~/.config/grizzly/config.toml`:
```toml
token_file = "~/.config/grizzly/token"
callback_url = "http://127.0.0.1:42123/success"
timeout = "5s"
```
## Notes
- 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)
More agent context in jiulingyun/openclaw-cn
53 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- 1Passwordskills/1password/SKILL.md
- Apple笔记skills/apple-notes/SKILL.md
- Apple提醒事项skills/apple-reminders/SKILL.md
- Birdskills/bird/SKILL.md
- 博客监控器skills/blogwatcher/SKILL.md
- BluOS命令行工具skills/blucli/SKILL.md
- BlueBubblesskills/bluebubbles/SKILL.md
- 摄像头快照skills/camsnap/SKILL.md
- canvasskills/canvas/SKILL.md
- ClawdHubskills/clawdhub/SKILL.md
- 编程代理skills/coding-agent/SKILL.md
- discordskills/discord/SKILL.md
- 八度睡眠控制器skills/eightctl/SKILL.md
- 食物订购skills/food-order/SKILL.md
- Geminiskills/gemini/SKILL.md
- GIF搜索器skills/gifgrep/SKILL.md
- GitHubskills/github/SKILL.md
- 谷歌工作区skills/gog/SKILL.md
- 地点搜索skills/goplaces/SKILL.md
- 喜马拉雅邮件skills/himalaya/SKILL.md
- iMessage短信skills/imsg/SKILL.md
- 本地地点skills/local-places/SKILL.md
- MC Porterskills/mcporter/SKILL.md
- 模型使用情况skills/model-usage/SKILL.md
- 纳米香蕉专业版skills/nano-banana-pro/SKILL.md
- 纳米PDFskills/nano-pdf/SKILL.md
- Notionskills/notion/SKILL.md
- Obsidianskills/obsidian/SKILL.md
- OpenAI图像生成skills/openai-image-gen/SKILL.md
- OpenAI Whisper APIskills/openai-whisper-api/SKILL.md
- OpenAI Whisperskills/openai-whisper/SKILL.md
- OpenHueskills/openhue/SKILL.md
- Oracleskills/oracle/SKILL.md
- 订单CLIskills/ordercli/SKILL.md
- Peekabooskills/peekaboo/SKILL.md
- SAGskills/sag/SKILL.md
- 会话日志skills/session-logs/SKILL.md
- 本地语音合成skills/sherpa-onnx-tts/SKILL.md
- 技能创建器skills/skill-creator/SKILL.md
- Slackskills/slack/SKILL.md
- 音频可视化skills/songsee/SKILL.md
- Sonos控制器skills/sonoscli/SKILL.md
- Spotify播放器skills/spotify-player/SKILL.md
- 内容摘要skills/summarize/SKILL.md
- Things管理skills/things-mac/SKILL.md
- Tmux会话控制skills/tmux/SKILL.md
- Trello管理skills/trello/SKILL.md
- 视频帧提取skills/video-frames/SKILL.md
- 语音通话skills/voice-call/SKILL.md
- WhatsApp命令行工具skills/wacli/SKILL.md
- 天气查询skills/weather/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

