cheaper-inference/omniroute/cli-serve
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install cheaper-inference/omniroute/cli-serveSKILL.md
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
Subcommands
dashboard
Flags:
--url--port <port>--tui
Example:
restart
Flags:
--port <port>
Example:
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:
stop
Flags:
--port <port>
Example:
<!-- 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
Requires Node.js ≥22.22.2 or ≥24.
Verify:
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
For a remote server:
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:
Quick start: one-shot server + provider setup
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→ wrong or missing API keycommand not found: omniroute→ not in PATH; checknpm root -gor re-installdoctorreports SQLite incompatible →npm rebuild better-sqlite3in the app directory
Admin lifecycle
Requires the omniroute CLI. See the install and global-flags sections above.
Server lifecycle
Setup & provisioning
Interactive wizard
Non-interactive (CI / Docker)
Environment variables for non-interactive setup:
| Variable | Purpose | |
|---|---|---|
OMNIROUTE_SETUP_PASSWORD | Admin password (≥8 chars) | |
OMNIROUTE_PROVIDER | Provider id (e.g. openai, anthropic) | |
OMNIROUTE_PROVIDER_NAME | Display name for the connection | |
OMNIROUTE_PROVIDER_BASE_URL | Optional OpenAI-compatible base URL override | |
OMNIROUTE_API_KEY | Provider API key | |
OMNIROUTE_DEFAULT_MODEL | Optional default model | |
DATA_DIR | Override OmniRoute data directory |
Diagnostics
Checks performed: Config, Database, Storage/encryption, Port, Node runtime, Native binary (better-sqlite3), Memory, Server liveness.
Exit code is non-zero if any check fails — useful in CI:
Backup & restore
Autostart (system tray / startup)
On Linux: creates a systemd user service (~/.config/systemd/user/omniroute.service) and enables linger so the service can start after reboot without a graphical login; on desktop sessions it also adds an XDG autostart entry with --tray. On macOS: LaunchAgent plist. On Windows: registry startup entry.
Tunnels (public URL)
Expose a local OmniRoute instance via a secure tunnel:
The tunnel URL is printed and can be used as OMNIROUTE_BASE_URL from remote machines.
Config & environment
Recovery
Use reset-encrypted-columns --force only if STORAGE_ENCRYPTION_KEY was lost and you need to re-enter all provider API keys.
Logs
Update
Errors
doctorshowsSTORAGE_ENCRYPTION_KEY missing→ set the key in.envor runreset-encrypted-columns --forceto wipe and re-enter credentialsdoctorreports native binary fail →npm rebuild better-sqlite3in the OmniRoute app directorytunnel create cloudflarehangs → ensurecloudflaredis installed:brew install cloudflare/cloudflare/cloudflared
<!-- skill:custom-end -->
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cli-serve/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cheaper-inference/omniroute/cli-serve)