Mamdouh66

Claude Switch — Development skill for Claude Code

Development community

Fast profile switcher for Claude Code — swap accounts in under a second.

How to install Claude Switch

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

What Claude Switch does

Fast profile switcher for Claude Code — swap accounts in under a second.

Alternatives in Development

  • Bypass 403 — Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF f 4.5k ★
  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★

README

claude-switch

Switching between Claude Code accounts sucks. You have to log out, log back in, wait, do it again when you want to switch back. If you have a work account and a personal account, you know the pain.

This fixes that. One command to switch, instant, done.

$ c status

  Profiles
  ────────────────────────────────────
  ● personal   max   1.7h left
  ○ work       team  7.2h left

$ c work
● Switched to work

Pure bash, zero dependencies, credentials stored securely in macOS Keychain.

Install

Homebrew

brew install Mamdouh66/tap/claude-switch

Then add to your `~/.zshrc`:

source $(brew --prefix)/share/claude-switch.zsh

One-liner

curl -fsSL https://raw.githubusercontent.com/Mamdouh66/claude-switch/main/install.sh | bash

From source

git clone https://github.com/Mamdouh66/claude-switch.git
cd claude-switch
./install.sh

Setup

First install runs a guided setup automatically. You can also run it anytime with `claude-switch setup`.

It asks you to:

  1. Pick a shortcut — c, cc, code, whatever you want
  2. Name your accounts — call them anything, not limited to "work" and "personal"
  3. Add as many accounts as you need

Or do it manually:

# You're logged into your first account
claude-switch save work

# Log into the other one
claude auth logout && claude auth login
claude-switch save personal

Usage

c work              # switch to work + launch claude
c personal          # switch to personal + launch claude
c status            # show all profiles and token health
c refresh           # refresh active profile's token
c                   # launch claude with current profile
c -p "hello"        # any flags pass through to claude

The shortcut name is configurable:

claude-switch alias cc    # now it's `cc work`, `cc status`, etc.

All commands also work directly:

claude-switch          # switch to a profile
claude-switch s