Command Palette

Search for a command to run...

Назад к скиллам
скилл № 79888

cli-serve

Start, stop, and restart the AIRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard…

БесплатноБез исполняемых скриптов
jaccenот jaccen★ 37 звёзд на GitHub

Установить cli-serve в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Overview

Start, stop, and restart the AIRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.

Quick install

npm install -g AIRoute   # or: npx AIRoute
AIRoute --version

Subcommands

dashboard

Flags:

  • --url
  • --port <port>
  • --tui

Example:

AIRoute dashboard

restart

Flags:

  • --port <port>

Example:

AIRoute restart

serve

Flags:

  • --port <port>
  • --no-open
  • --daemon
  • --log
  • --no-recovery
  • --max-restarts <n>
  • --tray
  • --no-tray
  • --tls-cert <path>
  • --tls-key <path>

Example:

AIRoute serve

stop

Example:

AIRoute stop

Setup

The AIRoute binary ships with the AIRoute server. It is both the server launcher and a full management CLI with 250+ commands across 39 groups.

Install

npm install -g AIRoute          # npm registry
# or: use the binary bundled with the desktop app

Requires Node.js ≥22.22.2 or ≥24.

Verify:

AIRoute --version   # prints installed version
AIRoute --help      # full command tree

Connection

Every CLI command that talks to the server reads two values:

Source Variable / Flag
Base URL AIRoute_BASE_URL or --base-url
API key AIRoute_API_KEY or --api-key

Default base URL: http://localhost:20128

export AIRoute_BASE_URL="http://localhost:20128"
export AIRoute_API_KEY="sk-..."          # from Dashboard → API Manager

For a remote server:

export AIRoute_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:

AIRoute combo list                      # human-readable table
AIRoute combo list --output json        # JSON array
AIRoute combo list --output jsonl       # one JSON object per line
AIRoute combo list --output csv         # CSV with header row

Quick start: one-shot server + provider setup

# 1. Start server
AIRoute

# 2. (First run) interactive setup wizard
AIRoute setup

# 3. Verify everything is healthy
AIRoute doctor

CLI capability skills

Capability Skill
Server admin + backup https://raw.githubusercontent.com/diegosouzapw/AIRoute/main/skills/AIRoute-cli-admin/SKILL.md
Provider & key management https://raw.githubusercontent.com/diegosouzapw/AIRoute/main/skills/AIRoute-cli-providers/SKILL.md
Cloud agents (Codex / Devin / Jules) https://raw.githubusercontent.com/diegosouzapw/AIRoute/main/skills/AIRoute-cli-cloud/SKILL.md
Evals & benchmarking https://raw.githubusercontent.com/diegosouzapw/AIRoute/main/skills/AIRoute-cli-eval/SKILL.md

Errors

  • Connection refused → server not running; run AIRoute or AIRoute serve
  • 401 Unauthorized → wrong or missing API key
  • command not found: AIRoute → not in PATH; check npm root -g or re-install
  • doctor reports SQLite incompatible → npm rebuild better-sqlite3 in the app directory

Admin lifecycle

Requires the AIRoute CLI. See CLI entry-point skill for install + global flags.

Server lifecycle

AIRoute                              # Start server (default port 20128)
AIRoute serve                        # Explicit alias
AIRoute --port 3000
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл cli-serve?

Start, stop, and restart the AIRoute server from the CLI. Manage daemon mode, port configuration, auto-recovery, system tray integration, and the dashboard open shortcut.

Как установить скилл cli-serve?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cli-serve запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cli-serve с