← 返回 Skills 市场
feishu-message-group-whitelist
作者
johnhejunlin
· GitHub ↗
· v1.0.0
· MIT-0
117
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install feishu-message-group-whitelist
功能描述
飞书群聊白名单关键词过滤。当飞书机器人收到群消息时,根据白名单判断是否需要回复——只有消息中包含白名单关键词时才触发回复,实现精准触发而非广播所有消息。触发词示例:群里有人发消息时、提到特定关键词时、需要过滤无关消息时。
使用说明 (SKILL.md)
Feishu Message Group Whitelist
Overview
飞书群消息白名单过滤 Skill。机器人在群聊中收到消息时,读取白名单配置文件,仅当消息正文包含白名单中的关键词时才触发正常回复流程,否则静默跳过。
白名单配置为独立文件,方便随时增删关键词,无需修改 Skill 逻辑。
Core Logic
收到飞书群消息时:
1. 读取 config/whitelist.txt(每行一个关键词,去除空格和空行)
2. 若白名单为空 → 跳过过滤,正常回复(兼容未配置场景)
3. 遍历白名单关键词,若消息正文包含某关键词 → 触发正常回复
4. 若所有关键词均不匹配 → 静默返回 HEARTBEAT_OK,不消耗 token
Whitelist Config
白名单文件路径:config/whitelist.txt
格式:每行一个关键词,支持任意字符,支持中英文混合。
示例:
高斯
CAO
报告
分析
Message Flow
飞书群消息到达
→ 检查 whitelist.txt 是否有匹配
→ 有匹配:进入正常 Agent 响应流程
→ 无匹配:返回 NO_REPLY,静默跳过
Config Location
- 白名单文件:
config/whitelist.txt(相对于 skill 根目录) - Skill 根目录由 OpenClaw 加载时确定,通常为
~/.openclaw/skills/feishu-message-group-whitelist/或 workspace 下的对应目录
首次使用时请在白名单中添加需要的触发关键词。
安全使用建议
This skill appears to do exactly what it says: read config/whitelist.txt and only forward messages that contain a listed keyword. Before installing or enabling it, consider the following: (1) Populate config/whitelist.txt with the intended trigger words — if left empty the skill will allow replies to all messages, which may cause unwanted broadcasting and extra token/model usage. (2) Confirm you trust the skill source since the skill will pass matched message content into your agent's normal response flow (the agent may send that content to the model or external systems depending on your agent configuration). (3) Verify the skill's config directory is not symlinked to sensitive files you don't want the skill to read. (4) Test in a controlled group or sandbox to ensure behavior matches expectations.
功能分析
Type: OpenClaw Skill
Name: feishu-message-group-whitelist
Version: 1.0.0
The skill implements a simple keyword-based whitelist filter for Feishu (Lark) group messages. The logic described in SKILL.md and the configuration in config/whitelist.txt are consistent with the stated purpose of reducing bot noise, and no malicious behaviors, data exfiltration, or prompt injection attacks were identified.
能力评估
Purpose & Capability
The name/description (Feishu group whitelist keyword filter) aligns with the provided instructions and files: it only needs to read a local config/whitelist.txt and decide whether to invoke the normal agent response flow. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md is narrowly scoped: it instructs the agent to read config/whitelist.txt (skill root) and only trigger the normal response when a keyword matches. One operational caveat: if the whitelist is empty the instructions explicitly say to 'skip filtering' and respond to all messages — that can cause broad replies and increased token usage if the operator forgets to populate the file.
Install Mechanism
No install spec or code is included (instruction-only skill). Nothing will be downloaded or written by an installer as part of skill setup.
Credentials
The skill requests no environment variables, credentials, or external configuration. This is proportionate for a local whitelist filter.
Persistence & Privilege
always:false (default); model invocation is allowed (normal). The skill does not request permanent global presence or modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishu-message-group-whitelist - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishu-message-group-whitelist触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of feishu-message-group-whitelist.
- Adds whitelist-based keyword filtering for Feishu group chats.
- Only triggers a reply when the message contains a keyword from a configurable whitelist file.
- Whitelist is stored in config/whitelist.txt for easy keyword management.
- Supports skipping filtering if the whitelist is empty.
- Silently ignores unrelated messages to reduce noise and token consumption.
元数据
常见问题
feishu-message-group-whitelist 是什么?
飞书群聊白名单关键词过滤。当飞书机器人收到群消息时,根据白名单判断是否需要回复——只有消息中包含白名单关键词时才触发回复,实现精准触发而非广播所有消息。触发词示例:群里有人发消息时、提到特定关键词时、需要过滤无关消息时。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 117 次。
如何安装 feishu-message-group-whitelist?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishu-message-group-whitelist」即可一键安装,无需额外配置。
feishu-message-group-whitelist 是免费的吗?
是的,feishu-message-group-whitelist 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
feishu-message-group-whitelist 支持哪些平台?
feishu-message-group-whitelist 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 feishu-message-group-whitelist?
由 johnhejunlin(@johnhejunlin)开发并维护,当前版本 v1.0.0。
推荐 Skills