用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Achuan-2/siyuan-plugin-copilot --skill outline命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 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 | outline |
| description | Document outline (heading tree). Action: get(id). |
获取指定文档的大纲结构(标题树层级及 ID) (.)
| 参数名 | 类型 | 必填 | 描述 | 可选值 |
|---|---|---|---|---|
id | string | 是 | Document block ID | - |
outline({
"action": "get",
"id": "20200812220555-w7m19sc"
})