Introduction¶
When integrating a Discord community into DSH (DeepSeek Harness), manually scrolling through channels makes it hard to continuously monitor spam, scam scripts, and aggressive content; full automatic bans are also prone to false positives and raise issues regarding platform liability. Common practices involve hooking up rule engines or running standalone bot scripts, and conversing with the intelligent agent in Harness is often two separate systems.
dsh-plugin-moderator-copilot was released by maintainer thegabopacheco-sudo, categorized under admin-security. It reviews Discord messages in a Copilot manner, identifying spam, scams, and toxic content and providing handling suggestions, and explicitly states: it will not ban itself, nor execute actions without human confirmation. The following content is compiled based on the repository README, package.json, and docs/COMO-FUNCIONA.md.
What is this¶
In one sentence: A Discord moderation auxiliary plugin for DeepSeek Harness that attaches the audit logic to the DSH process via MCP.
- Repository:
github:thegabopacheco-sudo/dsh-plugin-moderator-copilot - Current
package.jsonversion:0.1.0 - License: MIT
- Runtime: Node.js
>=20, entry point is the bundled./dist/server.mjs
Community Directory Page (independent of DeepSeek / Hypothesis, just a plugin index site):
https://www.skillhub.cn/plugins/thegabopacheco-sudo/dsh-plugin-moderator-copilot
Core Features¶
Based on the project introduction and documentation, the verified capabilities are as follows.
- Message Review: Performs moderation-oriented analysis on Discord messages.
- Risk Types: Covers identification tendencies for scenarios such as spam, scams (estafas), and toxicity (toxicidad).
- Suggestions over Automatic Enforcement: Outputs suggested actions; the plugin’s stance is “nunca banea ni actua solo” (never ban or act alone).
- MCP Integration: DSH connects to the internal
server.mjs(single-file bundle) of the plugin via MCP stdio, and the audit logic is completed within the local plugin process.
For tool-level API details, see docs/COMO-FUNCIONA.md in the repository; after installation, you can confirm if this document is shipped with the package in the DSH plugin list.
Installation and Activation¶
The official documentation provides two methods; the commands and GUI paths must match the README.
GUI: Install github:thegabopacheco-sudo/dsh-plugin-moderator-copilot in DSH → Settings → Plugins, and allow script execution (the postinstall script runs scripts/postinstall.mjs).
CLI (replace <perfil> with your DSH profile name):
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-moderator-copilot
Before installation, it is recommended to browse the GitHub source code and LICENSE to confirm that the team accepts the MIT terms and the permissions requested by the plugin on the DSH side. The plugin runs with the current DSH process permissions, consistent with the account you use to start Harness locally/server-side.
How it Works and Security Boundaries¶
The architecture described in the documentation is as follows: DSH connects to server.mjs via MCP stdio, and logic is executed locally within the plugin; it does not rely on additional remote moderation service descriptions (unless you configure it separately in your own deployment).
Security-related agreements (where README and COMO-FUNCIONA.md are consistent):
- Read-only by Default: Read capabilities are default; for write or execute actions,
confirm:truemust be included and the request must be explicit. - Read-only Mode Environment Variable: Setting
DSH_MODERATOR_COPILOT_MODE=read-onlydisables action capabilities. - Audit: Audit logs are written to
<DSH_HOME>\cache\moderator-copilot\audit.jsonl(the separator in the path follows the original text; on Linux it usually corresponds tocache/moderator-copilot/under your configuredDSH_HOME). - Whitelist: The documentation records the use of a whitelist in applicable scenarios.
- Action Rate Limiting: Rate limits moderation actions to reduce the frequency of mistakes or abuse.
The project uses a Cordis patch (cordis.patch.yml, see dsh.bundle.patch in package.json) to mount the bundle into DSH; the specific MCP tools registered depend on the tool list exposed by DSH after installation.
The repository states it uses the official MCP client (@modelcontextprotocol/client@2.2.0) to perform end-to-end validation of the bundled artifacts for maintainers to self-check before release; this does not imply additional installation steps for end users.
Typical Usage (Reproducible Scope)¶
Public documentation does not provide step-by-step dialogue examples or fixed prompt templates, so it is not recommended to fabricate cases like “X channels reduced Y reports in one day”. A feasible usage path is:
- Complete installation as per the previous section and restart or refresh the DSH for the corresponding profile.
- In a DSH session, use the registered MCP tools to have the agent pull or analyze Discord message context (read-only paths are prioritized).
- Execute deletion, warnings, etc. in Discord or the associated system by human personnel based on the suggestions returned by the tool. If plugin-side write actions are needed, include
confirm:trueas required by the documentation. - To completely disable plugin-side actions, set
DSH_MODERATOR_COPILOT_MODE=read-onlyand periodically checkaudit.jsonl.
If you have extended Discord integration (e.g., via Cordis or other DSH plugins), you should treat this plugin as a “suggestion layer” and decouple it from real moderation permissions.
Suitable Scenarios and Notes¶
More Suitable For: Developers or administrators who are already using DSH to manage or assist in operating Discord communities, wish to move spam/scam/toxicity initial screening into an agent workflow, and whose teams can accept a “human makes decisions, plugin only suggests” model.
Must Note:
- The plugin does not replace Discord’s official AutoMod or Bot account permission model; banning, kicking, etc., should still be completed by accounts with permissions on the Discord side.
- Version 0.1.0 is still an early version; read
CHANGELOG.mdand the issue list before installation to check for known limitations. - When involving user messages and audit logs, comply with local privacy and platform ToS;
audit.jsonlmay contain summaries or identifiers of reviewed content, and you must control access permissions yourself. - The SkillHub directory and GitHub repository are maintained by the community, aligning with DeepSeek Harness’s philosophy of “everything is a plugin,” but they are not DeepSeek’s official app store.
Conclusion¶
dsh-plugin-moderator-copilot brings Discord moderation review into the MCP plugin form of DSH: identifying spam, scams, and toxicity, providing action suggestions, and being designed to be read-only, auditable, and switchable to read-only mode by default. If you want to implement a community security process of “suggest first, then human disposal” in Harness, you can install the plugin via the official installation command and then verify the tools and security items against docs/COMO-FUNCIONA.md.
- Directory Page: https://www.skillhub.cn/plugins/thegabopacheco-sudo/dsh-plugin-moderator-copilot
- GitHub: https://github.com/thegabopacheco-sudo/dsh-plugin-moderator-copilot