hook-runtime-fallback

Community

Auto-retry with runtime fallbacks on errors

Authorxuezhaojun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detects runtime errors (HTTP 429 rate limits, overload, timeout, capacity errors) and automatically retries with fallback models from a priority list. Unlike model-fallback which handles model unavailability at session start, this reacts to errors in real-time during a session.

Core Features & Use Cases

  • Auto-selects and rotates through a prioritized fallback model list when runtime errors occur.
  • Works across multi-provider setups to improve reliability during long sessions.
  • Use case: keep a conversation going by switching to available fallback providers when primary becomes temporarily unavailable.

Quick Start

Configure the runtime-fallback hook with a prioritized fallback list and cooldown to enable automatic runtime error handling.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hook-runtime-fallback
Download link: https://github.com/xuezhaojun/oh-your-opencode/archive/main.zip#hook-runtime-fallback

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.