Skip to main content
ClaudeWave
Skill6.1k repo starsupdated today

cli-routing

The cli-routing skill provides command-line tools for managing routing combinations in OmniRoute, enabling users to create, list, update, and delete routing configurations. It supports testing routing strategies with configurable cost and latency constraints, inspecting performance metrics, and setting up fallback chains through interactive CLI commands.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-routing && cp -r /tmp/cli-routing/skills/cli-routing ~/.claude/skills/cli-routing
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

<!-- 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:**

- `--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

**Example:**

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

### `combo delete <name>`

Delete a routing combo

**Flags:**

- `--yes`

**Example:**

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