riccardovandra

Claude Code Provider Switching Kit — Development skill for Claude Code

Development community

Switch Claude Code between Anthropic, GLM, and OpenRouter (including free models) with one command.

How to install Claude Code Provider Switching Kit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open riccardovandra/claude-code-provider-switching-kit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Provider Switching Kit does

Switch Claude Code between Anthropic, GLM, and OpenRouter (including free models) with one command.

Alternatives in Development

  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • GLM Skills — Official skills for the GLM family of models 269 ★
  • Devteam — Run a team of local coding agents in your terminal 264 ★

README

Claude Code Provider Switching Kit

Switch Claude Code between **Anthropic**, **GLM**, and **OpenRouter** (including free models) with one command.

No code changes. No config juggling. Just `claude-switch glm` and you're running on a different provider.

What's included

profiles/
  anthropic.json     # Default Anthropic API (best quality)
  glm.json           # GLM via z.ai (budget-friendly)
  openrouter.json    # OpenRouter (free models included)
claude-switch.sh     # The switching script

Quick Setup (2 minutes)

1. Create the profiles folder

mkdir -p ~/.claude/profiles

2. Copy everything into place

cp profiles/*.json ~/.claude/profiles/
cp claude-switch.sh ~/.claude/profiles/claude-switch.sh
chmod +x ~/.claude/profiles/claude-switch.sh

3. Add your API keys

Edit each profile file in `~/.claude/profiles/` and replace the placeholder keys:

4. Add the alias

Add this to your `~/.zshrc` (or `~/.bashrc`):

alias claude-switch="~/.claude/profiles/claude-switch.sh"

Then reload:

source ~/.zshrc

5. Switch providers

claude-switch anthropic    # Best quality, full cost
claude-switch glm          # Solid quality, minimal cost
claude-switch openrouter   # Free models, great for learning

Provider Comparison

Provider Cost Quality Extended Thinking Best For
Anthropic ~$200/mo heavy use Best Yes Production work, complex tasks
GLM ~$5-15/mo Good (close to Sonnet) No Daily work, drafting, research
OpenRouter Free tier available Variable No Learning, testing, simple tasks

What stays