feishu-doc

Convert Feishu Wiki, Doc, Sheet, and Bitable tokens into Markdown.

Updated May 4, 2026
One-click install
npx skills add https://github.com/234194027-cpu/xianclaw --skill feishu-doc-234194027-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/234194027-cpu/xianclaw/tree/main/resources/skills/feishu-doc
Command: npx skills add https://github.com/234194027-cpu/xianclaw --skill feishu-doc-234194027-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill fetches and converts content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable into readable Markdown, and can also create and update Feishu Docs from Markdown input.

Core Features & Use Cases

  • Fetch & Convert: Reads Wiki/Docs/Sheets/Bitable content and converts it into Markdown for easy downstream use.
  • Resolve Wiki Links Automatically: Accepts Wiki-style tokens/URLs and resolves them to the real underlying document type before reading.
  • Create & Write Feishu Docs: Creates new Docs, overwrites existing content, or appends Markdown—handling long content via chunked appends.

Quick Start

Ask the agent to fetch a Feishu document’s content as Markdown by providing the doc token or a supported Feishu URL, then request the Markdown output.

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 automatically?

To convert Feishu Docs and Wiki pages to Markdown, you provide a document token or supported URL, and the system resolves the Wiki link and extracts the content blocks into readable Markdown format. It handles long documents via chunked processing to ensure complete extraction.

How do I extract data from Feishu Sheets or Bitable into Markdown?

You can extract Feishu Sheets and Bitable data into Markdown by passing the sheet or table token to the conversion process. The system reads the spreadsheet content and maps the structured data into a readable Markdown format for downstream use.

Do I need a Feishu app ID and secret to read Feishu documents via API?

Yes, reading Feishu documents requires app authentication using an app_id and app_secret, or environment variables like FEISHU_APP_ID and FEISHU_APP_SECRET. This authentication is mandatory for resolving Wiki links and accessing Docs or Sheets data.

Can I create or update Feishu Docs from Markdown input?

Yes, you can create new Feishu Docs or update existing ones from Markdown input. The system supports overwriting content or appending Markdown, automatically handling long-form text through chunked appends to avoid API failures.

What causes 400 API errors when writing long content to Feishu Docs?

API 400 failures when writing to Feishu Docs usually occur due to document block validation or payload size limits. The system mitigates this by mapping document blocks with sanitization and splitting long content into chunked appends.

How do I resolve a Feishu Wiki token to the actual document type?

To resolve a Feishu Wiki token to its actual document type, the system automatically processes the Wiki-style URL or token, identifies the underlying object as a Doc or Sheet, and then retrieves the content for Markdown conversion.