Back to directory
Docs & WritingPrateekDahiya/openCodeAutoModelSwtcher
auto-model-switcher
Automatic model failover for OpenCode. A local OpenAI-compatible proxy that routes to the best available model and fails over across providers on rate limits, quota exhaustion, 5xx, timeouts and context-length errors.
Suggested install command
npx skills add PrateekDahiya/openCodeAutoModelSwtcher/auto-model-switcherAlways inspect the linked repository and skill instructions before running commands. Skills are instructions; permissions and execution still matter.
Compatibility
Agent support matrix
3 supported
| Agent | Status |
|---|---|
| Claude Code | Supported |
| OpenCode | Supported |
| Cursor | Not listed |
| MCP | Not listed |
| GitHub Copilot | Not listed |
| Windsurf |