返回顶部
f

feishu-message-group-whitelist

飞书群聊白名单关键词过滤。当飞书机器人收到群消息时,根据白名单判断是否需要回复——只有消息中包含白名单关键词时才触发回复,实现精准触发而非广播所有消息。触发词示例:群里有人发消息时、提到特定关键词时、需要过滤无关消息时。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
64
下载量
0
收藏
概述
安装方式
版本历史

feishu-message-group-whitelist

# 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 下的对应目录 首次使用时请在白名单中添加需要的触发关键词。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 feishu-message-group-whitelist-1775960108 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 feishu-message-group-whitelist-1775960108 技能

通过命令行安装

skillhub install feishu-message-group-whitelist-1775960108

下载 Zip 包

⬇ 下载 feishu-message-group-whitelist v1.0.0

文件大小: 1.92 KB | 发布时间: 2026-4-13 10:16

v1.0.0 最新 2026-4-13 10:16
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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部