n-getty

Backend Switchboard — AI skill for Claude Code

AI community

Switch Claude Code between your Anthropic subscription, Argo, MAG and ALCF models with /model.

How to install Backend Switchboard

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

What Backend Switchboard does

Switch Claude Code between your Anthropic subscription, Argo, MAG and ALCF models with /model.

Alternatives in AI

  • Claude Code Switch — One-command model switcher for Claude Code (Only for Anthropic API) 655 ★
  • Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★
  • Amux — Bidirectional LLM API adapter with IR pattern 117 ★

README

backend-switchboard

One local endpoint that lets Claude Code switch between several model backends with `/model`, in a single session:

/model value Goes to
claude-sonnet-5-5 (no tag) Anthropic, using your own Claude Code login. Requests are forwarded untouched.
claude-sonnet-5-5@argo Argo through a running argo-shim
claude-opus-5-5@google@mag A LiteLLM-style gateway with Bearer auth (AMSC "MAG"); the tag @mag is stripped and @google is MAG's own suffix
beam@alcf, muse@alcf ALCF inference endpoints, which serve the Anthropic Messages API natively
google-claude-opus-5@asksage AskSage models, translated in-process to AskSage's /query API
claude-opus-5-5@copilot, gpt-6.1-sol@copilot GitHub Copilot, using your gh login: Claude models natively, GPT/Grok models translated to /responses

Claude Code only accepts one `ANTHROPIC_BASE_URL` per session, so the switch has to happen behind that URL. backend-switchboard is that URL. It reads the model name, picks a backend, swaps in that backend's credentials, and streams the response back. Standard library only, Python 3.8+. No other services to run.

Not affiliated with Anthropic. The Anthropic route forwards your Claude Code login (OAuth or API key) unchanged and never reads, stores or logs it. Check your plan's terms before sending subscription traffic through a local proxy.

Claude Code --> 127.0.0.1:8790 (backend-switchboard) --+--> api.anthropic.com        (no tag)
   /model name[@tag]                                   +--> argo-shim                (@argo)
                                                       +--> MAG                      (@mag)
                                                       +--> ALCF Minerva             (@alcf)
                                                       +--> AskSage                  (@asksage)
                                                       +--> G