lark-wiki

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

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/trungpr1990-coder/AMI-MAKEUP --skill lark-wiki-trungpr1990-coder
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-wiki
Source: https://github.com/trungpr1990-coder/AMI-MAKEUP/tree/main/.agents/skills/lark-wiki
Command: npx skills add https://github.com/trungpr1990-coder/AMI-MAKEUP --skill lark-wiki-trungpr1990-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Organizing and administering Lark (Feishu) knowledge bases requires many manual steps in the web UI: creating spaces, resolving space IDs from URLs or names, managing members, and moving or copying document nodes. This Skill automates those operations through lark-cli commands with built-in safety checks. ## Core Features & Use Cases - Space management: Create, list, and delete wiki spaces, including safe name/URL-to-space_id resolution and mandatory user confirmation before irreversible deletions. - Node operations: Create, list, get, move, copy, and delete wiki nodes, including moving Drive documents into a wiki and handling asynchronous tasks with polling. - Member administration: Add, list, and remove space members with correct member-type resolution (user, group, 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 from the URL, looks up the user's open_id, and runs the member-add command with the correct identity. ## Quick Start Ask the assistant to list the nodes in your Lark wiki space or create a new page titled "Project Plan" in your personal knowledge library.

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 Lark wiki space from the command line?▼

Run lark-cli wiki +node-create with a title and optionally a 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 Lark wiki space?▼

Use lark-cli wiki +member-add with space ID, member ID, member type, and role. Resolve the member ID first: contact search for users, chat search for groups, and the departments API for departments. Department adds require user identity.

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

No. Adding a department member with bot identity (tenant_access_token) is not supported by the Lark API. You must run the command with --as user, or the operation cannot be completed.

How do I delete a Lark wiki space when I only know its name?▼

First list spaces with lark-cli wiki spaces list and match the name to get the real space_id, paginating as needed. Always present candidates to the user for explicit confirmation, then run wiki +delete-space --space-id <ID> --yes.

What is the difference between wiki +move and drive +move in lark-cli?▼

wiki +move targets a wiki space or parent node and handles existing wiki nodes or Drive documents being moved into a wiki. drive +move targets Drive folders only. If the source is already a wiki node, you must use wiki +move.

Why does my wiki node deletion return a task_id instead of completing?▼

Node deletion can be asynchronous; a non-empty task_id means the operation is still processing. The shortcut polls briefly, and on timeout returns a next_command using lark-cli drive +task_result to continue checking the task status.