Manage Lark Wiki spaces, members, nodes, and document organization hierarchies.
Create, list, and delete knowledge spaces; retrieve space and node information via token or URL Add, remove, and list space members with support for users, groups, and departments; enforces identity constraints (bot identity cannot manage department members) Create, move, copy, and delete wiki nodes; organize documents and shortcuts within space hierarchies Prioritizes user identity over bot identity for personal knowledge resources; includes safety checks for destructive operations like space deletion requiring explicit user confirmation
Stronger alternatives
Audit results are mixed — compare nearby options before installing.
This skill facilitates the management of Lark Wiki spaces, members, and nodes through the lark-cli tool. It incorporates strong safety protocols for destructive operations, including mandatory user confirmation and identity-based logic to ensure operations align with platform permissions. No security vulnerabilities were found.
snykHIGH
Analyzed May 16, 2026
[HIGH] W007: Insecure credential handling detected in skill instructions.
socketScore 0.9000 · 0 alerts
Analyzed May 16, 2026
license1
maintenance1
quality0.9
supply chain1
vulnerability1
0 alerts
Also in this package
Other skills from larksuite/cli · top by installs.
- URL(.../wiki/<token>):先确定后续 wiki +delete-space 的身份(默认 user;明确要求 bot 视角时用 bot),再调用 lark-cli wiki +node-get --node-token '<wikiurl>' --as user --format json,读取 data.spaceid;下游使用 bot 时将示例中的身份改为 --as bot。解析和删除必须使用相同身份。 - 只知名称:lark-cli wiki spaces list --format json,边翻页边收集 items 并按 name 精确匹配;一旦任一页累计到至少 1 条精确匹配就停止翻页。只有当翻完所有页(hasmore=false)仍无精确匹配时,才对已收集的全量 items 做宽松匹配(name trim 空格、大小写不敏感、子串包含)。 - 关键安全约束:无论精确还是模糊,无论命中 1 条还是多条,发起删除前都必须把候选(name + spaceid + description + spacetype)列给用户,由用户明确选定一个 spaceid 再执行。不要因为"只命中一条"就自动执行删除。 - 命中 0 条:停下来问用户是名称拼错了还是调用方无权限;不要自行改名字重试。 - 用户明确选定后再执行 lark-cli wiki +delete-space --space-id <ID> --yes(高风险写操作,必须显式 --yes)。 - 反例:不要把 wiki URL / 名称直接当 --space-id(如 --space-id "https://.../wiki/<wikitoken>");务必先用 wiki +node-get 解析出 data.spaceid 再传。
用户要在知识库中创建新节点,优先使用 lark-cli wiki +node-create。
用户要原地重命名 Wiki 节点 / 修改节点标题:使用 lark-cli drive +update-title --url '<wikiurl>' --title '<newtitle>'。该命令保留同一个 nodetoken,并会根据 API 返回给出准确的缺失 scope 和授权提示;不要探索 raw wiki.nodes 的 updatetitle 端点,也不要通过复制或新建第二个节点实现改名。
用户要列出 Wiki 节点:先用 wiki +space-list --as user 拿数字 spaceid,再用 wiki +node-list --space-id <spaceid>。不要把 wiki URL、node token、doc token、名称直接当 --space-id。钻子节点时 --parent-node-token 必须是 wiki node token;如果用户给的是 docx/sheet/base URL,先用 wiki +node-get --node-token <url> 解析出 node_token。
wiki +node-list 命中 invalidparameters、notfound、permissiondenied 时,不要重复调用同一参数;按 hint 修 spaceid / parentnodetoken / 权限。只有 rate_limit 才做退避重试。