feishu-doc

Fetch and convert Feishu Wiki, Docx, Sheets, and Bitable content into Markdown.

2|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/papachong/RHClaw --skill feishu-doc-papachong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-doc
Source: https://github.com/papachong/RHClaw/tree/main/RHClaw-Desktop/src-tauri/skills/feishu-doc
Command: npx skills add https://github.com/papachong/RHClaw --skill feishu-doc-papachong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many teams store knowledge across Feishu (Lark) Wiki pages, Docs, Sheets, and Bitable but lack a reliable way to extract, edit, or ingest that content into local editors or LLM workflows; this Skill automates fetching and converting those resources into Markdown and structured blocks so content is reusable and editable.

Core Features & Use Cases

  • Read: Resolve wiki links and fetch raw document content, blocks, sheets, and bitable records as Markdown.
  • Create / Write / Append: Create new documents, overwrite content by converting Markdown to Feishu blocks, or append large documents in safe chunks.
  • Robustness: Tenant token caching, retries, batch insert fallback to single-item inserts, input sanitization to avoid API 400 errors, and pagination for large docs.
  • Use Case: Import a corporate wiki page into Markdown for summarization by an LLM, then append generated sections back into a Feishu document.

Quick Start

Use the feishu-doc skill to read a Feishu doc URL or token and convert it into Markdown for editing or LLM input.

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 Wiki pages to Markdown for local editing?

You can convert Feishu Wiki pages to Markdown by resolving wiki links and fetching document blocks through the Feishu API. This Skill handles tenant token retrieval, paginated block fetching, and outputs structured Markdown for local editing or LLM context.

Can I append generated Markdown content back into an existing Feishu Docx?

Yes, you can append Markdown content back into a Feishu Docx. The Skill converts Markdown into Feishu blocks, applies input sanitization to avoid API 400 errors, and appends large documents in safe batched chunks with retry support.

Do I need specific app credentials to fetch Bitable records and Sheets via the Feishu API?

Yes, fetching Bitable records and Sheets requires Feishu app credentials. The Skill uses tenant token retrieval with caching to authenticate API requests, extract sheet or bitable data, and convert it into Markdown format.

What is the best way to import a corporate Feishu document into an LLM workflow?

The best way to import a Feishu document into an LLM workflow is to fetch and convert Docx or legacy Doc content into Markdown. This Skill handles paginated block retrieval and token management, outputting clean Markdown text ideal for LLM context construction.

Why does writing Markdown to Feishu blocks fail with API 400 errors on large documents?

Writing Markdown to Feishu blocks often fails with API 400 errors due to unsanitized input or batch size limits. This Skill prevents these errors by applying input sanitization, batching block inserts, and falling back to single-item inserts with retries for large documents.