shagghiesuperstar/hermes-fleet-management/gateway-restart-and-crash-triage
Claude Code and agent skill by shagghiesuperstar/hermes-fleet-management
- community
Checking that the SKILL.md file is still in the repository.
Use when a Hermes gateway or Desktop is down, crash-looping, or unstable on one host, or when a restart is requested. Covers read-only triage, attribution, and a safe restart through the dry-run and confirm flow.
Install
npx vskill@latest install shagghiesuperstar/hermes-fleet-management/gateway-restart-and-crash-triageSKILL.md
The same SKILL.md was published earlier as shagghiesuperstar/hermes-fleet-management/gateway-restart-and-crash-triage.
hermes-gateway-restart-and-crash-triage
Step 0 (Golden Rule, [golden-rule-read-docs-first](../golden-rule-read-docs-first/SKILL.md)): before any command, answer, or config change below, call hermes_docs for the topic (pages listed under Docs). If the docs don't cover it, say "not in official docs" and mark the step UNVERIFIED. Commands marked (verified) were checked against the official docs on 2026-10-14. Flags still change between releases, so re-check.
Triage (read-only first)
fleet_health host=<host>andinference_status host=<host>./health/detailedreports readiness: config, state DB, model, disk, gateway/platform state, and active runs (verified: api-server doc).host_command host=<host> action=gateway_status→hermes gateway status(verified).host_command action=logs_errors→hermes logs errors --since 1handaction=logs_gateway→hermes logs gateway -n 100(verified).host_command action=doctor→hermes doctor. Exit code 1 means unresolved problems (verified).
Attribute before you mutate
- One host of many crashing usually means local divergence. Compare that host with its healthy siblings: local patches, shims, watchdogs, extra LaunchAgents/systemd units, its role (Desktop-primary vs gateway), and its tool load.
- Reverse scar tissue instead of stacking more mitigations. A shim or watchdog that keeps "reapplying" a fix is often the cause.
- Don't rely on a crashing agent to heal itself. Use an external read-only control plane (this plugin, logs,
ps) or a separate executor. - Back up before any file change:
hermes backup --quick --label pre-fix(verified).
Restart (only when the operator asked)
gateway_restart host=<host>→ a dry run that shows the exact command, pre-health, and the doc excerpt.- Check the dry run: in-flight runs will end
interrupted(verified: api-server doc). Never install or restart a supervised gateway on a Desktop-primary host (see hermes-desktop-primary-hosts). gateway_restart host=<host> confirm=true. This needs an enabled exec adapter. Otherwise runhermes gateway restarton the host yourself (verified).- Verify:
fleet_health host=<host>is OK, and one tinyasksucceeds.
- Multi-profile hosts:
--allrestarts every profile's gateway (verified). - Supervised by launchd/systemd:
hermes gateway stopalone may be respawned by the supervisor. Read the cli-commands gateway section before uninstalling a service.
Docs
https://hermes-agent.nousresearch.com/docs/reference/cli-commands · https://hermes-agent.nousresearch.com/docs/user-guide/features/api-server · https://hermes-agent.nousresearch.com/docs/reference/faq
Security
- Security scanPassed, 90 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 repositoryCheckingskills/gateway-restart-and-crash-triage/SKILL.md
Popularity
- 7-day trend score
- 0
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/shagghiesuperstar/hermes-fleet-management/gateway-restart-and-crash-triage)