Feishu Setup logo

Feishu Setup

Community
AgentTeam-TaichuAI
feishu-setup

自动配置飞书机器人应用。当用户要求配置飞书、创建飞书机器人、接入 Lark/飞书、设置飞书 app_id/app_secret、或询问如何配置飞书 IM 时触发此 skill。该 skill 通过 sandbox 内置浏览器自动完成飞书开放平台上的应用创建、权限配置、事件订阅和发布,用户仅需扫码登录。

Overview

PublisherAgentTeam-TaichuAI
RepositoryScienceClaw
Skill namefeishu-setup
Stars
670
Forks
73
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 AgentTeam-TaichuAI on GitHub. Read the source before you install it.

Installation

Install the Feishu Setup 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/AgentTeam-TaichuAI/ScienceClaw/tree/master/ScienceClaw/backend/builtin_skills/feishu-setup
  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/AgentTeam-TaichuAI/ScienceClaw.git /tmp/ScienceClaw
mkdir -p .claude/skills
cp -r /tmp/ScienceClaw/ScienceClaw/backend/builtin_skills/feishu-setup .claude/skills/feishu-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Feishu Setup 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 Setup 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 Setup 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 Auto Setup

Automate the creation and configuration of a Feishu (Lark) bot application on the Feishu Open Platform. The user only needs to scan a QR code to log in; all other steps are handled automatically by the one-shot script feishu_full_setup.py running in the sandbox.

Prerequisites

  • The sandbox container must be running (provides the built-in browser via MCP).
  • The backend service must be reachable from the sandbox at http://backend:8000.

Execution

该 skill 只支持使用总控脚本 feishu_full_setup.py 一次性完成全部流程,不再支持单独执行 feishu_auto_setup.py。

bash
python3 /builtin-skills/feishu-setup/scripts/feishu_full_setup.py --name "ScienceClaw 助手"

使用 agent 的 execute 工具执行上面的总控命令时,必须显式设置 timeout=900。不要使用 timeout=300,因为飞书页面自动化、扫码等待、权限导入和事件配置可能持续数分钟。

注意:总控脚本执行时间较长。若执行过程中遇到超时或失败,不要再单独执行 feishu_auto_setup.py 的任一步骤,否则会打乱 feishu_full_setup.py 的页面状态与执行顺序。如果检测到执行失败,则等待 3 分钟后退出。如果已经完成到第 7 步骤,可以视为成功。

脚本会自动完成以下步骤:

  • 打开飞书开放平台并等待扫码登录
  • 创建应用、添加机器人、首次发布
  • 获取 app_id / app_secret
  • 回写系统 LARK_APP_ID / LARK_APP_SECRET 并建立长连接
  • 配置应用身份权限
  • 配置用户身份权限
  • 配置事件与回调
  • 第二次发布

如需跳过某些步骤,可使用:

  • --skip-app-permissions
  • --skip-user-permissions
  • --skip-step2-publish

如需在 workspace 中执行,只复制总控脚本即可:

bash
cp /builtin-skills/feishu-setup/scripts/feishu_full_setup.py {workspace_dir}/feishu_full_setup.py
python3 {workspace_dir}/feishu_full_setup.py --name "ScienceClaw 助手"

总控脚本会在同一条命令执行过程中等待用户扫码登录飞书。

如果 feishu_full_setup.py 执行失败,则等待 3 分钟后退出, 如果已经完成到第 7 步骤,可以视为成功。

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

自动配置飞书机器人应用。当用户要求配置飞书、创建飞书机器人、接入 Lark/飞书、设置飞书 app_id/app_secret、或询问如何配置飞书 IM 时触发此 skill。该 skill 通过 sandbox 内置浏览器自动完成飞书开放平台上的应用创建、权限配置、事件订阅和发布,用户仅需扫码登录。

Why use Feishu Setup on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AgentTeam-TaichuAI/ScienceClaw/tree/master/ScienceClaw/backend/builtin_skills/feishu-setup. 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 Setup?

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

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

Is the Feishu Setup AI skill free?

It is published on GitHub by AgentTeam-TaichuAI. 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 👇