Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)84k · #1413

cli-serve

Was er macht

Dieser Skill zeigt, wie du den OmniRoute-Server über die Kommandozeile betreibst. Er ist für Administratoren gedacht, die den Server starten, stoppen oder neu starten und seine Grundoptionen festlegen wollen.

Wann du ihn nutzt

  • ✓Wenn ein Nutzer den OmniRoute-Server starten oder stoppen möchte.
  • ✓Wenn ein Nutzer will, dass der Server im Hintergrund läuft oder sich bei einem Ausfall automatisch erholt.
  • ✓Wenn ein Nutzer das OmniRoute-Dashboard vom Terminal aus öffnen möchte.

Link zum Skill

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Starte meinen OmniRoute-Server im Hintergrund auf Port 8080 und öffne das Dashboard.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill listet die Befehle serve, stop, restart und dashboard auf. Der Befehl serve nimmt Optionen für Port, Hintergrundmodus, Protokollierung, automatische Wiederherstellung, Headless-Modus und ein Tray-Symbol entgegen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Start, stop, and restart the OmniRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

dashboard

Flags:

  • --url
  • --port <port>
  • --tui

Example:

omniroute dashboard

restart

Flags:

  • --port <port>

Example:

omniroute restart

serve

Flags:

  • --port <port>
  • --no-open
  • --daemon
  • --log
  • --no-recovery
  • --max-restarts <n>
  • --headless
  • --tray
  • --no-tray
  • --ready-timeout <ms>
  • --tls-cert <path>
  • --tls-key <path>

Example:

omniroute serve

stop

Flags:

  • --port <port>

Example:

omniroute stop
<!-- skill:custom-start --> <!-- Aggregated from: omniroute-cli (setup + index), omniroute-cli-admin (lifecycle/setup/backup/tunnel) -->

Setup

The omniroute binary ships with the OmniRoute server. It is both the server launcher and a full management CLI with 250+ commands across 39 groups.

Install

npm install -g omniroute          # npm registry
# or: use the binary bundled with the desktop app

Requires Node.js ≥22.22.2 or ≥24.

Verify:

omniroute --version   # prints installed version
omniroute --help      # full command tree

Connection

Every CLI command that talks to the server reads two values:

Source Variable / Flag
Base URL OMNIROUTE_BASE_URL or --base-url
API key OMNIROUTE_API_KEY or --api-key

Default base URL: http://localhost:20128

export OMNIROUTE_BASE_URL="http://localhost:20128"
export OMNIROUTE_API_KEY="sk-..."          # from Dashboard → API Manager

For a remote server:

export OMNIROUTE_BASE_URL="https://your-server.com"

Global flags

Flag Description
--base-url <url> Override server URL for this invocation
--api-key <key> Override API key for this invocation
--output <format> Output format: table (default), json, jsonl, csv
--json Shorthand for --output json
--non-interactive Disable prompts — for CI / shell scripts
--no-open Don't auto-open the browser on start
--port <n> Override default port 20128
--help, -h Show help for the current command
--version, -v Print the installed version

Output formats

All listing commands support --output:

omniroute combo list                      # human-readable table
omniroute combo list --output json        # JSON array
omniroute combo list --output jsonl       # one JSON object per line
omniroute combo list --output csv         # CSV with header row

Quick start: one-shot server + provider setup

# 1. Start server
omniroute

# 2. (First run) interactive setup wizard
omniroute setup

# 3. Verify everything is healthy
omniroute doctor

CLI capability skills

Capability Skill
Backup & restore https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/cli-backup-sync/SKILL.md
Provider & key management https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/cli-providers/SKILL.md
Cloud agents (omniroute cloud …) https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/cli-backup-sync/SKILL.md
Evals & benchmarking https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/cli-eval/SKILL.md

Errors

  • Connection refused → server not running; run omniroute or omniroute serve
  • 401 Unauthorized →
Häufige Fragen

Was muss vorher installiert sein?

Der Skill sagt, dass du das npm-Paket omniroute installieren und Node.js ab Version 22 nutzen sollst.

Kann er im Hintergrund laufen?

Ja. Der Befehl serve hat eine Option daemon für den Hintergrundmodus.

Kann er das Dashboard für mich öffnen?

Ja. Der Befehl dashboard kann das Dashboard öffnen und hat eine URL-Option und eine Option für die Terminaloberfläche.

Details

Originalbeschreibung des Autors

Start, stop, and restart the OmniRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.

repo: cheaper-inference/OmniRoute

Beliebtheit

GitHub-Sterne
84k
Platz im Ranking
#1413
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills