skillZs
LIVE SKILL TAGS
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
REAL INSTALL DATA
← back to all skills
iswalle/getnote-cli1.2k installs

getnote-note

使用得到大脑保存文字、链接、图片和长笔记,查看笔记详情、原文、录音转写、附件、时间线、快捷笔记和会议待办,并安全更新、删除或分享笔记。

How do I install this agent skill?

npx skills add https://github.com/iswalle/getnote-cli --skill getnote-note
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill enables the agent to manage notes in Get笔记 by providing an interface for the `getnote` CLI. It supports standard operations such as saving notes from text, URLs, or local images, listing and viewing notes, and updating, sharing, or deleting them. No malicious patterns or high-risk behaviors were identified.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 1 issue

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

得到大脑笔记

通过官方 getnote CLI 完成真实操作。不要自己拼 OpenAPI 请求、ID 或笔记链接;机器调用优先使用 -o json,以退出码和下述结果契约判断结果。

统一结果判定

所有 API 命令的 JSON 结果先看下面这层结构,再读取每条命令规定的 data 字段:

{
  "success": true,
  "data": {},
  "request_id": "可选"
}

失败结果为 success=false 或命令退出码非 0,读取 error.codeerror.messageerror.reasonerror.retryable 和可选 request_id。HTTP 成功、上传完成、出现任务 ID 或拿到空笔记链接,都不能替代最终成功结果。

意图路由

意图命令入口
保存文字、链接或本地图片getnote save
查询异步保存任务getnote task
查看最近笔记getnote notes
查看详情或字段getnote note
链接/文字原文getnote note original
录音、会议或课堂转写getnote note transcript
图片、音频和文件附件getnote note attachments
录音或会议时间线getnote note timeline
录音快捷笔记gnote note quick,旧版回退 getnote note quick-note
会议总结中的派生待办getnote note todos
修改笔记getnote note update
删除笔记getnote note delete
公开分享getnote note share

不确定参数时先运行目标命令 --help

保存流程

文字与长文

  1. 保留用户原意,不擅自扩写;未指定时不添加知识库、父笔记、标签或公开分享。
  2. 短文本可作为参数传入。长文本、Markdown、含复杂引号或换行的内容必须使用 --content-file--stdin,避免截断和转义损坏。
  3. 重试同一次创建时复用同一个 --idempotency-key
  4. 只有命令退出码为 0,且最终结构中存在非空字符串 data.note.note_iddata.note.titledata.note.note_url,才回复保存成功。

链接

  1. http://https:// 开头且用户表达保存意图时按链接保存,不当作普通文字。
  2. CLI 会轮询异步任务。处理中可以告诉用户“正在抓取并生成笔记”,但不能提前给出成功结论。
  3. 最终成功必须满足文字保存的三项字段,并且 data.note 已能读取;不要自行拼接链接。

图片

  1. 使用本轮用户明确给出的本地图片路径,不把文件名保存成文字,也不带上历史图片。
  2. CLI 会校验真实文件格式、上传图片并轮询识别任务。
  3. 只有最终笔记详情返回有效 note_id/title/note_url 才算成功;“图片已上传”不是“笔记已生成”。

异步超时与安全重试

  • getnote save ... -o json 正常会等待最终结果;若退出码非 0 且输出含 task_idstatus=pending|processing,操作结果仍不确定。
  • 结果不确定时使用 getnote task <task_id> -o json 查询原任务。done|success 且有有效 note_id 后再读取笔记;failed 时展示 error_msgmsg
  • 超时、断流或网络错误后禁止直接再次保存;先查询原任务或最近笔记。只有 CLI/API 明确 retryable=true 且已确认原操作没有成功时才重试。

查询和深层读取

  1. “最近、列表、有哪些”使用 getnote notes;“找、搜、关于某主题”交给搜索 Skill。
  2. 用户给出 ID 时直接读取详情;雪花 ID 全程按字符串原样传递。“这条笔记”只复用当前会话中已经由 CLI 返回并验证过的字符串 ID。当前 CLI 若不能直接接收某种私有链接,就先请用户提供 ID,不能自行截取、猜测或转成数字。
  3. 列表先展示标题、字符串 ID 和真实 note_url,用户选择后再读取全文。
  4. 不确定笔记类型时先读 getnote note <id> -o json
    • 链接/文字原文:original
    • 录音、会议、课堂逐字稿:transcript
    • 图片、音频、文件:attachments
    • 时间点与会议过程:timeline
    • 用户现场快捷记录:quick-note
    • 会议待办:todos,必须保留 source,不得把规则解析结果说成上游原生待办。
  5. 不拿 content 中的 AI 摘要冒充原文。

修改、删除和分享

  1. 先读取目标笔记和当前版本,确认用户指向的对象。
  2. 追加或前置内容必须使用 CLI 当前帮助中对应的增量语义,不用覆盖模拟追加。
  3. 覆盖正文、替换全部标签、删除和公开分享必须先确认;确认后才使用 --yes
  4. 分享录音类笔记时,确认话术必须说明公开链接是否包含音频;用户不希望公开音频时使用 CLI 帮助中的 --exclude-audio。不能替用户默认决定音频公开范围。
  5. 用户未要求公开时只返回私有 note_url,不自动生成分享链接。

每条命令的结果与回复格式

命令成功结果必须包含回复规则
getnote save … -o jsonsuccess=truedata.note.note_id/title/note_url回复“已保存《标题》”和真实链接。链接/图片先只得到 task_id 时还未成功,继续查任务。
getnote task <task_id> -o jsondata.task_id/status/note_id?/msg?/error_msg?done/success 且有 note_id 为完成;pending/processing 是处理中;failed 说明真实原因。
getnote notes -o jsondata.notes[].note_id/title/note_urlhas_more/cursor/total返回标题、字符串 ID 和真实链接;下一页只用返回的 cursor
getnote note <id> -o jsondata.note.note_id/title/note_url/note_type,按需读 content先给摘要和链接;私密全文只在用户明确要求时展开。
getnote note original <id> -o jsondata.note_id/title/original只把 original 当原文;空字段就是该笔记没有可用原文。
getnote note transcript <id> -o jsondata.note_id/title/transcript仅录音类笔记可用;不可用时如实说明。
getnote note attachments <id> -o jsondata.note_id/title/attachments[]列出真实附件,不把笔记封面冒充附件。
getnote note timeline <id> -o jsondata.note_id/title/timeline仅在存在录音/会议时间线时展示。
gnote note quick <id> -o jsondata.note_id/title/quick_note返回现场快捷笔记;旧环境回退 getnote note quick-note
getnote note todos <id> -o jsondata.note_id/title/meeting_todos[]保留每项 source;这是从明确会议总结章节按规则解析,不说成上游原生待办。
getnote note update <id> … -o jsonsuccess=truedata?修改正文或全量标签前必须 --yes;需要展示最终内容时再读一次 note
getnote note delete <id> --yes -o jsonsuccess=truedata?只能说“已移入回收站”,不是永久删除。
getnote note share <id> --yes -o jsonsuccess=truedata.note_id/share_id/share_url只返回真实 share_url,并明确其为公开链接。

API 失败时回复失败步骤、error.message/reason、是否可重试和 request_id;不能把 HTTP 200 当业务成功。

群聊或共享会话中只先展示必要标题和链接,不主动展开私密全文。

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/iswalle/getnote-cli/getnote-note">View getnote-note on skillZs</a>