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 | $0.00014 | $0.01460 |
| Sonnet 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 12d 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.
- 12d 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 (56 stars, last pushed 28d ago), licensed MIT. It adds 28 tokens to every session and 2,920 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
config
Use when configuring obshare-cli credentials, checking saved settings, testing connectivity, clearing local config, or setting optional Obsidian bridge values used by the V0.2.0 direct-share stack.
obshare-cli
Use when setting up obshare-cli 0.2.0, reviewing available commands, or choosing the right command for config, upload, permission, history, delete, and the plugin-first direct-share workflow.
agent-dreaming-agnostic
Memory-agnostic background consolidation — reviews sessions, scores candidates, promotes durable insights to the active memory backend (built-in MEMORY.md or Holographic). Three-phase (Light/Deep/Condensation/REM). Run via cron or manually.
upload
Use when uploading a Markdown note to Feishu, optionally applying public or copy/download permissions, or requesting JSON upload results for automation or the Obsidian plugin direct-share flow.
permission
Use when changing Feishu document visibility, copy permissions, or download permissions for an uploaded document token.
list
Use when checking obshare-cli upload history, finding document tokens, or reviewing previous upload URLs and permission snapshots.