router-service-recovery

Community

Restore m5-router startup and GUI model access.

AuthorcrycriM
Version1.0.0
Installs0

System Documentation

What problem does it solve?

When m5-router.service fails to start, this Skill provides a repeatable workflow to identify and fix common causes such as INI parse errors (orphan lines), invalid preset flags, and port conflicts that block GUI model selection.

Core Features & Use Cases

  • Inspect systemd journal for m5-router errors and identify common failure modes, including orphan lines in the router-preset.ini and invalid llama-server flags.
  • Clean and validate router-preset.ini to ensure every key is a valid llama-server CLI flag and each model section contains required keys, removing orphan lines and invalid entries.
  • Detect and resolve port conflicts on 8080 by listing listening processes and terminating rogue llama-server instances as needed, then verify exclusive binding.
  • Restart the router service and confirm model loading via the /v1/models endpoint; verify model parameters (RoPE, context length) per architecture.
  • Optional: guidance on customizing chat templates and switching distrobox containers if necessary.

Quick Start

Follow the step-by-step routine to diagnose and recover m5-router.service by inspecting logs, cleaning preset ini, freeing port 8080, restarting the service, and validating loaded models.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: router-service-recovery
Download link: https://github.com/crycriM/hermes-skills/archive/main.zip#router-service-recovery

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.