discord-connect

discord-connect is a skill for Claude Code, Codex from AtlasOmnia/donna-starter. It costs 28 tokens per session (2,920 once invoked), scanned B, original, MIT.

A setup guide for connecting a Hermes assistant to Discord, a chat service organized around servers and channels. It covers creating a bot, inviting it to a server, and configuring its access.

In plain words
What is it for?
Creating a Discord application, enabling message-reading access, generating an invite link, choosing bot permissions and scopes, and configuring Hermes.
Why use it?
It turns Discord's bot tokens, permissions, intents, and OAuth2 settings into a concrete connection process.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Good fit Creating a Discord application, enabling message-reading access, generating an invite link, choosing bot permissions and scopes, and configuring Hermes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atlasomnia/donna-starter/discord-connect
Install

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.

Any agent
npx skills add AtlasOmnia/donna-starter --skill discord-connect
Clone the repo
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for discord-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/atlasomnia/donna-starter/discord-connect/github.svg)](https://agentmods.dev/skills/atlasomnia/donna-starter/discord-connect)
Your own site
<a href="https://agentmods.dev/skills/atlasomnia/donna-starter/discord-connect"><img src="https://agentmods.dev/badge/skills/atlasomnia/donna-starter/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.

agentmods 80×15 button for discord-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/atlasomnia/donna-starter/discord-connect"><img src="https://agentmods.dev/badge/skills/atlasomnia/donna-starter/discord-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,920 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 21
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Privilege Escalation · line 190
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • low Privilege Escalation · line 73
    Skill requests more permissions than appear necessary for its stated functionality. Review if elevated access is justified.
    Fix: Request only the minimum permissions required. Document why each permission is needed. Remove broad permissions like '*' or 'all'.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash 75569062dd3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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`.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/productivity/discord-connect/SKILL.md · 199 lines

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

  1. Create a bot application — go to Discord Developer Portal, create a new application (or use an existing one).
  2. Generate a bot token — under Bot → Reset Token, copy the token.
  3. Enable intents — in Bot settings:
  • Message Content Intent (required for reading messages)
  • Presence Intent (optional, for online status)
  1. Generate OAuth2 invite URL — use OAuth2 URL Generator and paste into browser.
  2. Invite to server — pick your guild from the dropdown.
  3. Configure in Hermes — hermes gateway setup or 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 servers
  • applications.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.json rebuilds 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.

Read the full file on GitHub · 199 lines

Changes

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.

  1. 3mo ago First seen · 199 lines · 28 tokens per session scan B 75569062dd3c

Subscribe to this mod's changes

discord-connect is a skill published in the GitHub repository AtlasOmnia/donna-starter (140 stars, last pushed 1mo 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). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

discord-connect compared with skills from other repositories

discord-connect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
discord-connectAtlasOmnia/donna-starterSkill1401mo agoMITB28Claude Code, Codex
npm-downloads-to-leadsVarnan-Tech/opendirectorySkill7221mo agoMITA172Claude Code
gh-issue-to-demand-signalVarnan-Tech/opendirectorySkill7221mo agoMITA154Claude Code
domain-expired-opportunity-finderVarnan-Tech/opendirectorySkill7221mo agoMITA45Claude Code
company-radarVarnan-Tech/opendirectorySkill7221mo agoMITA39Claude Code
dependency-update-botVarnan-Tech/opendirectorySkill7221mo agoMITA134Claude Code
producthunt-launch-kitVarnan-Tech/opendirectorySkill7221mo agoMITA58Claude Code