lark-doc

Read, create, fetch, and update Feishu Cloud Docs via lark-cli.

4|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/FradSer/skills --skill lark-doc-fradser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-doc
Source: https://github.com/FradSer/skills/tree/main/skills/lark/lark-doc
Command: npx skills add https://github.com/FradSer/skills --skill lark-doc-fradser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Feishu Cloud Docs are powerful but difficult to orchestrate for automated workflows. This skill automates common tasks such as reading, creating, fetching, and updating documents, and it routes embedded resources to the appropriate companion skills.

Core Features & Use Cases

  • Read and fetch doc content (XML/Markdown) from Feishu doc tokens or URLs.
  • Create new docs with skeleton structure, including front matter-aware blocks, and fill content incrementally.
  • Update documents at block or text level (str_replace, block_insert_after, block_replace, block_delete, append/overwrite) while preserving media and templates.
  • Insert and manage media (images, files, whiteboards) and route embedded pieces to lark-sheets, lark-base, or lark-whiteboard as needed.
  • Practical use: bootstrap a structured Feishu doc from a prompt and iteratively polish content and visuals.

Quick Start

Use lark-cli to read, fetch, create, and update Feishu Cloud Docs content with XML/Markdown formats.

Frequently Asked Questions about lark-doc

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

FAQPage Schema
How do I automate reading and updating Feishu Cloud Docs content?

You can automate Feishu Cloud Docs content workflows by using lark-cli to read, fetch, create, and update documents via XML or Markdown formats based on doc URLs or tokens.

Can I edit Feishu docs at the block level without breaking media or templates?

Yes, you can update Feishu docs at the block or text level using operations like str_replace, block_insert_after, block_replace, and block_delete while preserving embedded media and templates.

How do I create a new Feishu document with a structured skeleton from a prompt?

You can bootstrap a structured Feishu doc by creating it with front matter-aware blocks and incrementally filling content using lark-cli to build and polish the document.

Does this approach support routing embedded Feishu resources like sheets and whiteboards?

Yes, it automatically routes embedded resources such as sheets, bases, and whiteboards to the appropriate companion skills like lark-sheets, lark-base, or lark-whiteboard for management.

What formats and dependencies are required to manage Feishu docs via lark-cli?

Managing Feishu docs requires the lark-cli binary and uses XML and Markdown formats, adhering to documented read-before-write workflows and style guidelines.

Are there limitations when updating Feishu Cloud Docs content programmatically?

You must follow a strict read-before-write workflow and use v2 API routes when updating Feishu Cloud Docs content, ensuring you fetch existing block structures before applying modifications.