hermes-gateway-operations
Operate and troubleshoot Hermes messaging gateway services safely from LINE/Telegram/Discord/API contexts, including start/stop/restart boundaries, service status checks, and user-facing reporting.
- License 许可
- MIT
- 所属仓库
- zapabob/Skills
- 最近更新
- 2026-10-26
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- hermes-gateway-operations
- author
- Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "hermes", "gateway", "messaging", "service-management", "troubleshooting" ] } }
- description
- Operate and troubleshoot Hermes messaging gateway services safely from LINE/Telegram/Discord/API contexts, including start/stop/restart boundaries, service status checks, and user-facing reporting.
03 SKILL.md 正文
Hermes Gateway Operations
Use this skill when the user asks to start, stop, restart, inspect, or troubleshoot the Hermes Gateway or messaging-platform delivery from inside a gateway chat such as LINE, Telegram, or Discord.
Bot naming
When the user wants the Hermes bot to present as a specific name across Telegram/Discord/LINE while keeping a separate CLI persona skin:
- Telegram managed-bot default name is controlled in two places:
telegram_managed_bot.py:DEFAULT_BOT_NAMEweb_server.py:/api/messaging/telegram/onboarding/startfallbackbody.bot_name
- Dashboard/web UI onboarding uses the same backend fallback.
- CLI persona display is controlled by the active skin's
branding.agent_name; this is independent from the bot account name and should be left alone unless the user explicitly asks to change the persona.
Preferred pattern:
- Set bot-visible name to
Hermesintelegram_managed_bot.pyandweb_server.py. - Keep persona skin such as
hakuaunchanged, so CLI still showsはくあ (Hakua).
Core rule
Gateway control commands may behave differently depending on where they are run:
- From an outside shell:
hermes gateway stop,hermes gateway restart, andhermes gateway statusare normal service-control commands. - From inside the running gateway process: stopping the gateway can be blocked by a safety guard to prevent restart loops and self-termination from a message handler.
If a gateway stop/restart command is requested from a messaging chat, try the direct command only when appropriate, but report the actual output honestly. If Hermes refuses because the command is being run inside the gateway process, tell the user to run the same command from a PC terminal outside the gateway.
Safe workflow
- Identify that the request concerns Hermes Gateway service control.
- Prefer official CLI commands:
hermes gateway statushermes gateway stophermes gateway restarthermes gateway start
- If executing from inside a gateway channel and the command refuses self-stop, do not bypass the guard with process killing unless the user explicitly asks for an external/OS-level shutdown path.
- Reply with the exact practical next step, usually:
hermes gateway stopfrom Git Bash / terminal outside the gatewayhermes gateway restartfrom Git Bash / terminal outside the gateway
- Keep the explanation short on LINE because LINE renders Markdown literally and has tight bubble limits.
Pitfalls
- Do not claim the gateway was stopped unless the tool output confirms it.
- Do not treat Bitwarden/secret warnings printed before a command as the cause unless the final error says so. For example, a missing
BWS_ACCESS_TOKENwarning can appear before a self-stop refusal; the refusal is the operative blocker for gateway shutdown. - Do not modify protected bundled skills such as
hermes-agent; record local operational additions here instead.
References
references/inside-gateway-stop-guard.md— observed self-stop refusal transcript and recommended response pattern.
04 同仓库更多 Skills
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
writing-plans
Write implementation plans: bite-sized tasks, paths, code.
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
weights-and-biases
W&B: log ML experiments, sweeps, model registry, dashboards.
watchers
Poll RSS, JSON APIs, and GitHub with watermark dedup.
serving-llms-vllm
vLLM: high-throughput LLM serving, OpenAI API, quantization.