cli-serve
यह क्या करती है
यह स्किल दिखाती है कि कमांड लाइन से OmniRoute सर्वर कैसे चलाएँ। यह एडमिनिस्ट्रेटरों के लिए है जो सर्वर को शुरू, बंद या रीस्टार्ट करना चाहते हैं और उसके बुनियादी विकल्प सेट करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब कोई उपयोगकर्ता OmniRoute सर्वर शुरू या बंद करना चाहे।
- ✓जब कोई उपयोगकर्ता चाहे कि सर्वर बैकग्राउंड में चले या बंद होने पर अपने-आप वापस आ जाए।
- ✓जब कोई उपयोगकर्ता टर्मिनल से OmniRoute डैशबोर्ड खोलना चाहे।
Skill का लिंक
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा OmniRoute सर्वर पोर्ट 8080 पर बैकग्राउंड में शुरू कीजिए और डैशबोर्ड खोलिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल serve, stop, restart और dashboard कमांड बताती है। serve कमांड में पोर्ट, बैकग्राउंड मोड, लॉगिंग, ऑटो-रिकवरी, headless मोड और tray आइकन के विकल्प हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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→
अक्सर पूछे जाने वाले सवाल
पहले क्या इंस्टॉल होना चाहिए?
स्किल कहती है कि omniroute npm पैकेज इंस्टॉल करें और Node.js वर्ज़न 22 या उससे नया इस्तेमाल करें।
क्या यह बैकग्राउंड में चल सकता है?
हाँ। serve कमांड में बैकग्राउंड मोड के लिए daemon विकल्प है।
क्या यह मेरे लिए डैशबोर्ड खोल सकता है?
हाँ। dashboard कमांड डैशबोर्ड खोल सकता है, और उसमें URL विकल्प और टर्मिनल इंटरफ़ेस विकल्प भी है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 84k
- रैंकिंग में स्थान
- #1413
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
cli-a2a
84kOmniRoute कमांड लाइन से एजेंट-से-एजेंट काम चलाती है, जिससे आप काम भेज सकते हैं, टास्क का इतिहास देख सकते हैं और स्किल टेस्ट कर सकते हैं।
cli-backup-sync
84kकमांड लाइन से OmniRoute डेटा का बैकअप लेती है, जिसमें स्नैपशॉट, क्लाउड सिंक, शेड्यूल और आर्काइव से रीस्टोर शामिल हैं।
cli-batches
84kकमांड लाइन से AI बैच जॉब भेजती है, उनकी प्रगति देखती है और नतीजे या त्रुटियाँ फ़ाइल में सेव करती है, CI पाइपलाइन के लिए भी।
cli-chat
84kकमांड लाइन से AI मॉडल को चैट अनुरोध भेजती है, जिसमें स्ट्रीमिंग जवाब, सिस्टम प्रॉम्प्ट और इंटरैक्टिव सेशन शामिल हैं।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।