Skip to content

Manage Get笔记 note tags through the getnote CLI: list, add, and safely remove by real tag ID.

CCM score
61 of 100
skills.sh installs
1.2K
GitHub stars
182
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers reading a note's tags, adding a named tag without overwriting existing ones, and removing tags by their真实 ID
  • Includes routing rules for list, add, remove, and replace requests, plus JSON result checks for success, note_id, and tags[]
  • Enforces that tag names are never used as removal IDs, system tags are never deleted, and success is claimed only after success=true
  • Designed for Get笔记 users who need tag changes that do not overwrite or delete the wrong tags

Install

$ npx -y skills add iswalle/getnote-cli --skill getnote-tag -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

得到大脑标签

通过官方 getnote CLI 管理真实标签。不要自己构造标签 ID,也不要把标签名误当成删除参数。机器调用统一使用 -o json;退出码为 0 但 success=false 仍是失败。

路由与安全边界

用户意图命令不能做什么
“这条笔记有哪些标签”getnote tag list <note_id>不自动添加或删除。
“给这条笔记加上产品优化”getnote tag add <note_id> <tag>只新增指定标签,不覆盖原标签。
“删掉这个标签”先 tag list,再 getnote tag remove <note_id> <tag_id>不能把标签名称直接当作 tag_id。
“替换为这些标签”先读取当前标签,再交给 getnote note update --help属于覆盖性操作,必须先确认。

笔记 ID、标签 ID 及任何雪花 ID 始终作为字符串原样传递。系统标签不可删除;权限不足、标签不存在或笔记不存在时不能说“已经删掉”。

命令结果与用户呈现

查看标签

getnote tag list <note_id> -o json

成功 JSON:

字段含义回复规则
success=true标签读取成功才能展示列表。
data.note_id实际读取的笔记必须与目标笔记一致。
data.tags[].id标签真实 ID仅用于后续删除,不必在普通回复中暴露。
data.tags[].name标签名称展示给用户。
data.tags[].type普通/系统等标签类型系统类型明确不能删除。

若 tags=[],回复“这条笔记目前没有标签”,这是成功结果。

添加标签

getnote tag add <note_id> "产品优化" -o json

成功 JSON 必须有 success=true、data.note_id 与更新后的 data.tags[]。回复“已添加「产品优化」”,并在用户要求时列出当前全部标签;不要说“已替换标签”。如果结果没有新的标签集合,先再执行一次 tag list 核验,再向用户确认。

删除标签

getnote tag remove <note_id> <tag_id> -o json

Details

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

Questions

What does the getnote-tag skill do?

getnote-tag lets an agent list the existing tags on a Get笔记 note, add a tag to a note, or remove a tag by its real tag ID. It is built on the official getnote CLI and avoids deleting system tags or overwriting other tags.

How do I install the getnote-tag skill?

Run npx -y skills add iswalle/getnote-cli --skill getnote-tag -y in your project. After that, getnote-tag lets the agent read, add and safely remove tags on Get笔记 notes through the getnote CLI.

Which category is getnote-tag in, and what sets it apart?

getnote-tag is in the Productivity & Notes category on Claude Marketplaces. Its own facts show it works only on note tags in Get笔记, routing each request through tag list before any remove so it never deletes by tag name.

What does getnote-tag need before it can work?

getnote-tag needs the getnote CLI installed and a logged-in Get笔记 account, since it calls the official getnote CLI for every tag operation. It also needs the note ID of the note you want to tag.

More from iswalle/getnote-cli

All 5

Similar to Getnote Tag

More Productivity & Notes