lark-wiki

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

Updated May 28, 2026
One-click install
npx skills add https://github.com/changfengpro/agent-skills --skill lark-wiki-changfengpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-wiki
Source: https://github.com/changfengpro/agent-skills/tree/main/skills/lark-wiki
Command: npx skills add https://github.com/changfengpro/agent-skills --skill lark-wiki-changfengpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and 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, members, and node hierarchies through lark-cli. ## Core Features & Use Cases - Space management: Create, list, and delete wiki spaces, with mandatory candidate confirmation before irreversible deletions and async task polling. - 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. - Member administration: Add, list, and remove space members with correct member-type resolution (user, chat, department, app) and user/bot identity constraints. - Use Case: A user pastes a wiki URL and asks to add a colleague as admin. The Skill resolves the space_id via wiki +node-get, looks up the user's open_id via contact search, then runs wiki +member-add with the correct identity. ## Quick Start Use the lark-wiki skill to list all nodes in my Feishu knowledge space and create a new docx node titled "Project Plan" under the root.

Frequently Asked Questions about lark-wiki

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

FAQPage Schema
How do I create a node in a Feishu wiki space?

Use lark-cli wiki +node-create with a title, optionally passing --space-id or --parent-node-token. With user identity and no target specified, it defaults to your personal library (my_library). The default object type is docx.

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

First resolve the member ID by type: contact +search-user for users, im +chat-search for groups, or the departments search API for departments. Then run lark-cli wiki +member-add with --member-type and --member-role, using --as user for department adds.

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

No. Adding a department member with --as bot (tenant_access_token) is a known unsupported path on the Feishu backend. You must use --as user for department member additions; the Skill blocks trial-and-error attempts with bot identity.

How do I delete a Feishu wiki space safely?

Resolve the real space_id first via wiki +node-get for URLs or wiki spaces list for names, then present all candidates to the user for explicit selection. Run wiki +delete-space --space-id <ID> --yes; the operation is irreversible and deletes all nodes in the space.

What is the difference between wiki +move and wiki +move-to-drive?

wiki +move targets a wiki space or parent node, covering node moves and moving Drive documents into Wiki. wiki +move-to-drive moves an existing Wiki node out of the knowledge base into a Drive folder or the caller's My Space root, changing permission inheritance.

Why does wiki +node-list fail with permission_denied?

Error 131006 means the current user or bot identity lacks access to the target space or parent node; it is a resource access issue, not an app scope problem. Do not retry or switch identities blindly—ask the node owner or wiki administrator to grant read access.