← Back to Skills Marketplace
jlkptom-prog

Discord Message Guard

by jlkptom-prog · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
94
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install discord-message-guard
Description
Filters and moderates Discord messages with spam detection, rate limiting, content checks, and pattern-based blocking before reaching agents.
README (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.

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

What is Discord Message Guard?

Filters and moderates Discord messages with spam detection, rate limiting, content checks, and pattern-based blocking before reaching agents. It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.

How do I install Discord Message Guard?

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

Is Discord Message Guard free?

Yes, Discord Message Guard is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Discord Message Guard support?

Discord Message Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Discord Message Guard?

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

💬 Comments