lark-doc

Fetch, create, and update Feishu Docs via v2 API with block-level edits.

1|Updated May 17, 2026
One-click install
npx skills add https://github.com/mykcs/myk-skills --skill lark-doc-mykcs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-doc
Source: https://github.com/mykcs/myk-skills/tree/main/lark-doc
Command: npx skills add https://github.com/mykcs/myk-skills --skill lark-doc-mykcs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes references (resource) components.

What problem does it solve?

This Skill automates creating, fetching, updating, and restructuring Feishu (Lark) Docs content by turning a user’s intent into correct v2 API calls and well-formed document blocks, avoiding manual copy-paste chaos.

Core Features & Use Cases

  • Fetch & Summarize Docs v2: Retrieve full or partial content (by outline/section/range/keyword) and select the right detail level for editing.
  • Create & Update with Block Precision: Create new documents and apply targeted updates using string-level and block-level commands while preserving structure.
  • Handle Rich Media & Whiteboards: Insert and download images/files, recognize embedded sheets/bitables, and route into the correct sub-skill workflow for data-backed resources.
  • Workflow Guardrails: Enforces strict reading of required reference docs (auth/scope/xml rules/style/update workflow) before executing write operations.

Quick Start

Use lark-cli docs +fetch --api-version v2 to read a specific Feishu document URL or token, then use lark-cli docs +update --api-version v2 with the appropriate command to append or precisely replace the requested block content.

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 Docs content updates using the v2 API?

To automate Feishu Docs content updates, use the v2 API to apply targeted block-level edits and string replacements. This approach preserves document structure while enabling precise modifications without manual copy-pasting.

Can I fetch and summarize a specific section of a Lark Wiki document?

Yes, you can fetch and summarize specific sections of a Lark Wiki document by retrieving content based on outline, section, range, or keyword. This allows for localized reading and editing of Feishu Docs.

Does Feishu Docs v2 API support inserting rich media and whiteboards?

Feishu Docs v2 API supports inserting rich media like images and files, and handles whiteboards by routing to related skills. It also recognizes embedded sheets and bitables for data-backed resources.

Do I need to format content as XML for Feishu Docs automation?

Yes, compliant content formatting via XML is required by default for Feishu Docs automation. Optional Markdown support is available only when explicitly requested, ensuring strict v2 parameter usage.

What is the best way to maintain a knowledge base using Feishu Docs?

The best way to maintain a Feishu Docs knowledge base is automating document creation and block-accurate updates via the v2 API. This enforces workflow guardrails by reading required reference docs before executing write operations.

Why do my Feishu Docs v2 write operations fail during automation?

Feishu Docs v2 write operations fail if workflow guardrails are bypassed. You must strictly read required reference docs covering authentication, scopes, XML rules, and update workflows before executing any block-level commands.