cli-serve
できること
このスキルは、コマンドラインからOmniRouteのサーバーを動かす方法を示します。サーバーを起動、停止、再起動し、基本的な設定をしたい管理者のためのものです。
使う場面
- ✓OmniRouteのサーバーを起動または停止したいとき。
- ✓サーバーをバックグラウンドで動かしたい、または停止したときに自動で復旧させたいとき。
- ✓ターミナルからOmniRouteのダッシュボードを開きたいとき。
スキルのリンク
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“OmniRouteのサーバーをポート8080でバックグラウンドで起動して、ダッシュボードを開いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、serve、stop、restart、dashboardのコマンドを一覧にします。serveコマンドには、ポート、バックグラウンド実行、ログ、自動復旧、ヘッドレスモード、トレイアイコンのオプションがあります。
技術的な内容(元の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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
cli-a2a
84kエージェント間の作業のためにOmniRouteのコマンドラインを使い、作業を送ったり、タスクの履歴を確認したり、スキルを試したりします。
cli-backup-sync
84kコマンドラインからOmniRouteのデータをバックアップします。スナップショット、クラウド同期、スケジュール、アーカイブからの復元に対応します。
cli-batches
84kコマンドラインからAIのバッチジョブを投入し、進捗を追跡して、結果やエラーを保存します。CIパイプラインでも使えます。
cli-chat
84kコマンドラインからAIモデルにチャットのリクエストを送ります。ストリーミングの返答、システムプロンプト、対話セッションに対応します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。