← Back to Skills Marketplace
yang1002378395-cmyk

飞书快速集成配置

by yang1002378395-cmyk · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
214
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-quickstart-cn
Description
飞书快速集成配置 - 5分钟连接 OpenClaw 与飞书,解锁文档管理、知识库、自动化工作流。适合:企业用户、团队协作、飞书生态。
README (SKILL.md)

飞书快速集成配置

目标:5 分钟内完成 OpenClaw + 飞书集成,开始自动化办公。


🚀 快速开始(3 步)

第一步:创建飞书应用

  1. 访问 飞书开放平台
  2. 点击「创建企业自建应用」
  3. 填写信息:
    • 应用名称:OpenClaw Assistant
    • 应用描述:AI 助手,自动化办公
  4. 创建后记录:
    • App ID
    • App Secret

第二步:配置权限

在应用后台 → 「权限管理」→ 添加以下权限:

文档权限(必选)

  • docx:document - 读写文档
  • docx:document:readonly - 读取文档
  • docx:document.block:convert - 转换文档块
  • drive:drive - 云空间访问

知识库权限(可选)

  • wiki:wiki:readonly - 读取知识库
  • wiki:wiki - 读写知识库

多维表格权限(可选)

  • bitable:bitable - 读写多维表格
  • bitable:bitable:readonly - 读取多维表格

第三步:配置 OpenClaw

在 OpenClaw 配置文件 ~/.openclaw/config.yml 添加:

channels:
  feishu:
    enabled: true
    appId: "cli_xxxxxxxxxxxx"      # 你的 App ID
    appSecret: "xxxxxxxxxxxxxxxx"  # 你的 App Secret

然后重启 OpenClaw:

openclaw gateway restart

✅ 验证集成

在 OpenClaw 对话中测试:

读取飞书文档 https://xxx.feishu.cn/docx/ABC123

如果成功返回文档内容,集成完成!


📋 常见使用场景

场景 1:自动生成周报

指令

读取飞书文档 [项目文档链接],提取本周进展,生成周报并保存到 [周报文档]

OpenClaw 会自动

  1. 读取项目文档
  2. 提取关键信息
  3. 生成周报 Markdown
  4. 写入周报文档

场景 2:知识库管理

指令

在飞书知识库 [空间名] 创建新页面「产品 FAQ」,内容如下:
[FAQ 内容]

OpenClaw 会自动

  1. 调用 feishu_wiki 创建页面
  2. 调用 feishu_doc 写入内容
  3. 返回页面链接

场景 3:多维表格自动化

指令

读取飞书多维表格 [表格链接],统计销售额,更新到汇总表

OpenClaw 会自动

  1. 调用 feishu_bitable_list_records 读取数据
  2. 计算统计结果
  3. 调用 feishu_bitable_update_record 更新汇总

🔧 高级配置

多租户支持(企业版)

如果需要管理多个飞书租户:

channels:
  feishu:
    enabled: true
    tenants:
      - name: "公司A"
        appId: "cli_xxx"
        appSecret: "xxx"
      - name: "公司B"
        appId: "cli_yyy"
        appSecret: "yyy"

Webhook 事件订阅(可选)

配置飞书事件推送,实现实时响应:

  1. 在飞书应用后台 → 「事件订阅」
  2. 配置 Request URL:https://your-openclaw-domain/webhook/feishu
  3. 订阅事件:
    • contact.user.created_v3 - 用户创建
    • docx.document.created_v1 - 文档创建
    • im.message.receive_v1 - 消息接收

🐛 故障排查

问题 1:权限不足

错误permission denied: docx:document

解决

  1. 检查飞书应用权限配置
  2. 确保已发布应用版本
  3. 等待 5 分钟权限生效

问题 2:文档链接无法识别

错误invalid doc_token

解决

  1. 确认链接格式:https://xxx.feishu.cn/docx/ABC123
  2. 提取 doc_tokenABC123(/docx/ 后的部分)
  3. 确保文档对应用可见

问题 3:表格写入失败

错误field type mismatch

解决

  1. 使用 feishu_bitable_list_fields 查看字段类型
  2. 确保数据格式匹配:
    • Text → "string"
    • Number → 123
    • SingleSelect → "Option"
    • MultiSelect → ["A", "B"]
    • DateTime → timestamp_ms

📚 相关 Skills

  • feishu-doc - 文档读写操作
  • feishu-wiki - 知识库管理
  • feishu-drive - 云存储管理
  • feishu-perm - 权限管理

💰 定价参考

  • 基础集成:¥99(环境检查 + 配置指导)
  • 企业定制:¥299(多租户 + Webhook + 培训)
  • 全托管服务:¥999/月(OpenClaw 托管 + 飞书集成 + 技术支持)

🆘 获取帮助

  • 文档:https://docs.openclaw.ai
  • 社区:https://discord.com/invite/clawd
  • 飞书开放平台:https://open.feishu.cn/document

创建时间:2026-03-21 作者:OpenClaw 中文生态 版本:1.0.0

Usage Guidance
This skill appears coherent for connecting OpenClaw to 飞书, but before installing: 1) Only grant the minimum 飞书 permissions your use-case needs (read vs read/write). 2) Be aware you'll place App Secret(s) in ~/.openclaw/config.yml — protect that file (restrict filesystem permissions) and rotate secrets periodically. 3) If you enable webhook event subscription, make sure the Request URL is an HTTPS endpoint you control and that it validates requests (signature/verification) to avoid accepting forged events. 4) Restarting the gateway requires admin rights; confirm you have permission and that OpenClaw is reachable from 飞书 if you expect incoming webhooks. 5) Do not paste your App Secret into chat or public places. If you want a safer deployment, consider using environment variables or a secrets manager instead of plaintext config.
Capability Analysis
Type: OpenClaw Skill Name: feishu-quickstart-cn Version: 1.0.0 The skill bundle is a configuration guide and documentation for integrating OpenClaw with the Feishu (Lark) platform. It contains standard setup instructions for API credentials, permission scopes, and configuration file examples (SKILL.md, skill.json). No executable code, malicious scripts, or harmful prompt injection attempts were identified.
Capability Assessment
Purpose & Capability
Name/description (feishu integration) align with instructions: creating a 飞书 app, granting doc/wiki/bitable permissions, and adding appId/appSecret to OpenClaw config is exactly what's needed to enable the described features. Requiring curl as a binary is reasonable for troubleshooting or webhook testing.
Instruction Scope
SKILL.md stays within integration scope: it instructs creating an app, granting appropriate permissions, editing ~/.openclaw/config.yml, and restarting the OpenClaw gateway. Two operational notes: (1) it asks you to place App Secret(s) in the config file (a sensitive secret stored on-disk); (2) webhook setup requires exposing a Request URL (https://your-openclaw-domain/webhook/feishu) — you must ensure that endpoint is secure and under your control. No instructions request unrelated system files or credentials.
Install Mechanism
Instruction-only skill with no install spec and no code files; nothing is written to disk by the skill itself. This is the lowest-risk model for installation.
Credentials
The skill requests no environment variables and no external credentials from the registry. However, it explicitly instructs storing App ID and App Secret in OpenClaw's config file (and supports multi-tenant secrets). Storing secrets in plaintext config is expected for this integration but is a security/privacy consideration the user must accept and manage (rotate secrets, limit access to config file).
Persistence & Privilege
always:false and normal model invocation behavior. The skill does not request persistent platform privileges or modify other skills. It advises restarting the OpenClaw gateway, which requires appropriate OS/service permissions — this is expected for applying config changes.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-quickstart-cn
  3. After installation, invoke the skill by name or use /feishu-quickstart-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首次发布
Metadata
Slug feishu-quickstart-cn
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 飞书快速集成配置?

飞书快速集成配置 - 5分钟连接 OpenClaw 与飞书,解锁文档管理、知识库、自动化工作流。适合:企业用户、团队协作、飞书生态。 It is an AI Agent Skill for Claude Code / OpenClaw, with 214 downloads so far.

How do I install 飞书快速集成配置?

Run "/install feishu-quickstart-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 飞书快速集成配置 free?

Yes, 飞书快速集成配置 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 飞书快速集成配置 support?

飞书快速集成配置 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 飞书快速集成配置?

It is built and maintained by yang1002378395-cmyk (@yang1002378395-cmyk); the current version is v1.0.0.

💬 Comments