mcpField
C
cli-resilience

cli-resilience

github.com/diegosouzapwCloud & DevOps82.6k903 installsUpdated today
Repository

About cli-resilience

cli-resilience is an OmniRoute CLI skill for inspecting and managing quota and resilience state. It covers circuit breakers, cooldowns, lockouts, and threshold configuration, including reset operations.

Key features

  1. 01Inspect quota and gateway status
  2. 02View breaker, cooldown, and lockout states
  3. 03Reset provider resilience states
  4. 04Configure resilience thresholds
  5. 05Preview quota allocation

Use cases

  1. 01Diagnose a provider circuit breaker
  2. 02Clear a stuck cooldown or lockout
  3. 03Review quota enforcement before a request
  4. 04Adjust resilience thresholds

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/diegosouzapw/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