Model Fallback Retry is an automatic API failure-recovery and queue-management utility designed for Openclaw Skills to guarantee zero message loss.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install model-fallback-retry
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install model-fallback-retry using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Model Fallback Retry plugin is a robust error recovery layer designed for AI agents built using Openclaw Skills. When downstream LLM APIs experience rate limiting (HTTP 429), quota exhaustion (HTTP 402), or server overloads (HTTP 503), this skill prevents agent lockups and missing responses by intercepting the failure.
By introducing a three-tier error detection pipeline (structured errors, HTTP status codes, and regex pattern matching), failed messages are systematically cached inside a persistent queue. A cron job then schedules dynamic retries with exponential backoff, ensuring your automated workflows recover gracefully without manual intervention.
index.mjs) evaluates the issue against three criteria (structured error categories, HTTP status codes, and text-based regex patterns).retry_queue.json in a pending state, containing the original session context, prompt, and error details.retry_queue.json that have completed their wait interval.pending to completed upon success.Follow these steps to deploy and activate the skill in your ecosystem of Openclaw Skills:
# 1. Install the skill to the local directory
cp -r model-fallback-retry ~/.openclaw/skills/
# 2. Restart the gateway to load the plugin
openclaw gateway restart
# 3. Add the cron job to execute the retry checks periodically
openclaw cron add --name "model-fallback-retry-check" --every 30m --agent xiaoxiao --to YOUR_FEISHU_OR_WECHAT_ID
# 4. Verify that the cron task is configured successfully
openclaw cron list
Make sure to configure your ~/.openclaw/skills/model-fallback-retry/config.json file. Update the cron.agent and cron.notify_to values to match your execution agent and notification receiver ID.
The skill maintains state via retry_queue.json containing three primary datasets: pending, completed, and cleared.
retry_queue.json| Field | Type | Description |
|---|---|---|
id |
String (UUID) | Unique identifier for the retry item |
sessionKey |
String | Target agent and channel session identifier |
originalMessage |
String | The raw prompt sent by the user |
errorOutput |
String | The raw error message returned by the LLM provider |
errorType |
String | Intercept classification (e.g., quota_error) |
sent_at |
String | Timestamp when the error was captured |
retry_count |
Integer | Counter tracking the number of execution attempts |
next_retry_at |
String | Target time for the next scheduled retry run |
max_retry_count |
Integer | Maximum retry boundary (default: 5) |
initial_wait_minutes |
Integer | Initial backoff time in minutes (default: 30) |
#队列状态 (status check), #清空 (clear all), and #清空 [ID] (clear specific queue message).Loading
An advanced paradigm-shifting skill designed to analyze the underlying structures of existing concepts and seamlessly migrate those abstract patterns into entirely new solutions.

An advanced possibility space navigator that deconstructs concepts into core dimensions, forces connections between unrelated domains, and generates highly innovative, counter-intuitive solutions.

An intelligent skill designed to scan repository workspaces and generate standardized AGENTS.md context files to instantly onboard AI coding agents.

A specialized AI-assisted workflow skill to help frontend developers and product teams quickly diagnose and fix mobile responsiveness, navigation layout, and cross-device UI issues.

An AI-powered professional culinary knowledge base covering China's eight major cuisines, complete with precise recipes, step-by-step techniques, and seasoning guides.

An AI-powered local web scraper and summarizer that extracts clean page content and generates structured summaries using Ollama and curl.








































