feishu-doc

Read, write, and edit Feishu documents via a single action-based tool.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Cyandex/ErnOS --skill feishu-doc-cyandex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/Cyandex/ErnOS/tree/main/extensions/feishu/skills/feishu-doc
Command: npx skills add https://github.com/Cyandex/ErnOS --skill feishu-doc-cyandex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Feishu (Lark) cloud documents programmatically requires handling multiple API endpoints for reading, writing, and block-level editing. This Skill consolidates all document operations into one tool with an action parameter, so you can manage Feishu docs directly from conversation. ## Core Features & Use Cases - Full Document Operations: Read, create, overwrite, and append markdown content to Feishu documents using a doc_token extracted from the document URL. - Block-Level Editing: List all blocks, inspect individual blocks, update text content, or delete specific blocks for fine-grained document manipulation. - Structured Content Handling: Detect tables, images, and code blocks via block statistics, then retrieve full structured data with the list_blocks action. - Use Case: Paste a Feishu docx link and ask the assistant to summarize its content, append a meeting-notes section, or update a specific paragraph without leaving the chat. ## Quick Start Read the Feishu document at https://xxx.feishu.cn/docx/ABC123def and summarize its content for me.

Frequently Asked Questions about feishu-doc

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

FAQPage Schema
How do I read a Feishu document from a URL?▼

Extract the doc_token from the URL (the segment after /docx/) and call the feishu_doc tool with action "read" and that token. The response returns the title, plain text content, and block statistics.

How to write markdown content to a Feishu doc?▼

Use action "write" with the doc_token and a markdown content string to replace the entire document, or action "append" to add content at the end. Headings, lists, code blocks, quotes, links, and images are supported.

Does Feishu doc writing support markdown tables?▼

No, markdown tables are not supported. The Feishu API does not allow creating table blocks programmatically, so tables in markdown are skipped with a warning. Existing tables can be read via list_blocks and individual cells updated.

How do I edit a specific paragraph in a Feishu document?▼

First call list_blocks to find the target block_id, then use update_block with the doc_token, block_id, and new text content. Text-based blocks like paragraphs, headings, and list items are editable.

What permissions does the Feishu doc tool require?▼

The tool requires the docx:document, docx:document:readonly, docx:document.block:convert, and drive:drive permission scopes configured for your Feishu app.