Agent skill

Lark Wiki

by appleweiping in appleweiping/WEIPING_WIKI

飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。

MITAuto-check passedProductivity & Automation

Install Lark Wiki

skills CLI
$ npx skills add appleweiping/WEIPING_WIKI --skill lark-wiki -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install appleweiping/WEIPING_WIKI lark-wiki --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/appleweiping/WEIPING_WIKI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill/lark-wiki .claude/skills/lark-wiki && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lark-wiki
GitHub stars
119
Token cost
~1.2k tokens
SKILL.md length
366 words
Files
7 (incl. references)
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。

  • Tasks that involve Messaging and chat bots
  • SKILL.md covers 快速决策, 成员添加流程, 目标语义约束 and Shortcuts(推荐优先使用), plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Lark Wiki is an agent skill from appleweiping/WEIPING_WIKI. 飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/lark-wiki-delete-space.md`, `references/lark-wiki-move.md` and `references/lark-wiki-node-copy.md`).

It sits in Productivity & Automation, covering Messaging and chat bots. The repository describes itself as: knowledge base managed with an LLM workflow. The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “/lark-wiki”

What it can do on your machine

Read from SKILL.md and the folder at commit 76fdc42. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lark Wiki loads about 1.2k tokens when it runs, and up to ~9.3k if it reads all its reference files. Until then it costs about 31 tokens; SKILL.md has 366 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from appleweiping/WEIPING_WIKI at commit 76fdc42, republished under its MIT licence (© appleweiping). 366 words, ~1,191 tokens.

Download SKILL.mdSave it as .claude/skills/lark-wiki/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
lark-wiki
description
飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。
metadata.cliHelp
lark-cli wiki --help

wiki (v2)

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

成员管理硬限制:

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

快速决策

  • 用户给的是知识库 URL(.../wiki/<token>),且后续要查成员/加成员/删成员:先调用 lark-cli wiki spaces get_node --params '{"token":"<wiki_token>"}' 获取 space_id,后续成员接口统一使用 space_id。
  • 用户要删除知识空间(wiki +delete-space)但只给了名称或 URL:不能把名称 / URL 原样传给 --space-id,必须先解析出真实 space_id。解析方式:
    • URL(.../wiki/<token>):lark-cli wiki spaces get_node --params '{"token":"<wiki_token>"}' --format json,读 data.node.space_id。
    • 只知名称:lark-cli wiki spaces list --format json,边翻页边收集 items 并按 name 精确匹配;一旦任一页累计到至少 1 条精确匹配就停止翻页。只有当翻完所有页(has_more=false)仍无精确匹配时,才对已收集的全量 items 做宽松匹配(name trim 空格、大小写不敏感、子串包含)。
    • 关键安全约束:无论精确还是模糊,无论命中 1 条还是多条,发起删除前都必须把候选(name + space_id + description + space_type)列给用户,由用户明确选定一个 space_id 再执行。不要因为"只命中一条"就自动执行删除。
    • 命中 0 条:停下来问用户是名称拼错了还是调用方无权限;不要自行改名字重试。
    • 用户明确选定后再执行 lark-cli wiki +delete-space --space-id <ID> --yes(高风险写操作,必须显式 --yes)。
  • 用户要在知识库中创建新节点,优先使用 lark-cli wiki +node-create。
  • 用户说“给知识库添加成员/管理员”:先把目标解析成“用户 / 群 / 部门”三类之一,再决定 member_type,不要先调 wiki members create 再根据报错反推类型。
  • 用户说“部门 + bot”:这是已知不支持路径。不要继续尝试 wiki members create --as bot;直接提示必须改成 --as user,或明确告知当前要求无法完成。
  • 用户说“用户 / 群 + 添加成员”:先解析对应 ID,再执行 wiki members create。

成员添加流程

  • 调用 lark-cli wiki members create 前,先把自然语言里的“人 / 群 / 部门”解析成正确的 member_id,不要猜格式。
  • 用户场景默认优先 member_type=openid:用 lark-cli contact +search-user --query "<姓名/邮箱/手机号>" --format json 获取 open_id。
  • 群组场景使用 member_type=openchat:用 lark-cli im +chat-search --query "<群名关键词>" --format json 获取 chat_id。
  • userid / unionid 只在下游明确要求时才使用;先拿到 open_id,再调用 lark-cli api GET /open-apis/contact/v3/users/<open_id> --params '{"user_id_type":"open_id"}' --format json 读取 user_id / union_id。
  • 部门场景使用 member_type=opendepartmentid:当前 CLI 没有 shortcut,需调用 lark-cli api POST /open-apis/contact/v3/departments/search --as user --params '{"department_id_type":"open_department_id"}' --data '{"query":"<部门名>"}' 获取 open_department_id。
  • 只有在目标类型和身份都已确认可行后,才调用 lark-cli wiki members create。对于部门场景,这意味着必须是 --as user。

目标语义约束

  • 我的文档库 / My Document Library / 我的知识库 / 个人知识库 / my_library 都应视为 Wiki personal library,不是 Drive 根目录
  • 处理这类目标时,先解析 my_library 对应的真实 space_id,再执行 wiki +move、wiki +node-create 或其他 Wiki 写操作
  • 不要因为缺少显式 space_id 就退化成 drive +move
  • 如果用户明确说的是 Drive 文件夹、云空间根目录、我的空间,才进入 Drive 域处理
Show full SKILL.md (137 more words)Show less

Shortcuts(推荐优先使用)

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

Shortcut说明
+moveMove a wiki node, or move a Drive document into Wiki
+node-createCreate a wiki node with automatic space resolution
+delete-spaceDelete a wiki space, polling the async delete task when needed
+space-listList all wiki spaces accessible to the caller
+node-listList wiki nodes in a space or under a parent node (supports pagination)
+node-copyCopy a wiki node to a target space or parent node

API Resources

bash
lark-cli schema wiki.<resource>.<method>   # 调用 API 前必须先查看参数结构
lark-cli wiki <resource> <method> [flags] # 调用 API

重要:使用原生 API 时,必须先运行 schema 查看 --data / --params 参数结构,不要猜测字段格式。

spaces
  • create — 创建知识空间
  • get — 获取知识空间信息
  • get_node — 获取知识空间节点信息
  • list — 获取知识空间列表
members
  • create — 添加知识空间成员
  • delete — 删除知识空间成员
  • list — 获取知识空间成员列表
nodes
  • copy — 创建知识空间节点副本
  • create — 创建知识空间节点
  • list — 获取知识空间子节点列表

权限表

方法所需 scope
spaces.createwiki:space:write_only
spaces.getwiki:space:read
spaces.get_nodewiki:node:read
spaces.listwiki:space:retrieve
members.createwiki:member:create
members.deletewiki:member:update
members.listwiki:member:retrieve
nodes.copywiki:node:copy
nodes.movewiki:node:move
nodes.createwiki:node:create
nodes.listwiki:node:retrieve

© appleweiping, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in skill/lark-wiki of appleweiping/WEIPING_WIKI.

  • SKILL.md
  • references/lark-wiki-delete-space.md
  • references/lark-wiki-move.md
  • references/lark-wiki-node-copy.md
  • references/lark-wiki-node-create.md
  • references/lark-wiki-node-list.md
  • references/lark-wiki-space-list.md

Open the folder on GitHubat commit 76fdc42

Compare with similar skills

Lark Wiki next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lark Wiki compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lark Wiki this skillappleweiping/WEIPING_WIKI119—~1.2kAutomated safety check: PassMIT
Wechat Article Extractorzhuzhaoyun/Molio433—~486Automated safety check: PassCustom licence
Feishu Docopenclaw/openclaw392k—~516Automated safety check: PassMIT
She Love Me863401402/she-love-me9311 repos~1.3kAutomated safety check: PassMIT
Feishu Docraucvr/Group-Goki1123 repos~592Automated safety check: PassMIT
Wechat Article Extractorfreestylefly/wechat-article-extractor-skill1361 repos~1kAutomated safety check: PassNone

Similar skills

  • Wechat Article Extractor

    zhuzhaoyun/Molio

    提取微信公众号文章(mp.weixin.qq.com)内容为 Markdown。遇到 mp.weixin.qq.com 链接时使用此 skill,禁止使用 WebFetch。

    433 GitHub stars~486 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Feishu Doc

    openclaw/openclaw

    Feishu document read/write workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~516 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • She Love Me

    863401402/she-love-me

    Acquire, import, and analyze WeChat or QQ chat histories, including installing supported exporters, guiding required login or contact selection, converting exports, assessing relationship dynamics…

    931 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Feishu Doc

    raucvr/Group-Goki

    Feishu document read/write operations. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Wechat Article Extractor

    freestylefly/wechat-article-extractor-skill

    Extract metadata and content from WeChat Official Account articles.

    136 GitHub starsUsed in 1 repo~1k tokens
    Productivity & AutomationAuto-check passed
  • Wechat Miniprogram Builder

    chenjin-cmd/wechat-miniprogram-builder

    This skill should be used when the user wants to build, launch, monetize, or promote a WeChat mini-program with AI (vibe coding) — including topic selection, account registration & ICP filing…

    356 GitHub stars~634 tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed

More from appleweiping/WEIPING_WIKI

All 51 skills in this repo
  • Communication Assistant

    appleweiping/WEIPING_WIKI

    Unified lazy-mode communication assistant for Vipin across WhatsApp, WeChat, QQ, Feishu/Lark, and email.

    119 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Content Refinement Agent

    appleweiping/WEIPING_WIKI

    Step 5 of the PaperOrchestra pipeline (arXiv:2604.05018). An agent skill from appleweiping/WEIPING_WIKI.

    119 GitHub stars~3k tokensUpdated 1 mo ago
    Auto-check passed
  • Chrome Automation

    appleweiping/WEIPING_WIKI

    Connect to and control Google Chrome browser using agent-browser with CDP (Chrome DevTools Protocol).

    119 GitHub starsUsed in 1 repo~5.3k tokens
    Auto-check: warnings
  • Email Assistant

    appleweiping/WEIPING_WIKI

    Personal Gmail and Google Workspace email assistant for Vipin.

    119 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Wechat Video Channel Publish

    appleweiping/WEIPING_WIKI

    A skill your agent uses when the user wants to log into 微信视频号, validate cookie state, upload videos, set scheduled publish time, fill long description, set a cover image, or save drafts through a…

    119 GitHub stars~765 tokensUpdated 1 mo ago
    Auto-check passed
  • Feishu Bridge

    appleweiping/WEIPING_WIKI

    Route Feishu/Lark content access for Codex. An agent skill from appleweiping/WEIPING_WIKI.

    119 GitHub stars~906 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Lark Wiki

What does Lark Wiki do?

飞书知识库:管理知识空间、空间成员和文档节点。创建和查询知识空间、查看和管理空间成员、管理节点层级结构、在知识库中组织文档和快捷方式。当用户需要在知识库中查找或创建文档、浏览知识空间结构、查看或管理空间成员、移动或复制节点时使用。. Lark Wiki is an agent skill from appleweiping/WEIPING_WIKI.

When should I use Lark Wiki?

Lark Wiki fits situations like: tasks that involve Messaging and chat bots.

How do I install Lark Wiki in Claude Code?

Run `npx skills add appleweiping/WEIPING_WIKI --skill lark-wiki -a claude-code`. Or copy the skill folder (skill/lark-wiki in appleweiping/WEIPING_WIKI) into .claude/skills/lark-wiki in your project. Claude Code loads it when a task matches its description.

How do I install Lark Wiki in Codex?

Run `npx skills add appleweiping/WEIPING_WIKI --skill lark-wiki -a codex`. Or copy the skill folder (skill/lark-wiki in appleweiping/WEIPING_WIKI) into .agents/skills/lark-wiki in your project. Codex loads it when a task matches its description.

Can I use Lark Wiki in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add appleweiping/WEIPING_WIKI --skill lark-wiki -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lark-wiki, .gemini/skills/lark-wiki, .github/skills/lark-wiki and .opencode/skills/lark-wiki in your project.

What does Lark Wiki need to run?

SKILL.md names no scripts, command-line tools or credentials: Lark Wiki is instructions for the agent only.

Does Lark Wiki access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lark Wiki safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lark Wiki use?

Lark Wiki is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lark Wiki use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.1k tokens, read only when the agent opens those files.

What are the alternatives to Lark Wiki?

Skills that share tags, products or a category with Lark Wiki: Wechat Article Extractor (zhuzhaoyun/Molio, 433 stars), Feishu Doc (openclaw/openclaw, 392k stars), She Love Me (863401402/she-love-me, 931 stars) and Feishu Doc (raucvr/Group-Goki, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lark Wiki?

appleweiping (a GitHub user) maintains it in appleweiping/WEIPING_WIKI, which has 119 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on August 26, 2026.

Source: appleweiping/WEIPING_WIKI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.