codename-11/hermes-relay/relay-server
Claude Code and agent skill by codename-11/hermes-relay
- community
Checking that the SKILL.md file is still in the repository.
Setup and run the Hermes-Relay server for Android chat support, terminal, bridge, and related relay features.
Install
npx vskill@latest install codename-11/hermes-relay/relay-serverSKILL.md
Hermes-Relay Server
Setup and run the Hermes-Relay Server for the Hermes-Relay Android app.
What It Is
A lightweight Python WSS server that bridges the Hermes-Relay Android app to server-side features that need persistent bidirectional communication: terminal (remote shell via tmux) and bridge (agent-driven phone control). Chat does not use the relay — it rides the standard upstream Hermes surfaces (the dashboard /api/ws gateway, with API-server SSE as fallback).
When You Need It
- Chat only? You do NOT need the relay server. The app uses the standard upstream Hermes surfaces — the dashboard gateway (
:9119) preferred, the API server (:8642) as fallback. - Terminal or Bridge? You need the relay server running on the same machine as hermes-agent.
Quick Setup
One-liner (pip)
Run this from the hermes-android/ repo root, or wherever relay_server/ is located.
As a Hermes plugin + relay
Docker
Or build locally:
Systemd service (persistent)
Edit the service file first to set User= and WorkingDirectory= to match your setup.
Configuration
All settings via environment variables:
| Variable | Default | Description | |
|---|---|---|---|
RELAY_HOST | 0.0.0.0 | Bind address | |
RELAY_PORT | 8767 | Listen port | |
RELAY_SSL_CERT | (none) | Path to TLS certificate | |
RELAY_SSL_KEY | (none) | Path to TLS private key | |
RELAY_WEBAPI_URL | http://localhost:8642 | Hermes API Server URL | |
RELAY_HERMES_CONFIG | ~/.hermes/config.yaml | Path to hermes config (for profile loading) | |
RELAY_LOG_LEVEL | INFO | Logging level |
CLI Options
Architecture
The relay authenticates phones via a 6-character pairing code, then issues a 30-day session token. All communication uses typed envelope messages multiplexed over a single WebSocket connection.
Verify It Works
Troubleshooting
- Connection refused: Is the relay running? Check
systemctl status hermes-relayordocker logs hermes-relay - Auth failures: Pairing codes expire after 10 minutes. Generate a new one.
- TLS errors: Use
--no-sslfor local dev. For production, setRELAY_SSL_CERTandRELAY_SSL_KEY. - Can't reach from phone: Ensure port 8767 is open in firewall. Use
ss -tlnp | grep 8767to verify listening.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrelay_server/SKILL.md
Popularity
- Repository stars
- 197
- Repository forks
- 44
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codename-11/hermes-relay/relay-server)