Home / Skills / cheaper-inference/OmniRoute

cli-routing

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

skillLicense: MIT Source: cheaper-inference/OmniRoute

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit cheaper-inference/OmniRoute/skills/cli-routing .claude/skills/cli-routing

Or install it for every project:

npx degit cheaper-inference/OmniRoute/skills/cli-routing ~/.claude/skills/cli-routing

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

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

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

## Overview

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

## Quick install

```bash
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:**

```bash
omniroute suggest
```

### `combo combo`

**Example:**

```bash
omniroute combo combo
```

### `combo list`

List configured routing combos

**Flags:**

- `--json`

**Example:**

```bash
omniroute combo list
```

### `combo switch <name>`

Activate a routing combo

**Example:**

```bash
omniroute combo switch <name>
```

### `combo create <name>`

Create a new routing combo

**Flags:**

- `--models <spec>`
- `--model <spec>`

**Example:**

```bash
omniroute combo create <name>
```

### `combo delete <name>`

Delete a routing combo

**Flags:**

- `--yes`

**Example:**

```bash
omniroute combo delete <name>
```