cli-a2a
Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0…
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.
Claude Code
$ npx -y skills add cheaper-inference/omniroute --skill cli-serve --agent claude-code
Codex
$ npx skills add cheaper-inference/omniroute --skill cli-serve -a codex -y
Cursor
$ npx skills add cheaper-inference/omniroute --skill cli-serve -a cursor -y
Gemini CLI
$ npx skills add cheaper-inference/omniroute --skill cli-serve -a gemini-cli -y
GitHub Copilot
$ npx skills add cheaper-inference/omniroute --skill cli-serve -a github-copilot -y
OpenCode
$ npx skills add cheaper-inference/omniroute --skill cli-serve -a opencode -y
Windsurf
$ npx skills add cheaper-inference/omniroute --skill cli-serve -a windsurf -y
name: cli-serve description: 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.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->
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.
npm install -g omniroute # or: npx omniroute omniroute --version
**Flags:**
**Example:**
omniroute dashboard
**Flags:**
**Example:**
omniroute restart
**Flags:**
**Example:**
omniroute serve
**Flags:**
**Example:**
omniroute stop
<!-- skill:custom-start --> <!-- Aggregated from: omniroute-cli (setup + index), omniroute-cli-admin (lifecycle/setup/backup/tunnel) -->
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.
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
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"
| 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 |
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
# 1. Start server omniroute # 2. (First run) interactive setup wizard omniroute setup # 3. Verify everything is healthy omniroute doctor
| 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 |
Requires the `omniroute` CLI. See the install and global-flags sections above.
omniroute # Start server (default port 20128) omniroute serve # Explicit alias omniroute --port 3000 # Override port omniroute --no-open # Don't auto-open browser omniroute --mcp # Start as MCP server (stdio transport) omniroute stop # Stop the running server omniroute restart # Restart the server omniroute dashboard # Open dashboard in browser omniroute open # Alias for dashboard omniroute status # Runtime status (uptime, requests, providers)
omniroute setup # Step-by-step interactive setup
omniroute setup --non-interactive \ --password 'admin-password' \ --add-provider \ --provider ope
Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0…
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules,…
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and…
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers,…
Configure and test prompt compression from the CLI. Manage RTK filters, Caveman rules, stacked compression modes, and preview…
Manage context engineering configurations, RTK filter sets, and conversation sessions from the CLI. Apply context-relay settings…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.