Feishu Doc Creator logo

Feishu Doc Creator

Community
wulaosiji
feishu-doc-creator

Create and write Feishu (Lark) documents via API — supporting both Drive (cloud) docs and Wiki (knowledge base) docs. 飞书文档创建统一入口,支持自动内容写入和权限管理。 Use when: "创建飞书文档", "飞书写文档", "feishu doc", "lark document", "飞书知识库", "飞书云文档", "创建飞书 wiki", "feishu wiki", "飞书文档写入". The unified entry point for Feishu document creation with automatic content writing and permission management. Cross-references: feishu-doc-orchestrator, feishu-doc-converter, feishu-wiki-orchestrator, feishu-pdf-downloader. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

Publisherwulaosiji
Repositoryskills
Skill namefeishu-doc-creator
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 Creator 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-creator
  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-creator .claude/skills/feishu-doc-creator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Doc Creator 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 Creator 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 Creator 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 Creator

飞书文档创建统一入口——通过 API 创建云文档或知识库文档,并自动写入内容和管理权限。

When to Use

Use this skill when:

  • 需要在飞书云盘(Drive)或知识库(Wiki)中创建新文档时
  • 需要将 Markdown 内容自动写入飞书文档时
  • 需要以编程方式设置文档权限或添加协作者时
  • 需要从模板或结构化数据批量创建文档时

Do NOT use this skill if:

  • 需要读取或搜索现有飞书文档 → use feishu-doc or feishu-chat-extractor instead
  • 需要在文档之间转换格式 → use feishu-doc-converter instead
  • 只需要在飞书中发送消息 → use feishu-chat-monitor instead
  • 需要完整的文档编排流程(含块解析、验证、日志)→ use feishu-doc-orchestrator instead

Typical triggers:

  • 「创建飞书文档」「在飞书里写文档」「飞书 wiki 创建」
  • "create feishu doc", "lark document", "飞书文档自动化"
  • 「生成飞书知识库页面」「自动写入飞书文档」

Workflow

  1. 探查 (Probe) 确认以下信息:文档类型(云文档 Drive / 知识库 Wiki)、文档标题、文档内容(直接粘贴 / Markdown 文件路径 / 按主题生成)、目标位置(云盘文件夹 token / 知识库父节点 token)、协作者(可选)。

  2. 约束 (Constrain) 验证飞书凭证环境变量 FEISHU_APP_ID 和 FEISHU_APP_SECRET 可用。可选默认配置:FEISHU_DRIVE_FOLDER_TOKEN、FEISHU_PARENT_DAILY_REPORT、FEISHU_AUTO_COLLABORATOR_ID。凭证缺失时提示用户配置,不降级执行。

  3. 证据 (Evidence) 确认文档类型和目标位置后,选择对应脚本。收集所有必要参数(标题、内容路径、位置 token)。

  4. 执行 (Execute) 使用对应脚本创建文档:

bash
# Drive document
python3 skills/feishu-doc-creator/scripts/create_doc.py drive "标题" input.md

# Wiki document
python3 skills/feishu-doc-creator/scripts/create_doc.py wiki "标题" input.md

创建后将 Markdown 转换为飞书文档块并写入,验证插入成功。如指定协作者,调用权限 API 授予访问。

  1. 验证 (Verify) 回读创建的文档,确认标题、内容和权限均已正确设置。检查返回的 doc_token 和 URL 有效性。

  2. 交付 (Deliver) 返回文档 URL 和创建结果 JSON,清理临时文件。

Output

脚本返回 JSON 结果:

json
{
  "success": true,
  "doc_type": "drive",
  "title": "文档标题",
  "obj_token": "doxxxxxxxxx",
  "url": "https://feishu.cn/docx/xxxxxxx",
  "folder_token": "DYPXf8ZktlOCIXdmGq3cfjevn2F"
}

Guardrails

Anti-patterns

  • NEVER 在没有有效飞书凭证的情况下创建文档
  • Do NOT 覆盖现有文档,除非用户明确确认
  • Do NOT 尝试通过本技能读取或修改已有文档内容

Constraints

  • 内容包含图片时,确保图片为公开可访问的 URL(飞书 API 无法直接上传本地图片)
  • API 文档大小有限制,超长内容(>100 页)建议拆分为多个文档
  • 始终返回文档 URL 供用户访问

Legacy Skill Migration

本技能替代以下旧技能:

Old SkillReplaced ByReason
feishu-drive-doc-creatorfeishu-doc-creatorUnified API
feishu-wiki-doc-creatorfeishu-doc-creatorUnified API
feishu-wiki-child-creatorfeishu-doc-creatorUnified API

Related Skills

  • feishu-doc-orchestrator — 完整文档编排流程(解析→创建→添加块→验证→日志)
  • feishu-doc-converter — 飞书文档与 Markdown/PDF 格式互转
  • feishu-wiki-orchestrator — 知识库空间和节点的批量操作
  • feishu-pdf-downloader — 导出飞书文档为 PDF

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

Create and write Feishu (Lark) documents via API — supporting both Drive (cloud) docs and Wiki (knowledge base) docs. 飞书文档创建统一入口,支持自动内容写入和权限管理。 Use when: "创建飞书文档", "飞书写文档", "feishu doc", "lark document", "飞书知识库", "飞书云文档", "创建飞书 wiki", "feishu wiki", "飞书文档写入". The unified entry point for Feishu document creation with automatic content writing and permission management. Cross-references: feishu-doc-orchestrator, feishu-doc-converter, feishu-wiki-orchestrator, feishu-pdf-downloader. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Doc Creator on TypingMind?

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

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

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 Creator?

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

Is the Feishu Doc Creator 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 👇