← 返回 Skills 市场
Discord Message Guard
作者
jlkptom-prog
· GitHub ↗
· v1.0.0
· MIT-0
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install discord-message-guard
功能描述
Filters and moderates Discord messages with spam detection, rate limiting, content checks, and pattern-based blocking before reaching agents.
使用说明 (SKILL.md)
Discord Message Guard
Middleware skill that filters and guards Discord messages before they reach agents.
Capabilities
- Filter spam and unwanted messages
- Rate limiting per user/channel
- Content moderation hooks
- Pattern-based message blocking
Usage
This skill is automatically loaded when configured. No manual invocation needed.
安全使用建议
This skill appears to do what it says: local middleware for Discord message filtering. Before installing, note that: (1) it's source-based (TypeScript) and includes a package.json and package-lock — you or your deploy system must run npm install and build (the registry has no automated install step). (2) It does not request bot tokens or env secrets itself, but you will still need to integrate it into your bot code and supply your bot user id and bot token via your own code (do not paste tokens into third-party UIs). (3) Review the code if you have policy requirements (the repo is from an unknown source in the registry metadata). (4) Test in a staging environment first; the skill runs a periodic cleanup timer (normal) and can be invoked autonomously by agents (default behavior). If you need an install script provided by the publisher or an audited distribution, request that before using in production.
功能分析
Type: OpenClaw Skill
Name: discord-message-guard
Version: 1.0.0
The 'discord-message-guard' skill is a well-structured middleware designed to prevent infinite message loops and spam in Discord bot integrations. It implements legitimate safety features such as response depth limiting, bot-to-bot message filtering, and @everyone/@here protection. The code (src/DiscordMessageGuard.ts, src/ResponseRuleEngine.ts) aligns perfectly with the stated purpose in the documentation, contains no suspicious network calls or data exfiltration logic, and includes comprehensive unit tests.
能力评估
Purpose & Capability
Name/description match the code and README: the code implements metadata extraction, rule engine, session state, and history cleaning for Discord messages. Declared dependencies (discord.js) and the included TS source files are appropriate for this purpose.
Instruction Scope
SKILL.md is minimal and describes middleware behavior only. The runtime code references only Discord message data structures and internal state; it does not read files, environment variables, or call external endpoints beyond what a Discord bot integration would normally use.
Install Mechanism
The registry entry contains no install spec, but the package includes package.json, package-lock.json, and TS sources with README build instructions (npm install; npm run build). This is not malicious but means the skill requires a build step and npm dependencies to be installed by the integrator — the registry did not provide an automated install mechanism.
Credentials
The skill declares no required environment variables or credentials. The code expects a botUserId to be passed programmatically; it does not request tokens or unrelated secrets. Dependencies are standard npm packages (discord.js and common dev tools).
Persistence & Privilege
Flags show standard defaults (always:false, model invocation enabled). The skill does start an internal cleanup timer (setInterval) for session management, which is reasonable for a long-running middleware; it does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install discord-message-guard - 安装完成后,直接呼叫该 Skill 的名称或使用
/discord-message-guard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Discord Message Guard middleware skill.
- Filters spam and unwanted messages in Discord.
- Supports per-user and per-channel rate limiting.
- Provides content moderation hooks.
- Allows pattern-based message blocking.
- Activates automatically when configured; no manual invocation required.
元数据
常见问题
Discord Message Guard 是什么?
Filters and moderates Discord messages with spam detection, rate limiting, content checks, and pattern-based blocking before reaching agents. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 Discord Message Guard?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install discord-message-guard」即可一键安装,无需额外配置。
Discord Message Guard 是免费的吗?
是的,Discord Message Guard 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Discord Message Guard 支持哪些平台?
Discord Message Guard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Discord Message Guard?
由 jlkptom-prog(@jlkptom-prog)开发并维护,当前版本 v1.0.0。
推荐 Skills