Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: platform-config-audit description: Audit and verify Telegram, Discord, Signal, and other messaging platform configurations for Hermes Agent category: devops tags: [diagnostics, configuration, telegram, discord, signal, messaging]
Overview
Systematically verify that messaging platforms (Telegram, Discord, Signal) are properly configured with Hermes Agent. This audit checks configuration files, environment variables, systemd services, and tests actual connectivity.
When to Use This Skill
- After setting up a new messaging platform integration
- When messages aren't being sent/received as expected
- Before relying on a platform for critical notifications
- Periodic health checks of integrations
- Troubleshooting "platform not available" errors
Audit Checklist
Step 1: Check Hermes Configuration
Read the main config file to find platform settings:
- Look for
display.platforms.<platform>.enabled: true - Check
display.platforms.<platform>.extrasettings (Signal HTTP URL, account) - Check platform-specific sections (e.g.,
discord:,telegram:) - Look for home channel environment variables at bottom of file
Step 2: Check Environment Variables
Common variables to verify:
TELEGRAM_BOT_TOKEN,TELEGRAM_CHAT_ID,TELEGRAM_HOME_CHANNELDISCORD_BOT_TOKEN,DISCORD_HOME_CHANNELSIGNAL_HOME_CHANNEL
Step 3: List Available Messaging Targets
Use send_message(action="list") to see:
- Which platforms Hermes can actually see
- Available channels and DMs
- Home channel for each platform
Step 4: Platform-Specific Verification
Signal CLI
- Check if signal-cli is installed:
signal-cli --version - Verify daemon is running:
ps aux | grep -i 'signal-cli.*daemon' - Check systemd services:
systemctl --user status signal-daemon --no-pager - Test HTTP API:
curl -s http://127.0.0.1:8080/v1/accounts
Telegram
- Check for token files:
cat ~/.hermes/.telegram_token 2>/dev/null
Discord
- Check for token files:
cat ~/.hermes/.discord_token 2>/dev/null - Check thread tracking:
ls -la ~/.hermes/discord_threads.json
Step 5: Check Systemd Services (Signal)
Signal often uses systemd for the daemon and processors:
signal-daemon.service- Must be runningsignal-processor.service- Processes incoming messagessignal-responder.service- Auto-responder (optional)
Common Issue: Service files referencing .sh scripts when actual files are .py
Step 6: Verify Data Directories
- Signal data:
~/.local/share/signal-cli/ - Hermes scripts:
~/.hermes/scripts/
Common Issues & Fixes
Signal Processor Failing (Exit Code 217/USER)
Cause: Service file references check_signal_messages.sh but file is check_signal_messages.py
Fix:
# Create wrapper scriptcat > ~/.hermes/scripts/check_signal_messages.sh << 'EOF'#!/bin/bashpython3 ~/.hermes/scripts/check_signal_messages.pyEOFchmod +x ~/.hermes/scripts/check_signal_messages.shsystemctl --user daemon-reloadsystemctl --user restart signal-processor
Signal Responder Missing Script
Cause: run_auto_respond.sh doesn't exist
Fix:
# If not needed, disable the servicesystemctl --user stop signal-responder.timersystemctl --user disable signal-responder.timer
Platform Not in send_message List
Cause: Platform not properly initialized or credentials missing
Fix: Check that the platform's token/credentials are in env vars or config files, then restart Hermes gateway.
Expected Results
Healthy Configuration
- All platforms appear in
send_message(action="list")output - Signal daemon:
active (running) - Signal processor:
activeor properly triggering on timer - Environment variables set (if used)
- Config file has platform sections
Unhealthy Indicators
- Platform missing from
send_messagelist - Signal services in
failedstate - Missing script files referenced in systemd services
- Empty or missing data directories
Example Output Format
Telegram: ✅- Home channel configured- Appears in send_message list- DM availableDiscord: ✅- Require mention: enabled- Auto thread: disabled (per preference)- Multiple channels availableSignal: ⚠️ Partial- Daemon: running ✅- HTTP API: listening ✅- Account: registered ✅- Processor: FAILED (missing script)- Responder: FAILED (missing script)
Version History
v1.0 - Initial skill for multi-platform configuration auditing