Claude Failover — AI skill for Claude Code
Backup brain for Claude Code.
How to install Claude Failover
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nicedreamzapp/claude-failover and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Failover does
Backup brain for Claude Code. When your Claude Max plan hits its limit or Claude is down, flip one command and your claude -p agents keep running on a local mlx-lm model. Default Claude. Local only when needed.
Alternatives in AI
- UI UX Pro Max Skill — An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms 45.8k ★
- Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
- Vllm Mlx — High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon 1.5k ★
README
claude-failover
**A backup brain for Claude Code. When your Claude Max plan hits its limit, your tokens are exhausted, or Claude is down — flip one command and your `claude -p` agents keep running on a local LLM. Default to Claude. Local only when you need it.**
Built for people who **like** Claude and want to keep using it as primary, but don't want a usage cap or an Anthropic outage to halt every script that depends on `claude -p`.
This is **NOT** "ditch Claude and run everything local." For that, see [claude-code-local](https://github.com/nicedreamzapp/claude-code-local) — that project replaces Claude entirely with a local model. This project is the opposite angle: **Claude stays primary**, local is just there for the day you need it.
When you'd want this
- You're on Claude Max ($100/mo SDK credit, or any tier with a usage cap) and you sometimes hit it mid-month
- You run headless
claude -pscripts (cron jobs, agents, watchers, custom tooling) and don't want them to die during an Anthropic outage - You want to run lower-stakes work locally to preserve your Claude budget for the work that actually needs Claude's quality
- You have an Apple Silicon Mac with enough RAM to run an MLX model (8 GB minimum for a 7B-class model, 32+ GB for 30B class)
How it works
┌─────────────────────┐
│ Your script │
│ subprocess.run([ │ reads ~/.local/state/llm-backend
│ "agent-llm", │ ─────────────────────────────────────────┐
│ "-p", prompt │ │
│ ]) │ │
└─────────────────────┘ │
▼
┌─────────────────────────────────────┐
│ flag = "claude" → exec real `claude -p`│
│ flag = "local" → POST to loca
Related Skills
Capo
Run one AI agent team across Claude Code and Codex. When one platform hits its usage limit, the whole team che
Sous
Run Claude Code's subagents on a local LLM (MLX, Qwen) on Apple silicon and stretch your Pro/Max usage limits:
Model Relay
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window wit
Claude Glm 2tier
Two-tier Claude Code: Opus (Max) plans+reviews, GLM-5.2 (Z.ai flat-fee) codes — keep working past the weekly c
Agent SSD Guard
Keep AI coding agent CLIs from grinding down your SSD — relocate regenerable write targets to a RAM disk
Pollymetric
Your Mac's health at a glance, in the menu bar. See what's slowing it down by name, catch problems that keep c
Related Agents
Bonsai
Runs a task on the local Bonsai 2 27B model (PrismML ternary 27B, MLX, on this Mac) and returns its answer. Us
Transit Reachability
Public-transport specialist that determines which Italian destinations are reachable by train or bus from Sant
Model Fable 5 1 Max
General-purpose agent pinned to Claude Fable 5.1 (claude-fable-5-1) at max effort. Use when a task must run on