feishu-fetch-doc

Retrieve Feishu document content as Lark-flavored Markdown with embedded media tokens.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/MisLink/agentry --skill feishu-fetch-doc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-fetch-doc
Source: https://github.com/MisLink/agentry/tree/main/agents/.agents/skills/feishu-fetch-doc
Command: npx skills add https://github.com/MisLink/agentry --skill feishu-fetch-doc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill extracts the textual content of Feishu (Lark) cloud documents into Lark-flavored Markdown and identifies embedded media tokens that require separate retrieval, removing the manual work of parsing document HTML and hunting down media resources.

Core Features & Use Cases

  • Markdown extraction: Convert Feishu cloud document content into readable Markdown while preserving structure and formatting.
  • Media token detection: Identify tokens for images, files, and whiteboards embedded as HTML tags so they can be downloaded separately.
  • Wiki resolution workflow: Resolve wiki links to their actual object types and route to the appropriate tool (docx, sheet, bitable) before fetching.
  • Use Case: When given a Feishu doc URL or token, produce the Markdown content and a list of media tokens that downstream tools can download.

Quick Start

Fetch the Markdown content of the Feishu document at https://xxx.feishu.cn/docx/Z1FjxxxxxxxxxxxxxxxxxxxtnAc and return any image, file, or whiteboard tokens for separate download.

Frequently Asked Questions about feishu-fetch-doc

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

FAQPage Schema
How do I convert a Feishu or Lark cloud document to Markdown?

To convert a Feishu cloud document to Markdown, provide the document URL or token to extract readable content while preserving Lark-flavored Markdown formatting and identifying embedded media tokens for separate retrieval.

Can I extract images and files embedded in Lark wiki documents?

Yes, extracting images and files from Lark wiki documents is supported. The workflow detects embedded media token attributes for images, files, and whiteboards, providing tokens for separate retrieval.

How do I fetch content from a Feishu wiki link using a token?

Fetching content from a Feishu wiki link involves resolving wiki tokens to their actual underlying object types, such as docx, sheet, or bitable, ensuring correct tool routing before retrieving the document Markdown.

Does this Markdown extraction approach work with all Feishu document types?

Markdown extraction applies specifically to docx documents and wiki links. It resolves wiki tokens to underlying object types for routing, but does not directly parse sheets or bitables into Markdown.

What is the best way to get Lark-flavored Markdown from a cloud doc?

The best way to get Lark-flavored Markdown from a cloud doc is to use a document-retrieval workflow that parses the document structure and outputs formatted text alongside extracted media tokens instead of raw HTML.