Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add iswalle/getnote-cli --skill getnote-searchgit clone --depth 1 https://github.com/iswalle/getnote-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/iswalle/getnote-cli/getnote-search)<a href="https://agentmods.dev/skills/iswalle/getnote-cli/getnote-search"><img src="https://agentmods.dev/badge/skills/iswalle/getnote-cli/getnote-search/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/iswalle/getnote-cli/getnote-search"><img src="https://agentmods.dev/badge/skills/iswalle/getnote-cli/getnote-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.03776 |
| Opus 5.5 | $0.00023 | $0.01510 |
| Sonnet 5.5 | $0.00011 | $0.00755 |
| Haiku 4.5 | $0.00006 | $0.00378 |
Grade A, and why
getnote-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
得到大脑搜索
通过官方 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)不是完整清单;零命中也不能证明全库没有相关笔记。
容易混淆的组合问法
| 用户说法 | 路径与不能丢失的条件 |
|---|---|
| “找博尔赫斯的书籍笔记” / “找提到博尔赫斯的笔记” | 前者按书籍 author 定位;后者是内容主题搜索,不把所有提到一个人的笔记都限制为其著作。 |
| “某课程共读《某本书》那篇文稿” | 明确课程/文稿时优先课程引用路径,书名在这里是文稿线索,不跳去 BOOKSPACE。 |
| “课程笔记” | 先区分得到课程引用与自己录制的课堂笔记;只有用户明确来源时才设 dedao/course_article,不能把课堂录音排除掉。 |
| “即时录音” / “上传的音频” | 前者用 notes --note-type audio,后者用 local_audio;课堂录音为 class_audio,会议为 meeting。平台未限定时不加 dedao 或课程条件。 |
| “某库/某书里关于某主题” | 先定位真实 topic_id,再 search --kb;未命中按知识库参考在该库列表补查,不把空搜索当作库内没有,不得遗漏库范围。 |
| “上周保存/昨天修改的某课程笔记” | 列表用对应时间筛选;search 没有时间/来源筛选参数,语义候选需核对 timestamps/reference。不能把时间词拼进 query 就宣称完成了时间筛选。 |
| “某课程链接下的笔记” / “这篇文稿链接的划线” | 已知课程名/老师时查课程容器;只有主页 URL 时核对真实 reference.url,不猜课程 ID。文稿 URL 才传 --article-url。 |
| “全部笔记” / “全部划线” | 前者不默认加 note-type ref;书籍库可能有心得等非引用笔记。得到课程引用路径只能证明该来源下的划线集合,不能涵盖用户另写的课程心得或录音。 |
多条件查询要保留用户全部约束;从候选转入精确文稿列表时也保留已指定的 topic/time/source。条件冲突或作者、版本不符时说明实际候选,不静默删除条件。有正文主题限制时,来源匹配只证明“来自这里”,还需核对正文;截断 preview 未出现某词不能当作全文不包含。多个库/多本书合并结果时按字符串 note_id 去重,不能合并不同 ID 的不同划线。
增强结果的 resource_type 使用小写 note/file 等资源类型,旧顶层 note_type 保留大写 NOTE/FILE 兼容值;真正笔记类型在 note.note_type。用 note.display_title 展示,用 snippet(旧接口为 content)解释命中,不拿详情 preview 替换搜索片段。snippet_source=unknown 如实保留;score=null 是未知,不是 0;returned_count 是片段数,distinct_note_count 是去重笔记数。FILE 等非笔记结果没有笔记 ID 时只呈现真实资源信息,不能拼笔记链接。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed ff3edf5c8d82
- 13d ago Changed d0bf899b4cfe
- 26d ago Changed f741c694fea3
- 1mo ago Changed · +14 lines · +9 tokens per session 5efe7b02a9d6
- 1mo ago Changed · +53 lines · +7 tokens per session 1c5c70708ab7
- 2mo ago Changed c83b89711fb9
- 3mo ago First seen · 64 lines · 41 tokens per session scan A 9df65ed9c04e
getnote-search is a skill published in the GitHub repository iswalle/getnote-cli (182 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 3,776 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
getnote-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| getnote-searchiswalle/getnote-cli | Skill | 182 | 4d ago | MIT | A | 57 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 753 | 7d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| [object Object]team-reflect/reflect-open | Skill | 1.6k | today | MIT | A | 51 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 753 | 7d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 753 | 7d ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 753 | 7d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| durable-session-stateZaxbyHub/opencode-swarm | Skill | 549 | today | MIT | A | 70 | Claude Code |