What problem does it solve? Managing the Hermes AI agent gateway — the messaging service connecting Hermes to Telegram and other platforms — requires manual process control and recovery from SQLite state.db corruption, which this Skill automates. ## Core Features & Use Cases - Gateway Lifecycle Control: Start, stop, restart, check status, and install the Hermes gateway as a boot-time service via shell scripts. - state.db Corruption Auto-Repair: A watchdog probes SQLite integrity and write round-trips, runs deterministic FTS-disable healing, and escalates to a dispatched Zo repair agent when healing fails. - Durable State Sync: Keeps the live tmpfs state.db backed up to a durable path using the SQLite online backup API to survive reboots and avoid 9p filesystem corruption. - Use Case: When the user says "start Hermes" or the gateway's state.db reports btreeInitPage corruption, this Skill restarts the service and auto-heals the database without manual intervention. ## Quick Start Ask the assistant to start the Hermes gateway and check its status using the hermes-gateway control script.