← 返回 Skills 市场
alex-shen1121

Feishu Group Company

作者 AlexShen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
123
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-group-company
功能描述
Configure a Feishu multi-bot company group so one coordinator bot, for example `company-ceo`, handles normal group messages, while specialist bots reply only...
使用说明 (SKILL.md)

Feishu Group Company

Overview

Use this skill to standardize a shared Feishu company group with one default coordinator bot and multiple specialist bots.

Target behavior:

  • No @mention in the group → only the coordinator bot replies
  • @mention a specialist bot → only that specialist replies
  • When another bot is explicitly mentioned, the coordinator bot returns NO_REPLY

Quick start

  1. Confirm the group chat ID (oc_xxx) and the Feishu account IDs for all bots.
  2. Decide which bot is the default coordinator, usually company-ceo.
  3. Run scripts/apply_feishu_group_company.py against ~/.openclaw/openclaw.json.
  4. Reload/restart Gateway if needed.
  5. Verify with two tests:
    • plain message with no @mention
    • message that @mentions a specialist bot

What this skill changes

For the target group:

  • Top-level group rule becomes requireMention: true
  • Specialist bot accounts get per-account override groups.\x3CchatId>.requireMention: true
  • Coordinator bot account gets per-account override groups.\x3CchatId>.requireMention: false
  • Coordinator bot gets a group-scoped systemPrompt that enforces:
    • no @mention → reply normally
    • @other user/bot but not coordinator → NO_REPLY
    • @coordinator → reply normally
  • Legacy invalid per-account key group is removed in favor of groups

Important notes

  • Use groups, not group, under channels.feishu.accounts.\x3CaccountId>.
  • If you rename a Feishu account ID, also update any bindings[].match.accountId that reference it.
  • Specialist bots may still receive the event at transport level if they have group-message permissions; the important part is that they are mention-gated and therefore reject non-mentioned messages.
  • The coordinator bot must still be instructed to stay silent when another bot is explicitly mentioned; this skill does that via group systemPrompt.
  • If a specialist bot never receives group traffic even when @mentioned, check Feishu app permissions first.

When behavior is still wrong

Read references/troubleshooting.md and check logs for these patterns:

  • Good specialist rejection on plain message:
    • rejected: no bot mention
  • Good coordinator silence when another bot is mentioned:
    • dispatch complete (replies=0)
  • Broken specialist delivery:
    • no inbound log lines for that account at all

Resources

scripts/

  • apply_feishu_group_company.py — patch openclaw.json for one company group pattern

references/

  • troubleshooting.md — quick diagnosis checklist and expected log signatures
安全使用建议
This skill is coherent for its stated purpose, but take normal precautions: run the script with --dry-run first to inspect the proposed changes, use --backup before writing, confirm you supplied the correct group ID and account IDs (the script will raise if an account is missing), and restart/reload your Gateway after changes. The coordinator behavior is enforced by a systemPrompt in config — test both plain messages and @mentions to ensure the bots behave as expected. No network exfiltration or secret access is required by this skill.
功能分析
Type: OpenClaw Skill Name: feishu-group-company Version: 1.0.0 The skill is designed to manage multi-bot interactions in Feishu group chats by patching the local OpenClaw configuration file (~/.openclaw/openclaw.json). The included Python script (scripts/apply_feishu_group_company.py) modifies bot-specific settings and system prompts to ensure only the designated coordinator or @mentioned specialist bots respond, which aligns perfectly with the stated purpose in SKILL.md and troubleshooting.md.
能力评估
Purpose & Capability
The name/description (configure a Feishu multi-bot company group) matches the included script and SKILL.md. The script patches ~/.openclaw/openclaw.json to set group-level requireMention, per-account groups entries, and a coordinator systemPrompt—exactly what the skill claims to do.
Instruction Scope
SKILL.md instructs the operator to run the provided script against the OpenClaw config and to verify behavior. The instructions reference only the OpenClaw config, group IDs, and account IDs (all directly relevant). There are no instructions to read unrelated files, environment variables, or to transmit data externally.
Install Mechanism
No install spec; this is an instruction-only skill with a small Python script. No downloads, package installs, or archives are performed. Risk from install mechanism is minimal.
Credentials
The skill requests no environment variables, no credentials, and no config paths beyond the OpenClaw config (default ~/.openclaw/openclaw.json) described in the docs. That access is proportionate to the stated purpose of editing OpenClaw Feishu routing.
Persistence & Privilege
The script writes changes to the user's OpenClaw config file (in-place) and updates meta.lastTouchedAt; a backup option exists. This write access is expected for a config-patching tool, but users should be aware it modifies their agent config and should run with --dry-run and/or --backup when first using it.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install feishu-group-company
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /feishu-group-company 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Feishu company-group routing template with CEO default reply, specialist mention-only gating, and reusable config patch script.
元数据
Slug feishu-group-company
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Feishu Group Company 是什么?

Configure a Feishu multi-bot company group so one coordinator bot, for example `company-ceo`, handles normal group messages, while specialist bots reply only... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 123 次。

如何安装 Feishu Group Company?

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

Feishu Group Company 是免费的吗?

是的,Feishu Group Company 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Feishu Group Company 支持哪些平台?

Feishu Group Company 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Feishu Group Company?

由 AlexShen(@alex-shen1121)开发并维护,当前版本 v1.0.0。

💬 留言讨论