cli-serve
What it does
This skill shows how to run the OmniRoute server from the command line. It is for administrators who want to start, stop or restart the server and set its basic options.
When to use it
- ✓When a user wants to start or stop the OmniRoute server.
- ✓When a user wants the server to run in the background or recover automatically if it stops.
- ✓When a user wants to open the OmniRoute dashboard from the terminal.
Skill link
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Start my OmniRoute server in the background on port 8080 and open the dashboard.”
5 new skills a week. 1 minute to read.
How it works
The skill lists serve, stop, restart and dashboard commands. The serve command takes options for the port, background mode, logging, auto-recovery, headless mode and a tray icon.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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; runomnirouteoromniroute serve401 Unauthorized→
FAQ
What do I need installed first?
The skill says to install the omniroute npm package and use Node.js version 22 or newer.
Can it run in the background?
Yes. The serve command has a daemon option for background mode.
Can it open the dashboard for me?
Yes. The dashboard command can open the dashboard, and it has a URL option and a terminal interface option.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 84k
- Ranking position
- #1413
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
cli-a2a
84kRuns the OmniRoute command line for agent-to-agent tasks, letting you send work, check task history and test skills.
cli-backup-sync
84kRuns OmniRoute data backups from the command line, including snapshots, cloud sync, schedules and restores from archives.
cli-batches
84kSubmits batch AI jobs from the command line, tracks their progress and saves results or errors, including for CI pipelines.
cli-chat
84kSends chat requests to AI models from the command line, with streaming replies, system prompts and an interactive session.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.