iswalle avatar

Getnote Search

If you're using Get笔记 (getnote) to manage notes and need to search them semantically rather than by keywords, this hooks into their CLI's search capabilities. You can query across all your notes or narrow down to a specific knowledge base using topic IDs. Results come back ranked by relevance with excerpts, scores, and metadata. The limit is capped at 10 results, which feels restrictive for exploratory searches, but it's what the underlying API allows. One quirk to watch: only NOTE type results populate the note_id field, so if you're automating workflows that fetch full content afterward, you'll need to handle other types like FILE or BLOGGER differently.

skills.sh installs
1.2K
GitHub stars
179
last updated
Aug 21, 2026

Install

$ npx -y skills add iswalle/getnote-cli --skill getnote-search --agent claude-code

Installs into .claude/skills of the current project.

Files

得到大脑搜索

通过官方 getnote CLI 搜索真实笔记。不要自己拼 OpenAPI 请求、笔记 ID 或访问链接。机器调用使用 -o json;只有退出码为 0 且 JSON 的 success=true 才是业务成功。

何时使用

  • “关于某主题、模糊记忆”:使用 getnote search;明确书籍/来源或要全量时按下方路径选择。
  • “最近有哪些笔记、按保存时间列出来”:交给笔记 Skill 的 getnote notes,不要把列表误当语义搜索。
  • 用户选中某一条后,再交给笔记 Skill 用 getnote note <note_id> 读取详情;搜索阶段不自动修改、移动、分享或创建笔记。

先选查找路径

  • 明确录音台或录音卡:先读笔记 Skill 的“录音台与录音卡来源定位”,分别用 notes --source vendor_moan / notes --source getseed,保留时间与知识库条件。设备全部笔记不默认加 note-type,也不先全局语义搜索。
  • 明确书籍(书名或书籍作者),尤其要“全部划线”:先读知识库参考。书名用 kbs --scope BOOKSPACE --query;只有作者名时用 kbs --scope BOOKSPACE --author 并省略 --query,不能把作者塞进只匹配名称的 query。书名和作者都已知时才同时传,两者为 AND 条件。必要时用真实 --book-id 消歧,再按用户要“全部笔记”还是“划线”选择是否加 --note-type ref,需要全文时按 ID 调用 note。
  • 明确文章/课程(包括“某老师的课”):按下方“课程、文稿与评论定位”执行。已有真实来源 ID/文章链接时直接精确筛选;没有候选也能按来源列定位信息。topics=[] 不阻断这条路线。
  • 只有主题或模糊记忆:语义搜索 → 按字符串笔记 ID 去重 → 对选中候选读详情/原文。Top-K(最大 10)不是完整清单;零命中也不能证明全库没有相关笔记。

容易混淆的组合问法

Sponsors

Details

Repository
github.com/iswalle/getnote-cli
Category
CLI & Terminal
First seen
Jun 3, 2026

More from iswalle/getnote-cli

All 5
1iswalle avatargetnote-authiswalle/getnote-cliManage authentication for Get笔记 CLI1.2Kskills.sh installs
2iswalle avatargetnote-kbiswalle/getnote-cliManage knowledge bases in Get笔记 via the getnote CLI1.2Kskills.sh installs
3olcubo avatarcuboxolcubo/cubox-clicubox1.2Kskills.sh installs
4iswalle avatargetnote-tagiswalle/getnote-cliManage note tags in Get笔记 via the getnote CLI1.2Kskills.sh installs
5google-gemini avatarpirate-skillgoogle-gemini/gemini-cliSpeak like a pirate.884skills.sh installs
6rudrankriyam avatarasc-screenshot-resizerudrankriyam/app-store-connect-cli-skillsasc screenshot resize868skills.sh installs