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 AtlasOmnia/hermes-custom-pack --skill discord-connectgit clone --depth 1 https://github.com/AtlasOmnia/hermes-custom-packWrote 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/atlasomnia/hermes-custom-pack/discord-connect)<a href="https://agentmods.dev/skills/atlasomnia/hermes-custom-pack/discord-connect"><img src="https://agentmods.dev/badge/skills/atlasomnia/hermes-custom-pack/discord-connect/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/atlasomnia/hermes-custom-pack/discord-connect"><img src="https://agentmods.dev/badge/skills/atlasomnia/hermes-custom-pack/discord-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00028 | $0.02920 |
| Opus 5.5 | $0.00011 | $0.01168 |
| Sonnet 5.5 | $0.00006 | $0.00584 |
| Haiku 4.5 | $0.00003 | $0.00292 |
Grade B, and why
discord-connect scanned grade B with 1 finding 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- **Gateway dies on logout** — enable linger: `sudo loginctl enable-linger $USER`. This is a copy
100% identical to discord-connect — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Discord Connection Guide
Quick Setup Flow
- Create a bot application — go to Discord Developer Portal, create a new application (or use an existing one).
- Generate a bot token — under Bot → Reset Token, copy the token.
- Enable intents — in Bot settings:
- Message Content Intent (required for reading messages)
- Presence Intent (optional, for online status)
- Generate OAuth2 invite URL — use OAuth2 URL Generator and paste into browser.
- Invite to server — pick your guild from the dropdown.
- Configure in Hermes —
hermes gateway setupor manually configure via config.yaml.
Bot Permissions (Minimal)
For Hermes, you only need:
- Send Messages (0x2)
- Read Message History (0x100000)
- View Channel (0x400)
- Use External Emojis (0x1000000)
Nice to have: Embed Links, Add Reactions, Send Text-to-Speech, Manage Messages.
Shortcut: set permissions to 3558496 ("Moderator" preset).
OAuth2 Scopes
bot— essential, lets you invite it to serversapplications.commands— enables slash commands (useful but not strictly required)
Guild Install vs User Install
Guild install is the one that puts the bot into your servers. User install is for apps, not bots. When generating the OAuth2 link, make sure guild is in the scope (usually default).
Gotchas
- Private applications cannot have a default authorization link. Generate manually via OAuth2 URL Generator.
- Message Content Intent must be enabled — without it, the bot reads messages as empty strings and appears silent.
- Presence Intent — optional but useful for seeing when the bot is online/offline.
- Prefer the exact invite URL generated by Discord Developer Portal over improvising OAuth / Code Grant explanations from memory. If the generated link fails, inspect the portal settings rather than guessing about URL semantics.
- Always verify prior state before assuming. Don't assume a server exists, permissions are set, or the bot is already invited — ask first.
- Discord connected is not the same as Discord usable. A successful gateway login only proves the token works. Separately verify that the bot is invited to a guild, can see a text channel, slash commands appear there, and Hermes discovered the channel.
- After adding the bot to a new server, restart the Hermes gateway so
channel_directory.jsonrebuilds against current guild visibility. - If
send_message(action='list')still shows no Discord targets, inspect~/.hermes/channel_directory.json. If it contains"discord": []while the bot is present in the server, treat it as a guild/channel discovery or visibility problem, not an auth failure.
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 · 199 lines · 28 tokens per session scan B 75569062dd3c
discord-connect is a skill published in the GitHub repository AtlasOmnia/hermes-custom-pack (87 stars, last pushed 13d ago), licensed MIT. It adds 28 tokens to every session and 2,920 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 100% identical to discord-connect, differing in 0 lines, and is treated as a copy.
discord-connect compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| discord-connectAtlasOmnia/hermes-custom-pack | Skill | 87 | 13d ago | MIT | B | 28 | Claude Code, Codex |
| work-self-improvement-reviewUniM0cha/self-improving-skills | Skill | 52 | 2mo ago | MIT | A | 101 | Codex |
| self-improving-skills-reviewUniM0cha/self-improving-skills | Skill | 52 | 2mo ago | MIT | A | 68 | Codex |
| save-skillUniM0cha/self-improving-skills | Skill | 52 | 2mo ago | MIT | A | 101 | Claude Code |
| codex-skill-curatorUniM0cha/self-improving-skills | Skill | 52 | 2mo ago | MIT | A | 38 | Codex |
| distill-skillUniM0cha/self-improving-skills | Skill | 52 | 2mo ago | MIT | A | 80 | Claude Code |
| configSuShuheng/obshare-cli | Skill | 2 | 8mo ago | MIT | A | 42 | Claude Code |