lark-wiki

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

2|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill lark-wiki-deepjh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-wiki
Source: https://github.com/DeepJH/doubao-skill-and-info/tree/main/skills/lark-wiki
Command: npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill lark-wiki-deepjh

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, node tokens are easily confused with document tokens, and destructive operations like deleting a space require careful confirmation. This Skill provides structured shortcuts and decision rules for operating wiki spaces, members, and node hierarchies safely. ## Core Features & Use Cases - Space and node management: Create, list, move, copy, and delete wiki spaces and nodes, including moving nodes between Wiki and Drive and resolving my_library personal libraries. - Member administration: Add, list, and remove space members with correct member-type resolution for users, groups, departments, and apps. - Safety guardrails: High-risk operations like +delete-space and +node-delete require explicit confirmation, candidate listing, and async task polling with resumable next_command flows. - Use Case: A user pastes a /wiki/<token> URL and asks to add a colleague as admin; the Skill resolves the token to a space_id, looks up the user's open_id via contact search, and grants the admin role. ## Quick Start Ask the assistant to list the nodes in your Lark knowledge base or create a new wiki page titled "Project Plan" in your personal library.

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 Lark 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 exactly. Then present all candidates to the user for explicit selection, and only run lark-cli wiki +delete-space --space-id <ID> --yes after confirmation.

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

Resolve the member first: use contact +search-user for users (openid), im +chat-search for groups (openchat), or the departments search API for departments. Then call lark-cli wiki +member-add with the matching --member-type and --member-role.

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.

Can I use a wiki URL directly as a space ID?

No. A /wiki/<token> URL must first be resolved with lark-cli wiki spaces get_node to read data.node.space_id. Passing URLs, node tokens, or names directly as --space-id causes invalid parameter errors.

What happens when a wiki delete operation times out?

Timeout does not mean failure. The shortcut returns ready=false, timed_out=true, the task_id, and a next_command; resume polling with lark-cli drive +task_result using the matching scenario and task ID.