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

cli-resilience

The cli-resilience skill provides command-line tools for monitoring and managing fault tolerance mechanisms in OmniRoute, including circuit-breaker states, connection cooldowns, rate-limit quotas, and backoff configurations. Use it to inspect provider health status, reset stuck connections, and adjust resilience thresholds when providers experience failures or quota exhaustion.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/diegosouzapw/OmniRoute /tmp/cli-resilience && cp -r /tmp/cli-resilience/skills/cli-resilience ~/.claude/skills/cli-resilience
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

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

### `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:**

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

**Example:**

```bash
omniroute resilience set
```

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