lark-doc

Automate creation, retrieval, update, and media management of Lark cloud documents and wiki nodes.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill lark-doc-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-doc
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/lark-doc
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill lark-doc-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a unified, reliable way to create, read, update, and manage Lark (Feishu) cloud documents and knowledge nodes so users do not need to manually handle tokens, media uploads/downloads, or wiki-node resolution. Begin by consulting the shared authentication and permission guidance before performing any operations to ensure correct scopes and identity handling.

Core Features & Use Cases

  • Document lifecycle: create new documents from Lark-flavored Markdown, fetch document content as Markdown, and perform fine-grained updates (append, insert, replace, delete, overwrite) with selection strategies.
  • Media orchestration: upload local images/files into documents, download embedded media or whiteboard thumbnails, and handle automatic extension resolution and rollback for multi-step insertions.
  • Discovery & token resolution: search cloud space for docs/wiki/sheets to locate targets, and resolve wiki nodes to real obj_token/file_token to route operations to the correct API.
  • Whiteboard handling: create blank whiteboards and surface generated board_tokens for downstream editing via the whiteboard skill; explicitly warn that existing whiteboards cannot be edited via docs +update.
  • Operational safety: emphasizes permission checks, idempotency options, and guidance to avoid overwriting non-reproducible items like embedded media or comments.

Quick Start

Create a new Lark document titled "Project Plan", insert a blank whiteboard, and upload the architecture image to the document.

Frequently Asked Questions about lark-doc

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

FAQPage Schema
How do I create and edit Lark cloud documents using Markdown?

You can create Lark cloud documents from Lark-flavored Markdown and perform fine-grained edits like append, insert, replace, or delete sections. This automates document lifecycle management without manual token handling.

How do I resolve wiki nodes to real object tokens for Feishu documents?

Wiki node resolution converts wiki tokens into real obj_token or file_token values, routing API operations to the correct target. This enables reliable retrieval and updates of Lark wiki documents.

Can I upload local images and download embedded media from Lark documents?

Yes, you can upload local images and files into Lark documents and download embedded media or whiteboard thumbnails. The process handles automatic extension resolution and permission checks.

How do I search Lark cloud space to locate existing documents or spreadsheets?

You can search Lark cloud space to locate target documents, wiki nodes, or spreadsheets. This discovery feature identifies the correct tokens needed before performing retrieval or update operations.

Does creating a new whiteboard inside a Lark document allow downstream editing?

You can create a blank whiteboard inside a Lark document and surface the generated board_token for downstream editing. However, existing whiteboards cannot be edited via the document update API.

What precautions should I take when updating sections in Lark documents?

When updating Lark documents, use selection strategies carefully and idempotency options to avoid overwriting non-reproducible items like embedded media or comments. Always verify permission scopes beforehand.