agentleFS
Hashi-Ai-DevHashi-Ai-Dev/HermitDoc/skills/hermes-channels/SKILL.md

hermes-channels

Skill4 starsChanged 7 months agoMITView on GitHub

Use when setting up messaging channels. Covers: Discord, Telegram, Slack, WhatsApp, Signal, and more. Channel config keys, bot tokens, DM policies, requireMention, free_response_channels, allowed_channels, auto_thread, reactions, channel_prompts. Triggers on: channel, discord, telegram, slack, whatsapp, setup channel, bot.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create application → Bot → Build-A-Bot

    line 27
  2. Very specific:

    Add Bot Token scopes: chat:write, app_mentions:read, etc.

    line 84
  3. Very specific:

    All keys for channels:

    line 112
  4. Very specific:

    Check bot token in .env

    line 142

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hermes Channels Reference

Guide to configuring messaging channels in Hermes. All channels are configured via config.yaml and the hermes gateway setup wizard.

Supported Channels

Discord, Telegram, Slack, WhatsApp, Signal, LINE, SimpleX Chat, and more. Run hermes gateway setup for the interactive wizard.

Discord Setup

1. Create Application

  1. Go to https://discord.com/developers/applications
  2. Create application → Bot → Build-A-Bot
  3. Enable Message Content Intent (required)
  4. Copy Bot Token

2. Configure

# ~/.hermes/config.yaml
channels:
  discord:
    token: "${DISCORD_BOT_TOKEN}"  # set in .env
    require_mention: true           # only respond when pinged
    free_response_channels: ''      # or list of channel IDs that don't need mention
    allowed_channels: ''           # restrict to specific channels
    auto_thread: true             # auto-create threads
    reactions: true               # add reaction emojis to responses
    channel_prompts: {}          # per-channel prompt overrides
    server_actions: ''           # server-level action config

3. Invite Bot

Generate invite URL:

https://discord.com/api/oauth2/authorize?client_id=<APP_ID>&permissions=...&scope=bot

Telegram Setup

1. Create Bot

  1. DM @BotFather on Telegram
  2. /newbot → follow prompts
  3. Copy HTTP API token

2. Configure

channels:
  telegram:
    botToken: "${TELEGRAM_BOT_TOKEN}"  # set in .env
    reactions: false
    channel_prompts: {}

3. Start

hermes gateway start

Slack Setup

1. Create App

  1. https://api.slack.com/apps → Create New App
  2. Enable Socket Mode
  3. Add Bot Token scopes: chat:write, app_mentions:read, etc.
  4. Install to workspace → copy Bot Token (xoxb-...)

2. Configure

channels:
  slack:
    botToken: "${SLACK_BOT_TOKEN}"
    signingSecret: "${SLACK_SIGNING_SECRET}"
    channel_prompts: {}

3. Setup

hermes slack         # Run Slack integration helpers
hermes gateway setup  # Interactive platform setup

WhatsApp Setup

hermes whatsapp      # Set up WhatsApp integration wizard

Channel Config Reference

All keys for channels:

KeyTypeDescription
discord.tokenstringBot token
discord.require_mentionboolOnly respond when pinged
discord.free_response_channelsstringChannel IDs that don't need mention
discord.allowed_channelsstringRestrict to specific channels
discord.auto_threadboolAuto-create threads
discord.reactionsboolAdd reaction emojis
discord.channel_promptsobjectPer-channel prompt overrides
telegram.botTokenstringBot token
telegram.reactionsboolEnable reactions
slack.botTokenstringBot token (xoxb-...)
slack.signingSecretstringSigning secret
whatsappobjectWhatsApp config

Pairing

For DM authorization:

hermes pairing list              # see pending requests
hermes pairing approve <CODE>     # approve a user

Common Fixes

Discord bot silent:

  • Enable Message Content Intent in Developer Portal
  • Check bot token in .env
  • Verify require_mention setting

Telegram not responding:

  • Check bot token in .env
  • Verify hermes gateway status

References

  • hermes-gateway/ — gateway management
  • hermes-cli/ — gateway CLI commands
  • hermes-config/ — channel config keys</parameter>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.