9qe

Overrail — AI skill for Claude Code

AI community

Local LLM gateway that stitches severed SSE streams mid-generation, tool calls included.

How to install Overrail

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 9qe/overrail and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Overrail does

Local LLM gateway that stitches severed SSE streams mid-generation, tool calls included. Zero deps, keys stay local. Plus one-command provider switching for agent CLIs.

Alternatives in AI

  • Slotstream — Run a 105 GB AI model on a Mac that can't hold it 396 ★
  • Avoid AI Design — Audits AI-generated frontend and rewrites it so it stops looking AI-made: purple-gradient slop and the "tastef 165 ★
  • Amux — Bidirectional LLM API adapter with IR pattern 117 ★

README

overrail

**Your AI tool dies when the provider fails. overrail keeps it alive — even mid-answer.**

overrail banner

Free and open source (MIT). Runs entirely on your computer. v0.3.0.

What it does, in plain English

  1. You use an AI coding tool (like Claude Code) with one AI provider (like DeepSeek).
  2. Sometimes that provider rate-limits you, or its connection just drops. Your tool freezes or errors out — often halfway through an answer you already paid for.
  3. overrail sits in between. When the provider fails, it quietly switches to a backup. If the answer was half-finished, the backup picks up exactly where it stopped. You see one uninterrupted answer.

Your API keys stay on your computer. Requests go straight from you to the provider — nowhere else.

Try it in 1 minute (no account, no API key)

terminal recording: provider dies mid-sentence, backup finishes it

You need [Node.js](https://nodejs.org) installed. Open PowerShell (Windows) or Terminal (Mac/Linux) and paste these three lines:

git clone https://github.com/9qe/overrail.git
cd overrail
node examples/chaos-demo.js

What you'll see: the first provider "dies" after three words, a backup finishes the sentence, and your side never shows an error:

client <- "The"
client <- " quick"
client <- " brown"        <- first provider dies here
client <- " fox"          <- backup provider takes over, same answer
client <- " jumps"
client <- " over the lazy dog."
client <- [DONE]

That's the whole idea. Everything below is about using it with real providers.

Use it with your own AI provider

Three steps. DeepSeek is the example here; Kimi, OpenRouter, and Ollama work the same way.

**Step 1 — get an API key.** Sign up at https://platform.deepseek.com and create a key. An API key is just a password that lets apps use your account.

**Step