Feishu Block Adder logo

Feishu Block Adder

Community
wulaosiji
feishu-block-adder

知识库块添加子技能 / Feishu wiki block adder sub-skill. 将解析后的块数据添加到飞书知识库文档,分批处理以避免 API 限制,支持表格和普通块。 Use when: "添加知识库块", "add wiki blocks", "批量添加知识库块", "batch add wiki blocks", "知识库表格创建", "wiki table creation", "块写入知识库", "block write to wiki". 内部组件,由 feishu-wiki-orchestrator 编排调用,每批最多 20 个块,表格单独处理。Cross-references: feishu-wiki-orchestrator, feishu-md-parser, feishu-doc-verifier. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

Publisherwulaosiji
Repositoryskills
Skill namefeishu-block-adder
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 Block Adder 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-wiki-orchestrator/feishu-block-adder
  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-wiki-orchestrator/feishu-block-adder .claude/skills/feishu-block-adder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Block Adder 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 Block Adder 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 Block Adder 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 Wiki Block Adder (Sub-skill)

将解析后的块数据分批添加到飞书知识库文档,支持表格和普通块。内部组件,由父技能编排调用。

When to Use

Use this skill when:

  • 需要将 feishu-md-parser 生成的块数据写入知识库文档时
  • 需要分批添加大量块以避免 API 限制时
  • 需要在知识库文档中创建表格块时

Do NOT use this skill if:

  • 需要独立创建知识库文档 → use feishu-wiki-orchestrator (parent) instead
  • 需要解析 Markdown → use feishu-md-parser instead
  • 需要向云盘文档添加块 → use feishu-doc-orchestrator/feishu-block-adder instead

Typical triggers:

  • 「添加块到知识库文档」「批量写入知识库块」
  • "add blocks to wiki doc", "batch wiki block insertion"

Workflow

  1. 探查 (Probe) 从 blocks.json 加载解析后的块数据,从 doc_info.json 加载知识库文档 ID。

  2. 约束 (Constrain) 每批最多 20 个块,表格单独处理,普通块批量添加。不支持的块类型跳过并记录。

  3. 执行 (Execute) 分批调用飞书 API 添加块到知识库文档:

bash
python scripts/block_adder.py workflow/step1_parse/blocks.json workflow/step2_create/doc_info.json output
  1. 验证 (Verify) 检查 API 返回结果,确认所有块添加成功,统计成功/失败数量。

  2. 交付 (Deliver) 保存添加结果到 output/add_result.json。

Output

json
{
  "success": true,
  "document_id": "U2wNd2rMkot6fzxr67ScN7hJn7c",
  "total_blocks": 290,
  "tables_created": 10,
  "regular_blocks": 280,
  "batches": 15,
  "duration_seconds": 5.2
}

Guardrails

Anti-patterns

  • NEVER 一次性添加超过 20 个块(API 限制)
  • Do NOT 将表格块与普通块混合在同一批中
  • Do NOT 独立使用本子技能——应由父技能 feishu-wiki-orchestrator 编排

Constraints

  • 当前支持 13 种块类型:text, heading1-6, bullet, ordered, code, quote, divider, table
  • Callout 块(block_type: 19)颜色字段必须直接放在 callout 对象下,不能嵌套在 style 中
  • 知识库文档的块添加 API 与云盘文档相同,但文档 token 类型不同

Related Skills

  • feishu-wiki-orchestrator (parent) — 主编排技能,调用本子技能
  • feishu-md-parser — 上游:解析 Markdown 为块数据
  • feishu-doc-verifier — 下游:验证知识库文档内容

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 Block Adder AI skill do?

知识库块添加子技能 / Feishu wiki block adder sub-skill. 将解析后的块数据添加到飞书知识库文档,分批处理以避免 API 限制,支持表格和普通块。 Use when: "添加知识库块", "add wiki blocks", "批量添加知识库块", "batch add wiki blocks", "知识库表格创建", "wiki table creation", "块写入知识库", "block write to wiki". 内部组件,由 feishu-wiki-orchestrator 编排调用,每批最多 20 个块,表格单独处理。Cross-references: feishu-wiki-orchestrator, feishu-md-parser, feishu-doc-verifier. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Block Adder on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wulaosiji/skills/tree/main/feishu-wiki-orchestrator/feishu-block-adder. 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 Block Adder?

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 Block Adder?

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

Is the Feishu Block Adder 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 👇