cheaper-inference/omniroute

cli-resilience

Inspect and manage circuit-breaker states, connection cooldowns, quota limits, and backoff levels from the CLI.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/cheaper-inference/omniroute --skill cli-resilience

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

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

Overview

Inspect and manage circuit-breaker states, connection cooldowns, quota limits, and backoff levels from the CLI. Reset stuck providers and configure resilience thresholds.

Quick install

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

Subcommands

quota

Flags:

  • --provider <id>
  • --json

Example:

bash
omniroute quota

quota status

Show truthful OmniRoute gateway, quota, pool, and circuit state

Example:

bash
omniroute quota status

quota preview

Preview allocation enforcement without an upstream request

Flags:

  • --api-key-id <id>
  • --pool-id <id>
  • --tokens <n>

Example:

bash
omniroute quota preview

quota ensure <json>

Idempotently create or update a quota pool from a JSON object

Example:

bash
omniroute quota ensure <json>

resilience

Example:

bash
omniroute resilience

resilience status

Flags:

  • --provider <p>

Example:

bash
omniroute resilience status

resilience breakers

Flags:

  • --provider <p>

Example:

bash
omniroute resilience breakers

resilience cooldowns

Flags:

  • --provider <p>
  • --connection-id <id>

Example:

bash
omniroute resilience cooldowns

resilience lockouts

Flags:

  • --provider <p>
  • --model <m>

Example:

bash
omniroute resilience lockouts

resilience reset

Flags:

  • --provider <p>
  • --connection-id <id>
  • --model <m>
  • --all-cooldowns
  • --yes

Example:

bash
omniroute resilience reset

resilience profile

Example:

bash
omniroute resilience profile

resilience show

Example:

bash
omniroute resilience show

resilience set <name>

Example:

bash
omniroute resilience set <name>

resilience config

Example:

bash
omniroute resilience config

resilience show

Example:

bash
omniroute resilience show

resilience set

Flags:

  • --threshold <n>
  • --reset-timeout <ms>
  • --base-cooldown <ms>

Example:

bash
omniroute resilience set

Related by task

from this repository

More skills

All skills