← 返回 Skills 市场
gitxuzhefeng

Feishu Multi-Bot 飞书多机器人配置

作者 Maplers · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
274
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-multi-bot
功能描述
配置多个 OpenClaw Agent 使用独立飞书机器人,支持免配对直接聊天,自动重启生效并提供状态摘要。
使用说明 (SKILL.md)

SKILL.md - 飞书多机器人配置

描述

为多个 OpenClaw Agent 配置独立的飞书机器人,支持免配对直接聊天模式。

触发条件

用户请求:

  • "给多个 agent 配置飞书机器人"
  • "配置飞书多账号"
  • "让每个 agent 用不同的飞书机器人"
  • 提供多个飞书 App ID + App Secret 要求配置

执行步骤

步骤 1:收集信息

向用户确认以下信息(格式示例):

Agent 名称 | 飞书 App ID | 飞书 App Secret
-----------|------------|----------------
银月       | cli_xxx    | xxx
韩立       | cli_yyy    | yyy

步骤 2:构建配置

使用 gateway 工具的 config.patch 动作,更新配置:

{
  "channels": {
    "feishu": {
      "enabled": true,
      "defaultAccount": "\x3C第一个 agent 名称>",
      "dmPolicy": "open",
      "connectionMode": "websocket",
      "domain": "feishu",
      "groupPolicy": "open",
      "accounts": {
        "\x3Cagent1>": {
          "appId": "\x3Capp_id_1>",
          "appSecret": "\x3Capp_secret_1>"
        },
        "\x3Cagent2>": {
          "appId": "\x3Capp_id_2>",
          "appSecret": "\x3Capp_secret_2>"
        }
      }
    }
  }
}

步骤 3:应用配置

调用 gateway 工具:

action: config.patch
note: "已配置飞书多机器人:[Agent 列表],Gateway 将自动重启"
raw: \x3C上述配置 JSON>

步骤 4:验证状态

配置完成后,执行:

openclaw gateway status

确认 Gateway 运行正常。

步骤 5:返回摘要

向用户返回配置摘要:

Agent 飞书账号名 App ID 状态
银月 yinyue cli_xxx
韩立 hanli cli_yyy

默认账号: \x3CdefaultAccount>

免配对模式: 已启用,添加机器人后可直接聊天。


注意事项

  1. App Secret 保密:不要在日志或公开场合泄露
  2. 账号命名:建议使用 agent 名称作为账号标识
  3. defaultAccount:设置为最常用的 Agent
  4. dmPolicy: "open":关闭配对,任何人添加机器人即可聊天
  5. 重启生效:config.patch 会自动触发 Gateway 重启

故障排查

问题 检查项
机器人不响应 openclaw gateway status 确认运行中
配置未生效 检查 openclaw logs --follow 查看错误
账号冲突 确保每个 accountId 唯一

相关文档

  • OpenClaw 飞书文档:https://docs.openclaw.ai/channels/feishu.md
  • 多账号配置示例:channels.feishu.accounts
安全使用建议
This skill appears to do what it says, but take these precautions before using it: (1) Only provide App ID/App Secret values to the agent in a private, trusted channel; do not paste them in public logs or channels. (2) Consider whether dmPolicy: "open" is appropriate — it allows anyone who adds the bot to chat without pairing. If unsure, keep pairing enabled. (3) Back up your current Gateway configuration before applying config.patch and be prepared for a restart (possible temporary downtime). (4) After applying, verify using openclaw gateway status and openclaw logs --follow; rotate App Secrets if you suspect they were exposed. (5) Ask the skill/agent to avoid echoing secrets in visible outputs or logs; if the SKILL.md is to be used as an automated instruction, add an explicit step to redact secrets from any agent responses or logs.
功能分析
Type: OpenClaw Skill Name: feishu-multi-bot Version: 1.0.0 The skill bundle is designed to configure multiple Feishu bots for OpenClaw agents by using the system's 'gateway' tool to patch configuration files. It follows a standard workflow of collecting credentials (App ID/Secret) and applying them via 'config.patch', with no evidence of data exfiltration, unauthorized execution, or malicious intent in SKILL.md or the metadata files.
能力评估
Purpose & Capability
The skill's name/description (multi-bot Feishu configuration) matches the runtime instructions: it collects per-agent Feishu App ID/App Secret pairs and writes them into the OpenClaw Gateway channels.feishu.accounts configuration via gateway config.patch. Nothing requested or described is unrelated to that purpose.
Instruction Scope
Instructions stay within expected scope (gather credentials from user, build JSON config, call gateway config.patch, check gateway status/logs). Two points to note: (1) the guide suggests setting dmPolicy:"open" (disables pairing), which is a security/privacy decision the administrator should consider before enabling; (2) the SKILL.md warns to keep App Secrets confidential but does not explicitly instruct the agent how to handle/display these secrets safely (for example, avoid echoing them in logs or chat).
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing will be downloaded or written by an install step.
Credentials
No environment variables or unrelated credentials are requested. The only sensitive inputs are the per-account App ID and App Secret which are necessary and proportionate for configuring Feishu accounts.
Persistence & Privilege
Skill does not request always:true or elevated platform privileges. The operational action (config.patch) legitimately modifies the Gateway's channel configuration and may trigger a restart as documented — this is consistent with its purpose and limited in scope.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-multi-bot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-multi-bot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
飞书多机器人独立配置支持已发布: - 允许为多个 OpenClaw Agent 配置独立飞书机器人账号及密钥。 - 支持无需配对的直接聊天模式(dmPolicy: "open")。 - 新增批量输入 agent 与对应飞书 App ID/Secret 信息,简化配置流程。 - 自动应用并验证配置,配置完成后 Gateway 会自动重启。 - 提供简明配置摘要,帮助用户确认各 Agent 状态。 - 补充常见故障排查与操作注意事项。
元数据
Slug feishu-multi-bot
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Feishu Multi-Bot 飞书多机器人配置 是什么?

配置多个 OpenClaw Agent 使用独立飞书机器人,支持免配对直接聊天,自动重启生效并提供状态摘要。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 274 次。

如何安装 Feishu Multi-Bot 飞书多机器人配置?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-multi-bot」即可一键安装,无需额外配置。

Feishu Multi-Bot 飞书多机器人配置 是免费的吗?

是的,Feishu Multi-Bot 飞书多机器人配置 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu Multi-Bot 飞书多机器人配置 支持哪些平台?

Feishu Multi-Bot 飞书多机器人配置 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu Multi-Bot 飞书多机器人配置?

由 Maplers(@gitxuzhefeng)开发并维护,当前版本 v1.0.0。

💬 留言讨论