Skip to content
Back to skills

Model Failover Guard

ASecurity

Automatic model failover + failback guard for OpenClaw.

  • 21 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
developmentpythonbash

Security analysis

A100/100

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

Scanned September 7, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Model Failover Guard?

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

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

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 Guard
description: Automatic model failover + failback guard for OpenClaw.
---

# OpenClaw Model Failover Guard

Automatic model failover + failback guard for OpenClaw.

## Description

When your primary model becomes unstable, this guard can switch to an available fallback model automatically, then switch back to the primary after stability is restored.

## Features

- Monitor model health on an interval
- If primary fails N times consecutively → failover
- Fallback is selected from **all configured models**
- Supports preferred fallback provider
- After fallback is stable for N checks → try failback
- If failback test fails → revert to fallback immediately

## Install

```bash
npx skills add BovmantH/openclaw-model-failover-guard --skill model-failover-guard
```

## Usage

```bash
# Run once
python3 skills/model-failover-guard/scripts/failover.py once

# Run as daemon
python3 skills/model-failover-guard/scripts/failover.py loop
```

## Configuration

Copy `skills/model-failover-guard/config.example.json` to `config.json` and adjust settings.

| Key | Description |
|-----|-------------|
| `primaryModel` | Primary model to monitor |
| `failThreshold` | Consecutive failures before failover |
| `recoverThreshold` | Stable checks before failback |
| `checkIntervalSec` | Health check interval (seconds) |

## Author

- Owner: BovmantH
- Version: 1.0.0

## License

MIT

Files in this skill

  • README.md6.3 KB
  • SKILL.md1.4 KB
  • skills/model-failover-guard/SKILL.md1.8 KB
  • skills/model-failover-guard/config.example.json333 B
  • skills/model-failover-guard/scripts/failover.py9.1 KB

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.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.