lark-wiki

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

Updated May 22, 2026
One-click install
npx skills add https://github.com/CalWade/aigc-creator --skill lark-wiki-calwade
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-wiki
Source: https://github.com/CalWade/aigc-creator/tree/main/.agents/skills/lark-wiki
Command: npx skills add https://github.com/CalWade/aigc-creator --skill lark-wiki-calwade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes references (resource) components.

What problem does it solve? Organizing and administering Lark (Feishu) knowledge bases requires many low-level OpenAPI calls with tricky identity, token, and pagination rules. This Skill wraps them into safe, high-level commands so you can create spaces, manage members, and restructure wiki node trees without memorizing API details. ## 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, move, copy, list, inspect, and delete wiki nodes, including moving Drive documents into a wiki and handling async task polling. - Member administration: Add, list, and remove space members with correct member-type resolution (user, group, department, app) and user-vs-bot identity rules. - 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 lark-cli wiki +member-add with the correct identity. ## 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 create a new page in a Lark wiki from the command line?▼

Run 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) and creates a docx node.

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 --member-role. Resolve the member ID first: contact +search-user for users, im +chat-search for groups, and the departments search API for departments.

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

No. The tenant_access_token (bot) identity cannot add members using an open department ID; this is a known unsupported path. You must run the command with --as user for department member additions.

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

First resolve the name to a space_id by paging through lark-cli wiki spaces list and matching names exactly. Then present all candidates to the user for explicit confirmation before running wiki +delete-space --space-id <ID> --yes, since deletion is irreversible.

What is the difference between wiki +move and drive +move?▼

wiki +move targets wiki spaces or parent nodes and also moves Drive documents into a wiki, while drive +move only relocates files between Drive folders. If the source is already a wiki node, you must use wiki +move.

What happens when a wiki move or delete returns a task_id?▼

The shortcut polls the async task for a bounded window (30 attempts, 2 seconds apart). If it times out, the output includes a next_command using lark-cli drive +task_result so you can continue checking the task status.