用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Achuan-2/siyuan-plugin-copilot --skill bookmark命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | bookmark |
| description | Bookmark management. Actions: list(), labels(), remove(label), rename(old, new). |
列出所有已标记的书签块列表
该 action 无其他参数。
bookmark({
"action": "list"
})
列出当前工作区中存在的所有书签标签名称
该 action 无其他参数。
bookmark({
"action": "labels"
})
从所有块中移除指定的书签标签
| 参数名 | 类型 | 必填 | 描述 | 可选值 |
|---|---|---|---|---|
label | string | 是 | Bookmark label (for remove) | - |
bookmark({
"action": "remove",
"label": "..."
})
重命名指定的书签标签 (.)
| 参数名 | 类型 | 必填 | 描述 | 可选值 |
|---|---|---|---|---|
old | string | 是 | Old label (for rename) | - |
new | string | 是 | New label (for rename) | - |
bookmark({
"action": "rename",
"old": "...",
"new": "..."
})