lark-doc

Manage Cloudisnifeishu document lifecycle with create, read, update, delete, and media via cli commands.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ShunsukeHayashi/lark-harness --skill lark-doc-shunsukehayashi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-doc
Source: https://github.com/ShunsukeHayashi/lark-harness/tree/main/lark-doc
Command: npx skills add https://github.com/ShunsukeHayashi/lark-harness --skill lark-doc-shunsukehayashi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Feishu cloud documents are central to collaboration but managing creation, retrieval, updates, and media can be tedious and error-prone. This skill provides end-to-end automation for creating docs from Markdown, reading content, applying updates (append/replace/insert/delete), and handling media uploads/downloads and image embedding. It also streamlines resource discovery across related cloud objects (docs, wikis, sheets) using lark-cli shortcuts like docs +create, +fetch, +update, +media-insert, +media-preview, +media-download, and +search.

Core Features & Use Cases

  • Create docs from Markdown using docs +create and specify location (folder/wiki space).
  • Fetch and preview doc content with docs +fetch, including page-wise extraction and token handling for media.
  • UpdateDocs with modes append/replace/insert_before/insert_after/delete_range/overwrite to selectively modify content while preserving existing media and comments.
  • Insert and manage media, including images and files, via docs +media-insert and docs +media-download or +media-preview.
  • Search and discover cloud space objects (docs, Wiki, Sheets) with docs +search to support resource discovery and handoff to specialized skills (sheets, wiki, etc.).

Quick Start

Create a new Feishu cloud document from Markdown using docs +create, then fetch its content with docs +fetch to verify.

Frequently Asked Questions about lark-doc

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

FAQPage Schema
How do I convert Markdown content into a Feishu cloud document automatically?▼

To convert Markdown to a Feishu cloud document, use the docs +create command to generate the file and specify the target location such as a folder or wiki space for storage.

Can I append or replace text in Feishu cloud docs without losing existing media and comments?▼

You can update Feishu cloud docs using modes like append, replace, insert_before, insert_after, delete_range, and overwrite to selectively modify content while preserving existing media and comments.

What is the best way to fetch and extract page-wise content from Feishu cloud docs?▼

Fetching Feishu cloud doc content is handled by the docs +fetch command, which extracts page-wise content and manages tokens required for retrieving embedded media files.

How do I embed images or download files attached to Feishu cloud documents?▼

To manage media in Feishu cloud docs, use docs +media-insert to upload and embed images or files, and use docs +media-download or +media-preview to retrieve them.

Does this workflow automation support searching for related spreadsheets and wikis across the cloud space?▼

Resource discovery across Feishu cloud objects like docs, wikis, and sheets is supported through the docs +search command to facilitate handoff to specialized skills.

What are the limitations when using overwrite mode to update Feishu cloud documents?▼

When using overwrite mode to update Feishu cloud documents, selective modification is supported but existing media and comments are preserved, meaning full blank slate overwrites are restricted to text regions.