bear-notes
它能做什么
它指导 AI 智能体在 Mac 上的 Bear 应用中创建和管理笔记。它适合习惯用 Bear 做笔记、希望智能体帮忙创建或查找笔记的人。
适用场景
- ✓你想在 Bear 中创建一篇带标题和标签的新笔记的时候。
- ✓需要在现有 Bear 笔记末尾添加文字的时候。
- ✓想查找带有某个特定标签的 Bear 笔记的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/skills/bear-notes/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 Bear 中创建一篇名为“每周计划”的笔记,标签为 work,并写入这三个目标。”
每周 5 个新技能,1 分钟读完。
工作原理
技能使用 grizzly 命令在 Bear 中创建、打开或修改笔记。部分操作需要 Bear API 令牌,你需要从 Bear 应用中复制并保存到电脑上。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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:
- 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/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
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):
- CLI flags
- Environment variables (
GRIZZLY_TOKEN_FILE,GRIZZLY_CALLBACK_URL,GRIZZLY_TIMEOUT) .grizzly.tomlin current directory~/.config/grizzly/config.toml
Example ~/.config/grizzly/config.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-callbackwhen you need to read data back from Bear - Some operations require a valid token (add-text, tags, open-note --selected)
常见问题
我需要特殊的令牌吗?
部分操作,例如添加文字或列出标签,需要保存在本地文件中的 Bear API 令牌。
Bear 必须正在运行吗?
需要。Mac 上必须已安装并运行 Bear 应用。
能在运行命令前先预览吗?
可以。试运行选项会显示链接,但不会真正执行。
详情
热度
- GitHub 星标
- 394k
- 排名
- #44
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。