feishu-doc

Fetch Feishu Wiki, Docs, Sheets, and Bitable content and convert it to Markdown.

18|2|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/yuanyuekejiJN/AivoClaw --skill feishu-doc-yuanyuekejijn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/yuanyuekejiJN/AivoClaw/tree/main/extraSkills/feishu-doc-1.2.7
Command: npx skills add https://github.com/yuanyuekejiJN/AivoClaw --skill feishu-doc-yuanyuekejijn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @larksuiteoapi/node-sdk, commander, axios, dotenv, fetch.

What problem does it solve?

Feishu Lark documents (Docs/Wiki/Sheets/Bitable) are hard to export, read, and update in a developer-friendly way, especially when you need a consistent Markdown workflow.

Core Features & Use Cases

  • Read & Convert to Markdown: Fetch Wiki/Doc/Sheet/Bitable content and convert it into Markdown for easy editing and reuse.
  • Create & Update Docs: Create new blank Docs and then overwrite or append Markdown content to an existing document.
  • Long Document Support: Handles very long documents by creating first, then appending in chunks to avoid output limits and API constraints.
  • Supported Structures: Supports headings, paragraphs, bullets, ordered lists, quotes, and code fences using Feishu Doc block operations.

Quick Start

Ask the AI to read a Feishu document by running node index.js with action read and the document token, then return the fetched Markdown content for you to edit.

Frequently Asked Questions about feishu-doc

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

FAQPage Schema
How do I convert Feishu Docs or Wiki content to Markdown?

You can convert Feishu Docs or Wiki content to Markdown by fetching the document via its token and parsing the Feishu Doc blocks. This extracts the content into Markdown for downstream use, migration, or structured authoring.

Can I create and append content to a Feishu Doc using Markdown?

Yes, you can create a new blank Feishu Doc and append Markdown content to it. The tool handles write and append operations by validating Feishu Doc blocks, supporting structures like headings, paragraphs, lists, quotes, and code fences.

How do I handle very long documents when exporting or writing to Feishu?

When handling very long documents for Feishu, the tool creates the document first and then appends content in chunks. This batching approach avoids output limits and API constraints during long-report generation or migration workflows.

Do I need app credentials to access Feishu Wiki and Sheets via API?

Yes, accessing Feishu Wiki, Docs, Sheets, and Bitable requires Feishu app authentication using an app_id and app_secret or environment variables. Token resolution for Wiki entities is also necessary to fetch and convert the content.

What is the best way to extract a Feishu Bitable into a structured format?

The best way to extract a Feishu Bitable into a structured format is to fetch the content via the Feishu API and convert it into Markdown. This enables knowledge-base extraction and structured authoring workflows for operational teams.

What are the limitations of writing Markdown to Feishu Docs?

Limitations of writing Markdown to Feishu Docs include API constraints on output length and the need for block parsing and validation. The tool mitigates this by batching append operations, but complex structures outside of headings, lists, quotes, and code fences may not be supported.