본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)84k · #1413

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 OmniRoute 서버를 8080 포트에서 백그라운드로 시작하고 대시보드를 열어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 serve, stop, restart, dashboard 명령을 나열합니다. serve 명령은 포트, 백그라운드 모드, 로그, 자동 복구, 헤드리스 모드, 트레이 아이콘 옵션을 받습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

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; run omniroute or omniroute serve
  • 401 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.

repo: cheaper-inference/OmniRoute

인기도

GitHub 스타
84k
순위
#1413
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬