Community编程与开发github.com

Bear 笔记

通过 grizzly CLI 创建、搜索和管理 Bear 笔记。

Bear 笔记 是什么?

Bear Notes 技能允许 AI 代理(如 Claude Code、Cursor 和 Codex)通过 grizzly 命令行工具与 macOS 上的 Bear 笔记应用交互。它支持创建笔记、按 ID 打开或读取笔记、追加内容、列出标签以及按标签搜索笔记。使用 Bear API 令牌进行身份验证,令牌存储在 `~/.config/grizzly/token` 中。该技能在 Bear 应用运行且令牌有效时效果最佳,并支持 `--enable-callback` 和 `--json` 等选项以返回结构化数据。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/bear-notes

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Bear 笔记 是做什么的?

使用 grizzly 在 macOS 上的 Bear 中创建、读取和管理笔记。

要求

  • 已安装并运行 Bear 应用
  • 对于某些操作(add-text、tags、open-note --selected),需要 Bear 应用令牌(存储在 ~/.config/grizzly/token)

获取 Bear 令牌

对于需要令牌的操作(add-text、tags、open-note --selected),你需要一个身份验证令牌:

  1. 打开 Bear -> 帮助 -> API 令牌 -> 复制令牌
  2. 保存它:echo "YOUR_TOKEN" > ~/.config/grizzly/token

常用命令

创建笔记

echo "笔记内容在此" | grizzly create --title "我的笔记" --tag work
grizzly create --title "快速笔记" --tag inbox < /dev/null

按 ID 打开/读取笔记

grizzly open-note --id "NOTE_ID" --enable-callback --json

向笔记追加文本

echo "附加内容" | grizzly add-text --id "NOTE_ID" --mode append --token-file ~/.config/grizzly/token

列出所有标签

grizzly tags --enable-callback --json --token-file ~/.config/grizzly/token

搜索笔记(通过 open-tag)

grizzly open-tag --name "work" --enable-callback --json

选项

常用标志:

  • --dry-run - 预览 URL 而不执行
  • --print-url - 显示 x-callback-url
  • --enable-callback - 等待 Bear 响应(读取数据时需要)
  • --json - 输出为 JSON(使用回调时)
  • --token-file PATH - Bear API 令牌文件路径

配置

Grizzly 按优先级顺序读取配置:

  1. CLI 标志
  2. 环境变量(GRIZZLY_TOKEN_FILE、GRIZZLY_CALLBACK_URL、GRIZZLY_TIMEOUT)
  3. 当前目录中的 .grizzly.toml
  4. ~/.config/grizzly/config.toml

示例 ~/.config/grizzly/config.toml:

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

备注

  • Bear 必须正在运行才能执行命令
  • 笔记 ID 是 Bear 的内部标识符(在笔记信息中或通过回调可见)
  • 当需要从 Bear 读取数据时,使用 --enable-callback
  • 某些操作需要有效令牌(add-text、tags、open-note --selected)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

claw-score

Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or committed inventory reports.

相关技能