lark-wiki

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

Updated Sep 13, 2026
One-click install
npx skills add https://github.com/U1traVeno/skills --skill lark-wiki-u1traveno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-wiki
Source: https://github.com/U1traVeno/skills/tree/main/profiles/lark/lark-wiki
Command: npx skills add https://github.com/U1traVeno/skills --skill lark-wiki-u1traveno

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 matched to the right ID format, 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, including safe name-to-space_id resolution with mandatory user confirmation before irreversible deletion. - Node operations: Create, list, get, move, copy, 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 for users, groups, departments, and apps, plus identity rules for user vs bot tokens. - 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 token, looks up the user's open_id via contact search, and adds them with the correct member type. ## Quick Start Ask the assistant to list the nodes in your Lark wiki space or create a new page in your personal knowledge library using the lark-wiki skill.

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 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), creating a docx node by default.

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 wiki +member-add with --space-id, --member-id, --member-type, and --member-role admin or member.

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

No. Adding a department member with --as bot is a known unsupported path because tenant tokens cannot use opendepartmentid. You must run the command with --as user instead of retrying the bot call.

How do I delete a Lark wiki space safely?▼

Resolve the real space_id first via wiki spaces get_node for URLs or wiki spaces list for names, then present all candidates to the user for explicit selection. Execute wiki +delete-space --space-id <ID> --yes only after the user confirms, since deletion is irreversible.

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

wiki +move targets wiki spaces or parent nodes using --target-space-id or --target-parent-token, and also migrates Drive documents into a wiki. drive +move targets Drive folders via --folder-token and is only for reorganizing cloud storage files.

Why does wiki +node-list fail with invalid_parameters or not_found?▼

These errors mean the space_id or parent_node_token argument is wrong, not a transient failure. Verify the numeric space_id via +space-list and resolve document URLs to node tokens with +node-get before retrying; only rate_limit errors warrant backoff retries.