feishu-doc

Reads, writes, and edits Feishu documents including tables, images, and file attachments.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/shalevamin/Tau_agent --skill feishu-doc-shalevamin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/shalevamin/Tau_agent/tree/main/tau-agent-main/extensions/feishu/skills/feishu-doc
Command: npx skills add https://github.com/shalevamin/Tau_agent --skill feishu-doc-shalevamin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Feishu (Lark) cloud documents programmatically requires handling many distinct API operations—reading content, writing markdown, managing blocks, creating tables, and uploading media. This Skill consolidates all of these into a single tool with a unified action parameter, removing the need to learn the underlying Feishu OpenAPI surface. ## Core Features & Use Cases - Document Read/Write: Read plain text and block statistics, replace entire documents with markdown, or append content to existing docs. - Block-Level Editing: List, inspect, update, and delete individual blocks (headings, paragraphs, code, todos) for precise edits. - Tables and Media: Create Docx tables with values in one step, and upload images or file attachments from URLs or local paths with position control. - Use Case: A user shares a Feishu docx link and asks for a summary table of Q1 results. The Skill extracts the doc_token from the URL, reads the document, then creates a native table block with the requested values. ## Quick Start Read the Feishu document at this link and append a summary section at the end.

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 path after /docx/ (e.g., ABC123def from https://xxx.feishu.cn/docx/ABC123def), then call the tool with action "read" and that token. The response includes title, plain text, and block statistics.

How do I create a table in a Feishu docx document?

Use the create_table_with_values action with row_size, column_size, column_width, and a 2D values array. Markdown tables are not supported by the write action because the Feishu API rejects table creation via documentBlockChildren.create.

Can I write markdown to a Feishu document?

Yes, the write action replaces the entire document with markdown content, supporting headings, lists, code blocks, quotes, links, and images. The append action adds markdown to the end without replacing existing content.

Why does the created Feishu document not appear for the user?

Documents created without owner_open_id are only accessible to the bot app. Always pass the requesting user's open_id from the inbound sender_id metadata so they receive full_access permission automatically.

What are the limitations of editing Feishu document blocks?

Images cannot be updated via update_block and must be re-added through markdown write or append. New tables cannot be inserted via markdown, and content insertion is only supported at the document end, not arbitrary positions.