lark-doc

Create, fetch, update, and manage Feishu cloud documents via XML or Markdown.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Feishu cloud docs often require repetitive creation, retrieval, and modification across teams. This Skill provides a programmable bridge to create, fetch, update, and manage documents, including media handling and cloud-space search, reducing manual toil and ensuring consistency.

Core Features & Use Cases

  • Create and update Feishu cloud documents using XML or Markdown, with frontmatter-based discovery.
  • Fetch content at varying detail levels (simple, with-ids, full) and across scopes (outline, range, section, keyword) to optimize context.
  • Update documents through eight operations (str_replace, block_insert_after, block_copy_insert_after, block_replace, block_delete, block_move_after, overwrite, append) to support precise edits.
  • Upload/download images and files, attach media blocks, and search cloud documents for quick resource discovery.
  • Seamlessly integrate with workflows by enabling automated document lifecycles, version control, and cross-project collaboration.

Quick Start

Create a new Feishu cloud document from XML content and verify the resulting document ID.

Frequently Asked Questions about lark-doc

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

FAQPage Schema
How do I automate Feishu cloud docs creation using XML or Markdown?

You can automate Feishu cloud docs creation by submitting XML or Markdown content to generate documents programmatically. It uses frontmatter-based discovery to manage document lifecycles and ensures consistent batch creation across cloud spaces.

How does block-level updating work for Feishu documents?

Block-level updating works through eight operations like str_replace, block_insert_after, block_replace, and block_delete to execute precise edits. This enforces safe editing workflows by targeting specific document blocks rather than overwriting entire files.

Do I need lark-cli to fetch and update Feishu cloud documents?

Yes, you need lark-cli to fetch and update Feishu cloud documents. The Skill requires this command-line interface to execute programmatic operations for text extraction, media handling, and content search across folders and cloud spaces.

Can I fetch specific sections or keywords from Feishu docs to optimize context?

Yes, you can fetch specific sections or keywords from Feishu docs to optimize context. The Skill supports fetching content at varying detail levels including simple, with-ids, and full, across scopes like outline, range, section, and keyword.

What is the best way to handle media uploads and file attachments in Feishu cloud spaces?

The best way to handle media uploads and file attachments in Feishu cloud spaces is using programmatic operations to upload and download images or files. You can attach media blocks directly to automate document lifecycles and manage cross-project resources.

What are the limitations of frontmatter-driven discovery for Feishu document versioning?

Frontmatter-driven discovery for Feishu document versioning is limited to documents that correctly implement frontmatter metadata for identification. Without proper frontmatter, automated batch operations and cross-project collaboration workflows cannot locate and manage the target files.