← Back to Skills Marketplace
johnhejunlin

feishu-message-group-whitelist

by johnhejunlin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
117
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-message-group-whitelist
Description
飞书群聊白名单关键词过滤。当飞书机器人收到群消息时,根据白名单判断是否需要回复——只有消息中包含白名单关键词时才触发回复,实现精准触发而非广播所有消息。触发词示例:群里有人发消息时、提到特定关键词时、需要过滤无关消息时。
README (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 下的对应目录

首次使用时请在白名单中添加需要的触发关键词。

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-message-group-whitelist
  3. After installation, invoke the skill by name or use /feishu-message-group-whitelist
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug feishu-message-group-whitelist
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is feishu-message-group-whitelist?

飞书群聊白名单关键词过滤。当飞书机器人收到群消息时,根据白名单判断是否需要回复——只有消息中包含白名单关键词时才触发回复,实现精准触发而非广播所有消息。触发词示例:群里有人发消息时、提到特定关键词时、需要过滤无关消息时。 It is an AI Agent Skill for Claude Code / OpenClaw, with 117 downloads so far.

How do I install feishu-message-group-whitelist?

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

Is feishu-message-group-whitelist free?

Yes, feishu-message-group-whitelist is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does feishu-message-group-whitelist support?

feishu-message-group-whitelist is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created feishu-message-group-whitelist?

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

💬 Comments