feishu-doc

Convert Feishu docs, wikis, sheets, and bitables into Markdown.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill feishu-doc-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/feishu-doc-1.2.7
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill feishu-doc-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Convert Feishu (Lark) Docs, Wiki pages, Sheets, and Bitables into Markdown and provide reliable read/create/write/append tooling so teams can ingest, version, or back up Feishu content without manual copy-paste.

Core Features & Use Cases

  • Entity Resolution: Resolves wiki URLs to underlying docx, sheet, or bitable tokens so you can use a single identifier.
  • Read & Export: Fetch raw content and structured blocks, return document metadata and Markdown-ready content for downstream processing.
  • Create / Write / Append: Create new documents, overwrite with sanitized Markdown, or append content in robust batched chunks with per-block fallback.
  • Scaling & Reliability: Handles long documents via chunked appends, retries, token caching, and block validation to avoid API 400/422 errors.
  • Use Case: Automate nightly backups of internal knowledge in Feishu Wiki into a Markdown knowledge repo, or programmatically append LLM-generated sections into a large document.

Quick Start

Fetch a Feishu doc or wiki URL and return its content converted to Markdown for further processing.

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 and wiki pages to Markdown?

You can convert Feishu docs to Markdown by fetching raw document blocks through token-based API authentication and returning Markdown-ready content. The tool resolves wiki URLs to underlying docx tokens automatically.

Can I automate nightly backups of Feishu Wiki content into a Markdown repository?

Yes, automating nightly backups of Feishu Wiki into a Markdown repository is supported through entity resolution and read functionalities. The Skill fetches document metadata and content for programmatic ingestion without manual copy-paste.

What do I need to authenticate and access Feishu docx, sheet, and bitable content?

Accessing Feishu docx, sheet, and bitable content requires token-based authentication using an app_id and app_secret. This credential setup allows the tool to resolve URLs and fetch structured blocks while utilizing token caching.

Does writing to Feishu docs handle large documents with chunked appends?

Writing to Feishu docs handles large documents using robust batched chunked appends with per-block fallback. This scaling and reliability mechanism prevents API 400/422 errors during content creation or overwriting.

Can I append LLM-generated content into an existing Feishu document?

Appending LLM-generated content into an existing Feishu document is supported through batched chunk operations. It applies sanitized Markdown to programmatically add new sections while validating blocks to avoid API errors.

Why do I get API 400 or 422 errors when overwriting long Feishu documents?

API 400 or 422 errors when overwriting long Feishu documents occur due to block validation limits. The tool avoids these errors by applying sanitized Markdown with robust batching, chunked appends, and per-block fallbacks.