mcpField
C
cli-resilience

cli-resilience

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

About cli-resilience

cli-resilience is an OmniRoute command-line skill for inspecting and managing quota and resilience state. It helps operators review provider breakers and cooldowns, reset stuck connections, and adjust resilience thresholds.

Key features

  1. 01Inspect quota, pool, and circuit state
  2. 02Preview quota allocation
  3. 03View breakers, cooldowns, and lockouts
  4. 04Reset cooldowns by provider or model
  5. 05Configure resilience thresholds

Use cases

  1. 01Check quota before allocating requests
  2. 02Investigate a provider circuit breaker
  3. 03Clear a stuck connection cooldown
  4. 04Adjust backoff and reset settings

Install

Copy the command and run it in a terminal.

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

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

Details

From the project README

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

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

Subcommands

quota

Flags:

  • --provider <id>
  • --json

Example:

omniroute quota
quota status

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

Example:

omniroute quota status
quota preview

Preview allocation enforcement without an upstream request

Flags:

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

Example:

omniroute quota preview
quota ensure <json>

Idempotently create or update a quota pool from a JSON object

Example:

omniroute quota ensure <json>
resilience

Example:

omniroute resilience
resilience status

Flags:

  • --provider <p>

Example:

omniroute resilience status
resilience breakers

Flags:

  • --provider <p>

Example:

omniroute resilience breakers
resilience cooldowns

Flags:

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

Example:

omniroute resilience cooldowns
resilience lockouts

Flags:

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

Example:

omniroute resilience lockouts
resilience reset

Flags:

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

Example:

omniroute resilience reset
resilience profile

Example:

omniroute resilience profile
resilience show

Example:

omniroute resilience show
resilience set <name>

Example:

omniroute resilience set <name>
resilience config

Example:

omniroute resilience config
resilience show

Example:

omniroute resilience show
resilience set

Flags:

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

Example:

omniroute resilience set

Comments

Markdown supported