Skip to content
Productivity
Skill

/getnote-tag

查看得到大脑笔记已有标签,为笔记添加标签,或按真实标签 ID 安全删除标签,并避免误删系统标签或覆盖其他标签。

BOOST
From plugin
getnote-cli
1775 skills
Install
$ npx -y skills add iswalle/getnote-cli --skill getnote-tag --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/getnote-tag

Context preview

The summary Claude sees to decide when to auto-load this skill.

查看得到大脑笔记已有标签,为笔记添加标签,或按真实标签 ID 安全删除标签,并避免误删系统标签或覆盖其他标签。

SKILL.md

getnote-tag.SKILL.md
name: getnote-tag
description: 查看得到大脑笔记已有标签,为笔记添加标签,或按真实标签 ID 安全删除标签,并避免误删系统标签或覆盖其他标签。

得到大脑标签

通过官方 `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

删除前必须从当前 `tag list` 结果中拿到真实 `tag_id`,并确认该条不是系统标签。成功返回 `success=true` 才能回复“已删除「标签名」”;如果用户需要看剩余标签,再执行 `tag list`,不能猜测剩余集合。

失败与恢复

  • 失败时展示实际 `error.message` / `error.reason`、是否可重试和 `request_id`;不要把“标签不存在”“系统标签”“无权限”归为通用网络错误。
  • 不能确定用户要删除哪一个同名标签时,先列出名称和类型让用户确认;不要按第一个结果擅自删除。
  • 在群聊中仅展示用户当前要求的标签信息;不通过标签列表推断或泄露笔记其他正文。
Read more
Ships withgetnote-cli

Get笔记 CLI — 让人类和 AI Agent 都能在终端操作 Get笔记

Get the whole plugin
Stats
177
Stars
9
Forks
Active
Maintenance
Go
Language
MIT
License
2d ago
Last commit
6mo ago
Created

Repo: iswalle/getnote-cli

Other skills on getnote-cli.

getnote-auth
Skill

getnote-auth

安装和连接得到大脑,完成浏览器授权、环境诊断、配额检查、CLI 升级与领域 Skill 同步。用户说“安装/连接/登录/更新得到大脑”“检查为什么不能用”“查看额度”时使用。

getnote-kb
Skill

getnote-kb

查看和管理得到大脑的知识库、文件夹、书籍、客户档案、团队知识库、抖音博主订阅与直播,归档笔记,以及查询文件格式限制、直传文件到 OSS 并提交知识库入库。用户要上传文档或文件时也使用。

getnote-note
Skill

getnote-note

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