Feishu Doc Converter logo

Feishu Doc Converter

Community
wulaosiji
feishu-doc-converter

飞书文档格式转换技能 / Feishu document converter. 支持飞书云文档与 Markdown 互转,以及外部链接(微信公众号等)转 Markdown。 Use when: "飞书文档转Markdown", "feishu doc to markdown", "markdown转飞书", "markdown to feishu", "链接转Markdown", "url to markdown", "微信公众号抓取", "wechat article fetch", "批量文档转换", "batch document conversion". 支持 doc_to_md() 和 url_to_md() 两种转换方式,覆盖飞书云盘、知识库和外部链接。Cross-references: feishu-doc-orchestrator, feishu-wiki-orchestrator, feishu-doc, feishu-pdf-downloader. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

Publisherwulaosiji
Repositoryskills
Skill namefeishu-doc-converter
Stars
28
Forks
11
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by wulaosiji on GitHub. Read the source before you install it.

Installation

Install the Feishu Doc Converter AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/wulaosiji/skills/tree/main/feishu-doc-converter
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wulaosiji/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/feishu-doc-converter .claude/skills/feishu-doc-converter
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Doc Converter in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Feishu Doc Converter on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Feishu Doc Converter is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Feishu Document Converter

飞书文档格式转换技能——文档与 Markdown 互转,外部链接转 Markdown。

When to Use

Use this skill when:

  • 需要将飞书云文档导出为 Markdown 时
  • 需要将微信公众号文章等外部链接转为 Markdown 时
  • 需要批量转换多个文档或链接时
  • 需要将知识库内容导出以便迁移或备份时

Do NOT use this skill if:

  • 需要创建新的飞书文档 → use feishu-doc-orchestrator instead
  • 只需要读取文档内容而不转换格式 → use feishu-doc instead
  • 需要下载原始 PDF 文件 → use feishu-pdf-downloader instead

Typical triggers:

  • 「把这个飞书文档转成 Markdown」「导出知识库文档为 MD」
  • "Convert this Feishu doc to markdown", "抓取微信文章并转成 Markdown"

Workflow

  1. 探查 (Probe) 确认源内容类型(飞书文档 URL / 外部链接 / 本地文件)和输出路径。

  2. 约束 (Constrain) 根据源类型选择转换方式,不混用:飞书云盘文档用 API 方式,知识库文档用 Browser 方式,外部链接用 url_to_md。批量转换时逐个处理,避免并发导致封号或限流。

  3. 证据 (Evidence) 确认源 URL 有效且可访问。对于飞书文档,提取 doc_token;对于外部链接,确认页面可抓取。

  4. 执行 (Execute) 运行转换脚本:

bash
# 文档转 MD
python3 skills/feishu-doc-converter/scripts/convert.py doc "https://feishu.cn/docx/xxx" output.md

# 链接转 MD
python3 skills/feishu-doc-converter/scripts/convert.py url "https://mp.weixin.qq.com/s/xxx" output.md
  1. 验证 (Verify) 检查生成的 Markdown 格式和内容完整性,确认标题、表格、代码块等元素正确转换。

  2. 交付 (Deliver) 返回输出文件路径,清理临时文件。

Output

生成 Markdown 文件,包含转换后的文档内容。Python API 示例:

python
from skills.feishu_doc_converter import doc_to_md, url_to_md

# 云盘文档转 Markdown
md_content = doc_to_md("docx/UD18dxyZfoo4uRx4cTNchIc8nBe")
md_content = doc_to_md("https://feishu.cn/docx/xxx")

# 知识库文档
md_content = doc_to_md("https://uniquecapital.feishu.cn/wiki/xxx")

# 链接转 Markdown
md_content = url_to_md("https://mp.weixin.qq.com/s/xxx")

Guardrails

Anti-patterns

  • NEVER 对知识库文档使用 API 方式(doc_to_md),因为知识库权限模型与云盘不同
  • Do NOT 并发批量转换,避免触发飞书限流或封号
  • Do NOT 尝试转换需要登录才能访问的私有外部链接

Constraints

  • 飞书云盘文档推荐使用 API 方式(doc_to_md),速度快且无需登录
  • 知识库文档统一使用 url_to_md(Browser 方式)
  • 微信文章抓取复用 wechat-article-fetcher 逻辑

Supported Sources

平台状态说明
飞书云盘文档✅ 支持API 方式(doc_to_md)或 Browser 方式(url_to_md)
飞书知识库文档✅ 支持Browser 方式(url_to_md,推荐)
外部知识库✅ 支持Browser 方式(url_to_md)
微信公众号✅ 支持API 方式(url_to_md)
知乎🚧 待实现-
普通网页🚧 待实现-

Related Skills

  • feishu-doc-orchestrator — 创建飞书文档(Markdown 转飞书文档的写入端)
  • feishu-wiki-orchestrator — 知识库文档创建
  • feishu-doc — 只读读取飞书文档
  • feishu-pdf-downloader — 下载飞书文件

About UniqueClub

Part of the UniqueClub toolkit. 🌐 https://uniqueclub.ai

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Feishu Doc Converter AI skill do?

飞书文档格式转换技能 / Feishu document converter. 支持飞书云文档与 Markdown 互转,以及外部链接(微信公众号等)转 Markdown。 Use when: "飞书文档转Markdown", "feishu doc to markdown", "markdown转飞书", "markdown to feishu", "链接转Markdown", "url to markdown", "微信公众号抓取", "wechat article fetch", "批量文档转换", "batch document conversion". 支持 doc_to_md() 和 url_to_md() 两种转换方式,覆盖飞书云盘、知识库和外部链接。Cross-references: feishu-doc-orchestrator, feishu-wiki-orchestrator, feishu-doc, feishu-pdf-downloader. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Doc Converter on TypingMind?

Because you install it once and use it with any model. Feishu Doc Converter is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Feishu Doc Converter in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wulaosiji/skills/tree/main/feishu-doc-converter. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Feishu Doc Converter?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Feishu Doc Converter?

As many as you like. As long as a model supports skills, you can use Feishu Doc Converter with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Feishu Doc Converter AI skill free?

It is published on GitHub by wulaosiji. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇