Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)84 mil · #1413

cli-serve

O que ela faz

Esta skill mostra como rodar o servidor do OmniRoute pela linha de comando. É para administradores que querem iniciar, parar ou reiniciar o servidor e definir suas opções básicas.

Quando usar

  • ✓Quando um usuário quer iniciar ou parar o servidor do OmniRoute.
  • ✓Quando um usuário quer que o servidor rode em segundo plano ou se recupere automaticamente se parar.
  • ✓Quando um usuário quer abrir o painel do OmniRoute pelo terminal.

Link da skill

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-serve/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Inicie meu servidor do OmniRoute em segundo plano na porta 8080 e abra o painel.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill lista os comandos serve, stop, restart e dashboard. O comando serve recebe opções de porta, modo em segundo plano, registro de logs, recuperação automática, modo sem interface e ícone na bandeja do sistema.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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 →
Perguntas frequentes

O que preciso instalar antes?

A skill diz para instalar o pacote npm omniroute e usar o Node.js versão 22 ou mais recente.

Ele pode rodar em segundo plano?

Sim. O comando serve tem uma opção daemon para o modo em segundo plano.

Ele pode abrir o painel para mim?

Sim. O comando dashboard pode abrir o painel, e tem uma opção de URL e uma opção de interface de terminal.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
84 mil
Posição no ranking
#1413
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas