lark-wiki

Manage Feishu wiki spaces, members, and document nodes via lark-cli.

8|2|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/luojiaaoo/xpeech --skill lark-wiki-luojiaaoo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-wiki
Source: https://github.com/luojiaaoo/xpeech/tree/main/xpeech/agent/skills/buildin/lark-skills/lark-wiki
Command: npx skills add https://github.com/luojiaaoo/xpeech --skill lark-wiki-luojiaaoo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing Feishu (Lark) knowledge bases through raw APIs is error-prone: space IDs must be resolved from URLs or names, member types must be mapped correctly, and destructive operations like space deletion need strict confirmation. This Skill provides structured shortcuts and safety rules for operating wiki spaces, nodes, and members through lark-cli. ## Core Features & Use Cases - Space Management: Create, list, and delete wiki spaces with mandatory user confirmation and name/URL-to-space_id resolution before any deletion. - Node Operations: Create, copy, move, list, get, and delete wiki nodes, including moving Drive documents into Wiki and moving Wiki nodes out to Drive folders with async task polling. - Member Administration: Add, list, and remove space members with correct member-type resolution (user, group, department, app) and identity selection rules (user vs bot). - Use Case: A user pastes a wiki URL and asks to add a colleague as admin. The Skill resolves the space_id via node-get, looks up the user's open_id via contact search, and calls member-add with the correct identity. ## Quick Start Ask the agent to list the nodes in your Feishu knowledge base or create a new page under a specific wiki node using lark-cli.

Frequently Asked Questions about lark-wiki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delete a Feishu wiki space by name?▼

First resolve the name to a real space_id by listing spaces with lark-cli wiki spaces list and matching the name. Then present all candidates to the user for explicit confirmation, and only after the user picks a space_id run wiki +delete-space with the --yes flag.

How do I add a member to a Feishu wiki space?▼

Resolve the member first: use contact +search-user for users, im +chat-search for groups, or the departments search API for departments. Then call wiki +member-add with the correct --member-type and --member-role, preferring --as user identity.

Can a bot identity add a department as a wiki space member?▼

No. The tenant_access_token (bot) identity cannot use opendepartmentid to add wiki space members; this is a known platform limitation. You must use --as user for department member additions, and the Skill blocks trial-and-error attempts with bot identity.

How do I move a wiki node out of the knowledge base to a Drive folder?▼

Use wiki +move-to-drive with the node's token and an optional --folder-token; omitting the folder moves it to the caller's My Space root. The operation is asynchronous, so the shortcut polls the task and returns a next_command if it times out.

What operations are not covered by the lark-wiki skill?▼

Uploading or downloading files under wiki nodes belongs to lark-drive, editing document content belongs to lark-doc, and spreadsheet or bitable data operations belong to lark-sheets and lark-base. The wiki skill only handles spaces, node structure, and members.