用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Achuan-2/siyuan-plugin-copilot --skill tag命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Asset management. Actions: upload(id, files=comma-separated absolute paths), unused(), clean(path?), stat(path).
Block custom-attribute operations. Actions: get(id), set(id, attrs object), batch-get(ids comma-separated).
Block operations. Actions: get(id), get_kramdown(id), get_children(id), tree_stat(id, by document), dom(id), insert(data, dataType, parentID?, nextID?, previousID?), append(data, dataType, parentID) / prepend(...) add a NEW child — use after block.update when both modifying and adding, update(id, data, dataType) replaces ONE block only (no append), delete(id), move(id, parentID, previousID?), breadcrumb(id), batch_get(ids) / batch_kramdown(ids) where ids is comma-separated.
基于 SOC 职业分类
正在显示 SKILL.md
| name | tag |
| description | Tag management. Actions: list(keyword?), rename(old, new), remove(label). |
列出工作区中所有已创建的标签(支持根据关键词过滤)
| 参数名 | 类型 | 必填 | 描述 | 可选值 |
|---|---|---|---|---|
keyword | string | 否 | Search keyword (for list) | - |
tag({
"action": "list",
"keyword": "..."
})
重命名标签(会同步更新所有笔记中的该标签)
| 参数名 | 类型 | 必填 | 描述 | 可选值 |
|---|---|---|---|---|
old | string | 是 | Old tag label (for rename) | - |
new | string | 是 | New tag label (for rename) | - |
tag({
"action": "rename",
"old": "...",
"new": "..."
})
删除指定的标签(会从所有笔记中移除该标签文本) (.)
| 参数名 | 类型 | 必填 | 描述 | 可选值 |
|---|---|---|---|---|
label | string | 是 | Tag label (for remove) | - |
tag({
"action": "remove",
"label": "..."
})