mcpField
C
cli-routing

cli-routing

github.com/cheaper-inferenceCloud & DevOps82.3k1.1k installsUpdated today
Repository

About cli-routing

cli-routing is an OmniRoute CLI skill for creating and managing routing combos. It also helps users compare routing options, inspect combo metrics, and configure fallback chains interactively.

Key features

  1. 01Suggest routing combos
  2. 02List, create, switch, and delete combos
  3. 03Test routing strategies
  4. 04Inspect combo metrics
  5. 05Configure fallback chains

Use cases

  1. 01Choose a combo for a task
  2. 02Switch the active routing combo
  3. 03Create or remove a routing combo
  4. 04Review routing metrics

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/cheaper-inference/omniroute --skill cli-routing

After installing, type/cli-routingin Claude Code to confirm it loaded.

Details

From the project README

Overview

Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.

Quick install

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

Subcommands

suggest

Flags:

  • --task <description>
  • --max-cost <usd>
  • --max-latency-ms <ms>
  • --weights <json>
  • --top <n>
  • --explain
  • --switch

Example:

omniroute suggest
combo combo

Example:

omniroute combo combo
combo list

List configured routing combos

Flags:

  • --json

Example:

omniroute combo list
combo switch <name>

Activate a routing combo

Example:

omniroute combo switch <name>
combo create <name>

Create a new routing combo

Flags:

  • --models <spec>
  • --model <spec>

Example:

omniroute combo create <name>
combo delete <name>

Delete a routing combo

Flags:

  • --yes

Example:

omniroute combo delete <name>

Comments

Markdown supported