agentleFS
Hashi-Ai-DevHashi-Ai-Dev/HermitDoc/skills/hermes-troubleshooting/SKILL.md

hermes-troubleshooting

Skill4 starsChanged 7 months agoMITView on GitHub

Use when diagnosing issues or fixing broken Hermes setups. Covers: hermes doctor, hermes config check, hermes status, hermes logs, hermes hooks doctor, common error patterns, gateway issues, pairing problems. Triggers on: troubleshooting, doctor, fix, error, debug, broken, not working, failed, issue.

  • Reads credentials

The file

Files
SKILL.md

Hermes Troubleshooting Reference

Systematic approach to diagnosing and fixing Hermes issues.

Diagnostic Flow

Step 1 — Run Doctor

hermes doctor              # Check config and dependencies
hermes doctor --fix        # Auto-fix issues
hermes doctor --deep       # Deep checks (slower)

Doctor checks: config validity, API keys, dependencies, gateway status, skill visibility.

Step 2 — Check Status

hermes status              # Show all components
hermes status --all         # Full details

Step 3 — Inspect Logs

hermes logs                 # agent.log last 50 lines
hermes logs -f              # Follow in real time
hermes logs errors          # errors.log
hermes logs gateway         # gateway.log
hermes logs --level ERROR   # All errors
hermes logs --since 1h     # Last hour
hermes logs --component tools  # Filter by component
hermes logs list            # List available log files

Step 4 — Check Config

hermes config check         # Validate config
hermes config show          # View current config

Step 5 — Check Gateway

hermes gateway status      # Gateway health
hermes gateway restart       # Restart if needed

Step 6 — Check Skills

hermes skills list          # Show installed skills
hermes skills check          # Check for updates

Common Issues & Fixes

Hermes Won't Start

Symptoms: hermes chat hangs or crashes.

# Check config
hermes config check

# Fix automatically
hermes doctor --fix

# Check for running process
ps aux | grep hermes | grep -v grep

# Kill and retry
pkill -f hermes
hermes chat

Gateway Not Connecting

# Check status
hermes gateway status

# Restart
hermes gateway restart

# Check logs
hermes logs gateway --level ERROR

Channel Not Responding

# Verify gateway is up
hermes gateway status

# Check pairing
hermes pairing list

# Approve pending if needed
hermes pairing approve <CODE>

# Check logs
hermes logs gateway

Skills Not Loading

# List skills
hermes skills list

# Restart session (skills load at session start)
/reset

# Re-install if needed
hermes skills check

Config Changes Not Applying

Some changes require session restart:

/reset  # restart session

Hot-reload: tools, skills, channel enabled/disabled Restart required: model provider changes, delegation config

Model Errors

hermes doctor
hermes status --all

# Check API keys
hermes config show | grep -i api

# Verify in .env
cat ~/.hermes/.env

Cron Jobs Not Running

hermes cron list            # See all jobs
hermes cron status          # Scheduler health
hermes cron run <id>       # Test manually
hermes logs --component cron  # Check logs

Hooks Not Firing

hermes hooks list           # Check configured hooks
hermes hooks doctor         # Diagnose each hook

# Review allowlist
cat ~/.hermes/shell-hooks-allowlist.json

Memory Issues

hermes memory status        # Check provider
hermes memory setup         # Re-configure if needed

Logs Reference

hermes logs agent            # Default agent log
hermes logs errors           # Error log
hermes logs gateway          # Gateway log
hermes logs --level DEBUG    # Debug output
hermes logs --session abc123 # Filter by session ID
hermes logs --component tools # Tool execution logs
hermes logs --since 30m -f   # Follow last 30 minutes

Reference Checklist

  • hermes doctor --fix
  • hermes status --all
  • hermes logs gateway --level ERROR
  • hermes config check
  • hermes memory status
  • /reset and retry

References

Structured reference docs:

  • Diagnostic Flow — Step-by-step diagnosis
  • Common Fixes — Issue solutions
  • Logs Reference — Log commands and filtering

Related skills:

  • hermes-cli/ — CLI commands
  • hermes-config/ — config reference
  • hermes-logging/ — log management
  • hermes-gateway/ — gateway issues
  • hermes-skills/ — skill problems

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.