larksuite avatar

Lark Wiki

A comprehensive Lark Wiki management tool that handles knowledge spaces, member management, and document organization through the Lark CLI. It automatically resolves space IDs from wiki URLs, enforces authentication constraints (bot tokens can't add departments as members), and provides smart shortcuts for common operations like moving documents and creating nodes. The skill includes specific member type resolution for users, groups, and departments, plus proper scope validation for each operation. Good for teams already deep in the Lark ecosystem who need programmatic wiki management, though you'll want to understand the bot vs user token limitations upfront.

skills.sh installs
483.5K
GitHub stars
18K
last updated
Aug 21, 2026

Install

$ npx -y skills add larksuite/cli --skill lark-wiki --agent claude-code

Installs into .claude/skills of the current project.

Files

wiki (v2)

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理

成员管理硬限制:

  • 如果目标是“部门”,先判断身份,再决定是否继续。
  • --as bot 对应 tenant_access_token。官方限制:这种身份下不能使用部门 ID (opendepartmentid) 添加知识空间成员。
  • 遇到“部门 + --as bot”时,禁止先调用 lark-cli wiki +member-add 试错;直接说明该路径不可行。
  • 如果用户明确要求“以 bot 身份运行”,且目标是部门,必须停下说明 bot 路径无法完成,不要静默切到 --as user。

身份选择:优先使用 user 身份

知识空间和节点都是用户的个人资源,策略上应优先显式使用 --as user(CLI 的 --as 默认值为 auto,不带 --as 时常被解析成 bot,列出的是应用所属空间而非用户的)。仅当用户明确要求“应用 / bot 视角”时才用 --as bot(仍受上面的成员管理硬限制约束)。

快速决策

Sponsors

Details

Repository
github.com/larksuite/cli
Categories
Documentation, CLI & Terminal, Office & Documents
First seen
Apr 16, 2026

More from larksuite/cli

All 29
1remotion-dev avatarremotion-docsremotion-dev/skillsSearch Remotion documentation289Kskills.sh installs
2higgsfield-ai avatarhiggsfield-video-explainerhiggsfield-ai/skillsBuild a complete non-photoreal narrated explainer or story video from ordered 10-second blocks: one narrator, one universal style key, one Seed Audio take and o140.7Kskills.sh installs
3convex avatarconvex-docsconvex/agent-skillsPull version-current Convex docs for the version this project uses — pin the installed version, fetch page-as-markdown or check node_modules types, freshness hi41.3Kskills.sh installs
4googleworkspace avatarrecipe-create-doc-from-templategoogleworkspace/cliCopy a Google Docs template, fill in content, and share with collaborators.31.4Kskills.sh installs
5googleworkspace avatarrecipe-share-doc-and-notifygoogleworkspace/cliShare a Google Docs document with edit access and email collaborators the link.30.9Kskills.sh installs
6lombiq avatartailwind-4-docslombiq/tailwind-agent-skillsComprehensive Tailwind CSS v4 documentation snapshot and workflow guidance. Use when answering Tailwind v4 questions, selecting utilities/variants, configuring 18.6Kskills.sh installs