lark-doc

Manage and edit Lark cloud documents and media assets.

641|104|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/eastreams/loong --skill lark-doc-eastreams
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-doc
Source: https://github.com/eastreams/loong/tree/main/skills/larksuite-cli/lark-doc
Command: npx skills add https://github.com/eastreams/loong --skill lark-doc-eastreams

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Managing and editing Feishu (Lark) cloud documents is fragmented across document types, tokens, media assets, and wiki nodes; this Skill centralizes document creation, fetching, updating, media insertion/download, and search so agents can operate reliably across personal spaces and knowledge bases.

Core Features & Use Cases

  • Unified document operations: Create documents from Lark-flavored Markdown, fetch full document markdown, and update content with multiple modes (append, replace_range, insert_before/after, overwrite, delete).
  • Media and whiteboard orchestration: Download or insert images/files, create blank whiteboards and retrieve board tokens, and coordinate multi-step media upload with rollback semantics.
  • Wiki and token resolution: Resolve wiki nodes to real object tokens and route actions to the correct API for docx, sheet, bitable, slides, or drive files.
  • Search as resource discovery: Use docs +search to find documents, wikis, and spreadsheets before handing off to specialized skills (e.g., lark-sheets) for in-file operations.
  • Use case: Locate an organizational spreadsheet by keyword, fetch its doc URL via docs +search, then hand off the token to the sheets skill for detailed data extraction.

Quick Start

Create a Feishu document titled "Project Plan" with structured Markdown, include a centered architecture image, and append a blank whiteboard for diagramming.

Frequently Asked Questions about lark-doc

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

FAQPage Schema
How do I manage and edit Feishu cloud documents across different document types?

You can manage and edit Feishu cloud documents across docx, doc, wiki, sheets, and drive files by resolving correct tokens and using authenticated lark-cli execution to safely create, fetch, search, and update content.

What is the best way to create a Feishu document with media and whiteboards?

The best way to create a Feishu document with media is using Lark-flavored Markdown for content, then orchestrating media uploads and creating blank whiteboards to retrieve board tokens for diagram insertion.

How do I resolve wiki nodes to actual tokens for updating Feishu document content?

To resolve wiki nodes to real object tokens, route actions to the correct API for docx, sheet, bitable, or slides files, ensuring correct token resolution before attempting to update document content.

Can I search for organizational spreadsheets and fetch their document URLs in Feishu?

Yes, you can use the docs search function to locate organizational spreadsheets and fetch their document URLs, then hand off the token to specialized skills for detailed data extraction.

What update modes are supported for editing Feishu cloud document content?

Editing Feishu cloud documents supports multiple update modes including append, replace_range, insert_before, insert_after, overwrite, and delete to safely modify content across workspaces.

Does this approach handle media upload failures with rollback semantics?

Yes, media orchestration includes rollback semantics to safely coordinate multi-step media uploads and downloads, preventing incomplete asset insertion when creating or updating Feishu documents.