Lark wiki

From ahang1598/doubao-workbuddy-qwenwork-skills · View interactive version

Lark wiki is an AI agent skill from the GitHub repository ahang1598/doubao-workbuddy-qwenwork-skills. 飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。当用户给出 doubao.com 的 /wiki/ URL/token 时,也应直接使用本 skill,不要因为域名不是飞书而回退到 WebFetch;路由依据是 URL 路径模式和 token,而不是域名。不负责:上传文件到知识库节点下(走 lark-drive)、编辑文档/表格/Base 内容(走 lark-doc / sheet / lark-base)。

How to use this skill

Skill file

wiki (v2)

身份

本 skill 所有命令统一以 --as user 身份运行。知识空间和节点都是用户的个人资源,命令中显式带上 --as user。

快速决策

Shortcuts(推荐优先使用)

Shortcut 是对常用操作的高级封装(lark-cli wiki +<verb> [flags])。有 Shortcut 的操作优先使用。

获取或解析 Wiki 节点统一使用 wiki +node-get,包括只为获取 space_id、node_token、obj_token 或 obj_type 的中间步骤。

| Shortcut | 说明 |

|----------|------|

| CODE0 | Move a wiki node, or move a Drive document into Wiki |

| CODE0 | Move a wiki node to a Drive folder and poll the async task |

| CODE0 | Create a wiki node with automatic space resolution |

| CODE0 | Delete a wiki space, polling the async delete task when needed |

| CODE0 | List all wiki spaces accessible to the caller |

| CODE0 | Create a wiki space (user identity only) |

| CODE0 | List wiki nodes in a space or under a parent node (supports pagination) |

| CODE0 | Copy a wiki node to a target space or parent node |

| CODE0 | Get a wiki node's details by node_token / obj_token / Lark URL |

| CODE0 | Delete a wiki node, polling the async delete task when needed |

| CODE0 | Add a member to a wiki space |

| CODE0 | Remove a member from a wiki space |

| CODE0 | List members of a wiki space (supports pagination) |

成员添加流程

目标语义约束

API Resources

lark-cli schema wiki.<resource>.<method>   # 调用原生 API 前必须先查看 --data / --params 参数结构,不要猜测字段格式
lark-cli wiki <resource> <method> [flags]  # 调用 API

spaces

members

nodes

不在本 skill 范围

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.