Feishu Doc Creator With Permission logo

Feishu Doc Creator With Permission

Community
wulaosiji
feishu-doc-creator-with-permission

文档创建+权限管理子技能 / Feishu doc creator with permission sub-skill. 在飞书创建文档并自动完成权限分配(添加协作者+转移所有权),两步原子操作。 Use when: "创建飞书文档带权限", "create feishu doc with permission", "添加协作者", "add collaborator", "转移所有权", "transfer ownership", "文档权限分配", "doc permission assignment". 内部组件,由 feishu-doc-orchestrator 编排调用,确保每次创建都正确分配权限。Cross-references: feishu-doc-orchestrator, feishu-doc-perm, feishu-block-adder. Built by UniqueClub 🌐 https://uniqueclub.ai

Overview

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

Use it in TypingMind

Enable Feishu Doc Creator With Permission 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 With Permission 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 With Permission 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 Doc Creator with Permission (Sub-skill)

在飞书创建新文档,并自动完成完整权限管理流程(添加协作者 + 转移所有权),确保用户获得完全控制权。内部组件。

When to Use

Use this skill when:

  • 需要创建飞书文档并确保用户获得完全控制权时
  • 需要在创建文档后自动添加协作者权限时
  • 需要将文档所有权转移给用户时

Do NOT use this skill if:

  • 需要独立创建文档而不需要权限管理 → use feishu-doc-creator instead
  • 需要管理已有文档的权限 → use feishu-doc-perm instead
  • 需要创建到知识库 → use feishu-wiki-orchestrator (parent) instead

Typical triggers:

  • 「创建文档并分配权限」「转移文档所有权」
  • "create doc with permission", "transfer document ownership"

Workflow

  1. 探查 (Probe) 确认文档标题(必需)和 Markdown 文件路径(可选,用于确定标题)。

  2. 约束 (Constrain) 创建文档和权限管理是强关联操作,必须合并执行。只有 tenant_token 可以添加协作者,只有 user_token 可以转移所有权。不降级——权限分配失败时报告错误,不创建无权限文档。

  3. 执行 (Execute) 三步原子操作:

  4. 创建文档:使用 tenant_access_token 创建新文档,应用成为创建者

  5. 添加协作者权限:使用 tenant_access_token 添加协作者,用户获得编辑权限

  6. 转移所有权:使用 user_access_token 转移所有权,用户获得完全控制权

bash
python scripts/doc_creator_with_permission.py "文档标题" output
  1. 验证 (Verify) 检查权限状态:collaborator_added 和 owner_transferred 均为 true,确认 user_has_full_control。

  2. 交付 (Deliver) 保存文档信息和权限状态到 output/doc_with_permission.json。

Output

json
{
  "document_id": "U2wNd2rMkot6fzxr67ScN7hJn7c",
  "document_url": "https://feishu.cn/docx/U2wNd2rMkot6fzxr67ScN7hJn7c",
  "title": "文档标题",
  "created_at": "2026-01-22T10:30:00",
  "permission": {
    "collaborator_added": true,
    "owner_transferred": true,
    "user_has_full_control": true,
    "collaborator_id": "ou_xxx"
  }
}

Guardrails

Anti-patterns

  • NEVER 只创建文档而不分配权限(用户将看不到文档)
  • Do NOT 跳过所有权转移(用户可编辑但无法删除)
  • Do NOT 使用错误的 token 类型:添加协作者必须用 tenant_token,转移所有权必须用 user_token

Constraints

  • 权限管理的必要性:应用创建的文档用户默认无权限 → 添加协作者后可编辑但无法删除 → 转移所有权后获得完全控制权
  • 只传递文件路径,不传递内容
  • 输出给 feishu-block-adder、feishu-doc-verifier、feishu-logger

Related Skills

  • feishu-doc-orchestrator (parent) — 主编排技能,调用本子技能
  • feishu-doc-perm — 管理已有文档的权限
  • feishu-block-adder — 下游:向创建的文档添加块

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

文档创建+权限管理子技能 / Feishu doc creator with permission sub-skill. 在飞书创建文档并自动完成权限分配(添加协作者+转移所有权),两步原子操作。 Use when: "创建飞书文档带权限", "create feishu doc with permission", "添加协作者", "add collaborator", "转移所有权", "transfer ownership", "文档权限分配", "doc permission assignment". 内部组件,由 feishu-doc-orchestrator 编排调用,确保每次创建都正确分配权限。Cross-references: feishu-doc-orchestrator, feishu-doc-perm, feishu-block-adder. Built by UniqueClub 🌐 https://uniqueclub.ai

Why use Feishu Doc Creator With Permission on TypingMind?

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

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

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 With Permission?

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

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