Feishu Md Parser logo

Feishu Md Parser

Community
wulaosiji
feishu-md-parser

Markdown解析子技能 / Feishu markdown parser sub-skill. 将 Markdown 文件解析为飞书文档块格式,输出 JSON 文件,支持25种块类型映射。 Use when: "解析Markdown为飞书块", "parse markdown to feishu blocks", "Markdown转块格式", "markdown to block format", "飞书块类型映射", "feishu block type mapping", "文档块解析", "document block parsing". 内部组件,由 feishu-doc-orchestrator 编排调用,输出 blocks.json 供 feishu-block-adder 使用。Cross-references: feishu-doc-orchestrator, feishu-block-adder, feishu-doc-converter. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

Publisherwulaosiji
Repositoryskills
Skill namefeishu-md-parser
Stars
28
Forks
11
Bundled files
1
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.

  • 1 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 Md Parser 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-orchestrator/feishu-md-parser
  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-orchestrator/feishu-md-parser .claude/skills/feishu-md-parser
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Md Parser 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 Md Parser 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 Md Parser 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 Markdown Parser (Sub-skill)

将 Markdown 文件解析为飞书文档块格式,输出 JSON 文件。支持25种块类型映射。内部组件。

When to Use

Use this skill when:

  • 需要将 Markdown 文件解析为飞书文档块格式时
  • 需要将标题、列表、表格、代码块等转换为飞书块时
  • 需要清理 Markdown 中的零宽字符和特殊格式时

Do NOT use this skill if:

  • 需要添加块到文档 → use feishu-block-adder instead
  • 需要创建文档 → use feishu-doc-orchestrator (parent) instead
  • 需要将飞书文档转为 Markdown → use feishu-doc-converter instead

Typical triggers:

  • 「解析 Markdown 为飞书块」「转换 Markdown 为块格式」
  • "parse markdown to blocks", "convert markdown to feishu format"

Workflow

  1. 探查 (Probe) 从指定路径读取 Markdown 文件内容。

  2. 约束 (Constrain) 支持的块类型:标题(# - ######)、无序/有序列表、表格、代码块、引用块、粗体/斜体、分割线。不支持的元素跳过并记录。清理零宽字符(\u200b, \u200c, \u200d, \ufeff)。

  3. 执行 (Execute)

  4. 解析 Markdown 内容为飞书块格式

  5. 清理内容(移除零宽字符、清理表格单元格、处理粗体标记)

  6. 输出 JSON 文件

bash
python scripts/md_parser.py input.md output/blocks.json
  1. 验证 (Verify) 检查 blocks.json 中的块数量、表格数量、标题数量等元数据,确认解析完整。

  2. 交付 (Deliver) 输出 output/blocks.json(块数据)和 output/metadata.json(解析元数据)。

Output

json
{
  "blocks": [
    {
      "block_type": 2,
      "text": {
        "elements": [{"text_run": {"content": "文本内容"}}],
        "style": {}
      }
    },
    {
      "block_type": 31,
      "table": {
        "property": {"row_size": 3, "column_size": 2, "header_row": true},
        "data": [["标题1", "标题2"], ["数据1", "数据2"], ["数据3", "数据4"]]
      }
    }
  ],
  "metadata": {"total_blocks": 50, "table_count": 5, "heading_count": 10}
}

Guardrails

Anti-patterns

  • NEVER 将 Callout 块的颜色字段嵌套在 style 中(必须直接放在 callout 对象下)
  • Do NOT 保留零宽字符(会导致飞书显示异常)
  • Do NOT 独立使用本子技能——应由父技能编排

Constraints

  • 只传递文件路径,不传递内容
  • 输出给 feishu-doc-creator 和 feishu-block-adder
  • Callout 块(block_type: 19)使用 Python 展开操作符将样式字段直接展开到 callout 下

Related Skills

  • feishu-doc-orchestrator (parent) — 主编排技能,调用本子技能
  • feishu-block-adder — 下游:将解析后的块添加到文档
  • feishu-doc-converter — 反向转换:飞书文档转 Markdown

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 Md Parser AI skill do?

Markdown解析子技能 / Feishu markdown parser sub-skill. 将 Markdown 文件解析为飞书文档块格式,输出 JSON 文件,支持25种块类型映射。 Use when: "解析Markdown为飞书块", "parse markdown to feishu blocks", "Markdown转块格式", "markdown to block format", "飞书块类型映射", "feishu block type mapping", "文档块解析", "document block parsing". 内部组件,由 feishu-doc-orchestrator 编排调用,输出 blocks.json 供 feishu-block-adder 使用。Cross-references: feishu-doc-orchestrator, feishu-block-adder, feishu-doc-converter. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Md Parser on TypingMind?

Because you install it once and use it with any model. Feishu Md Parser 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 Md Parser in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wulaosiji/skills/tree/main/feishu-doc-orchestrator/feishu-md-parser. 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 Md Parser?

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 Md Parser?

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

Is the Feishu Md Parser 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 👇