跳到正文
Skillpedia
任务与项目394k · #44

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/skills/bear-notes/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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:

  1. Open Bear -> Help -> API Token -> Copy Token
  2. 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):

  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:

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)
常见问题

我需要特殊的令牌吗?

部分操作,例如添加文字或列出标签,需要保存在本地文件中的 Bear API 令牌。

Bear 必须正在运行吗?

需要。Mac 上必须已安装并运行 Bear 应用。

能在运行命令前先预览吗?

可以。试运行选项会显示链接,但不会真正执行。

详情

作者的原始描述

Create, search, and manage Bear notes via grizzly CLI.

repo: openclaw/openclaw

热度

GitHub 星标
394k
排名
#44
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能