Skip to content
Back to skills

Openclaw Model Failover

ASecurity

OpenClaw plugin: auto-detect rate limits/quota/auth failures and switch sessions to fallback LLMs. Prevents 'API rate limit reached' loops by patching pinned session models.

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-model-failover --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Model Failover?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Model Failover
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-model-failover/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-model-failover)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-model-failover
slug: openclaw-model-failover
description: "OpenClaw plugin: auto-detect rate limits/quota/auth failures and switch sessions to fallback LLMs. Prevents 'API rate limit reached' loops by patching pinned session models."
---

# openclaw-model-failover (OpenClaw Plugin)

This is an **OpenClaw Gateway plugin**, not an agent skill.

It mitigates outages by automatically switching the model used for a conversation when it detects:
- Rate limits / quota exhaustion (HTTP 429, RESOURCE_EXHAUSTED)
- Auth/scope failures (e.g. OpenAI: missing `api.responses.write`)

## Install

### Option A: ClawHub

```bash
clawhub install openclaw-model-failover
```

### Option B: From repo (dev)

```bash
openclaw plugins install -l ~/.openclaw/workspace/openclaw-model-failover
openclaw gateway restart
```

## Configure

Set model fallback order (example):

- Anthropic -> OpenAI -> Google

See README for the full config block.

Files in this skill

  • README.md6.4 KB
  • SKILL.md984 B
  • _mf_check.ts352 B
  • index.test.ts47.6 KB
  • index.ts24.4 KB
  • metrics.test.ts40.7 KB
  • metrics.ts22.6 KB
  • openclaw.plugin.json4 KB
  • package-lock.json48.6 KB
  • package.json393 B
  • src/templates/github-issue-helper.ts1.3 KB
  • status.test.ts11.6 KB
  • status.ts7.5 KB
  • tsconfig.json402 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…