Model Failover Guard
Scanned 9/5/2026
Install to Claude Code
npx -y skills add dvcrn/openclaw-skills-marketplace --skill model-failover-guard-root --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Model Failover Guard Root?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-model-failover-guard-root)More formats (shields.io, HTML) on the badges page.
---
name: model-failover-guard
description: "Model Failover Guard"
---
> Generated note: shared plugin assets for this package live at the plugin root. Common local references were rewritten when they appeared in backticks or markdown links.
# 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
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!