danghuangshang is a multi-agent collaboration system that organizes specialized AI agents into a hierarchy modeled on historical Chinese government institutions. Users delegate tasks to these agents through platforms such as Discord or Feishu, with roles for coordination, coding, review, memory, and automation. Its catalogue entries are the project's agents and skills.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add wanikua/danghuangshang --skill discord-message-guardgit clone --depth 1 https://github.com/wanikua/danghuangshangWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/wanikua/danghuangshang/discord-message-guard)<a href="https://agentmods.dev/skills/wanikua/danghuangshang/discord-message-guard"><img src="https://agentmods.dev/badge/skills/wanikua/danghuangshang/discord-message-guard/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/wanikua/danghuangshang/discord-message-guard"><img src="https://agentmods.dev/badge/skills/wanikua/danghuangshang/discord-message-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00063 |
| Opus 5.5 | $0.00000 | $0.00025 |
| Sonnet 5.5 | $0.00000 | $0.00013 |
| Haiku 4.5 | $0.00000 | $0.00006 |
Grade A, and why
discord-message-guard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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.
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- package-lock.json 70 KB
- package.json 490 B
- README.md 8.0 KB
- src/CleanHistoryManager.ts 5.8 KB runs code
- src/DiscordMessageGuard.ts 7.8 KB runs code
- src/index.ts 1.7 KB runs code
- src/MessageMetadataExtractor.ts 3.8 KB runs code
- src/ResponseRuleEngine.test.ts 8.8 KB runs code
- src/ResponseRuleEngine.ts 5.4 KB runs code
- src/SessionStateManager.ts 7.3 KB runs code
- tsconfig.json 446 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 15 lines · 0 tokens per session scan A 76f880ce6518
discord-message-guard is a skill published in the GitHub repository wanikua/danghuangshang (2,715 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 63 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
discord-message-guard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| discord-message-guardwanikua/danghuangshang | Skill | 2.7k | 6mo ago | MIT | A | 0 | Claude Code, Codex |
| setup-discord-multibotLihan-Zhong/claude-code-discord-multibot | Skill | 5 | yesterday | MIT | C | 179 | Claude Code |
| kimaki-debugremorses/kimaki | Skill | 1.5k | yesterday | MIT | A | 95 | Claude Code, Codex |
| kimaki-tunnelremorses/kimaki | Skill | 1.5k | yesterday | MIT | A | 91 | Claude Code, Codex |
| switchsandbox-quantum/switch | Skill | 4.9k | today | none | A | 135 | Claude Code, Codex |
| npm-packageremorses/kimaki | Skill | 1.5k | yesterday | MIT | C | 78 | Claude Code, Codex |
| new-skillremorses/kimaki | Skill | 1.5k | yesterday | MIT | C | 61 | Claude Code, Codex |