Telegram + Hermes Agent: Known Pitfalls and Fixes
The two most common Telegram pitfalls: Telegram's 100 slash-command limit (disable unneeded skills via skills.platform_disabled) and gateway disconnects under WSL (use hermes gateway run or tmux).
Who this is for:Anyone whose Telegram bot loses commands or keeps disconnecting.
Steps
-
Pitfall 1: over 100 slash commands
Telegram caps commands at 100. Official fix: disable unused skills per platform in config.yaml, then restart the gateway.
skills: platform_disabled: telegram: [skill-a, skill-b] -
Pitfall 2: gateway disconnects under WSL
Official FAQ: systemd is unreliable in WSL; run in the foreground or under tmux.
hermes gateway run # or tmux new -s hermes 'hermes gateway run' -
Multiple users need authorization
The messaging gateway supports allowlists and DM pairing; configure the authorization mode under gateway settings in config.yaml.
How to verify
- The Telegram command menu appears normally
- The gateway stays connected long-term after restart
FAQ
Migrating from OpenClaw: do I redo the Telegram allowlist?
The official migration moves compatible settings like TELEGRAM_ALLOWED_USERS; with --migrate-secrets it also moves TELEGRAM_BOT_TOKEN. See the OpenClaw migration guide.
Related pages
- Download and Install Hermes Agent on macOS
- Download and Install Hermes Agent on Windows (Desktop / PowerShell / WSL2)
- Download and Install Hermes Agent on Linux
- Install Hermes Agent on WSL2 (Advanced Windows Path)
- Hermes Agent Model Provider and API Key Setup
- Migrate from OpenClaw to Hermes Agent (official hermes claw migrate)
- How to fix: hermes: command not found
- How to fix: API key not set / invalid API key
- How to fix: Hermes requires Python 3.11 or newer
- How to fix: context length exceeded
- Curated official issues
- School solution cards