# Circuit Breaker Management

Inspects and resets circuit breakers, cooldowns and quota limits for stuck providers.

- Repository: https://github.com/cheaper-inference/OmniRoute (83611 stars)
- Category: DevOps
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add cheaper-inference/OmniRoute --skill cli-resilience -g -a claude-code -y`
Codex: `npx skills add cheaper-inference/OmniRoute --skill cli-resilience -g -a codex -y`
Cursor: `npx skills add cheaper-inference/OmniRoute --skill cli-resilience -g -a cursor -y`
Gemini CLI: `npx skills add cheaper-inference/OmniRoute --skill cli-resilience -g -a gemini-cli -y`

## Description

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

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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

The rest: https://github.com/cheaper-inference/OmniRoute/blob/HEAD/skills/cli-resilience/SKILL.md
